ccxt 4.4.72__py2.py3-none-any.whl → 4.4.74__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. ccxt/__init__.py +1 -7
  2. ccxt/abstract/bitmart.py +2 -0
  3. ccxt/ace.py +39 -1
  4. ccxt/alpaca.py +49 -0
  5. ccxt/ascendex.py +7 -1
  6. ccxt/async_support/__init__.py +1 -7
  7. ccxt/async_support/ace.py +39 -1
  8. ccxt/async_support/alpaca.py +49 -0
  9. ccxt/async_support/ascendex.py +7 -1
  10. ccxt/async_support/base/exchange.py +1 -1
  11. ccxt/async_support/bequant.py +1 -0
  12. ccxt/async_support/binance.py +18 -14
  13. ccxt/async_support/binanceusdm.py +1 -1
  14. ccxt/async_support/bit2c.py +37 -0
  15. ccxt/async_support/bitbank.py +32 -0
  16. ccxt/async_support/bitbns.py +1 -1
  17. ccxt/async_support/bitflyer.py +1 -0
  18. ccxt/async_support/bitget.py +6 -5
  19. ccxt/async_support/bithumb.py +34 -0
  20. ccxt/async_support/bitmart.py +70 -6
  21. ccxt/async_support/bitrue.py +1 -1
  22. ccxt/async_support/blofin.py +1 -1
  23. ccxt/async_support/bybit.py +42 -26
  24. ccxt/async_support/coinlist.py +81 -11
  25. ccxt/async_support/defx.py +1 -1
  26. ccxt/async_support/deribit.py +19 -0
  27. ccxt/async_support/derive.py +2 -0
  28. ccxt/async_support/gate.py +11 -7
  29. ccxt/async_support/hitbtc.py +7 -1
  30. ccxt/async_support/okx.py +4 -0
  31. ccxt/base/errors.py +0 -6
  32. ccxt/base/exchange.py +26 -14
  33. ccxt/bequant.py +1 -0
  34. ccxt/binance.py +18 -14
  35. ccxt/binanceusdm.py +1 -1
  36. ccxt/bit2c.py +37 -0
  37. ccxt/bitbank.py +32 -0
  38. ccxt/bitbns.py +1 -1
  39. ccxt/bitflyer.py +1 -0
  40. ccxt/bitget.py +6 -5
  41. ccxt/bithumb.py +34 -0
  42. ccxt/bitmart.py +70 -6
  43. ccxt/bitrue.py +1 -1
  44. ccxt/blofin.py +1 -1
  45. ccxt/bybit.py +42 -26
  46. ccxt/coinlist.py +81 -11
  47. ccxt/defx.py +1 -1
  48. ccxt/deribit.py +19 -0
  49. ccxt/derive.py +2 -0
  50. ccxt/gate.py +11 -7
  51. ccxt/hitbtc.py +7 -1
  52. ccxt/okx.py +4 -0
  53. ccxt/pro/__init__.py +1 -7
  54. ccxt/pro/ascendex.py +1 -1
  55. ccxt/pro/bingx.py +9 -1
  56. ccxt/pro/bitget.py +9 -1
  57. ccxt/pro/bitmart.py +9 -1
  58. ccxt/pro/bitopro.py +5 -4
  59. ccxt/test/tests_async.py +6 -3
  60. ccxt/test/tests_sync.py +6 -3
  61. {ccxt-4.4.72.dist-info → ccxt-4.4.74.dist-info}/METADATA +5 -5
  62. {ccxt-4.4.72.dist-info → ccxt-4.4.74.dist-info}/RECORD +65 -68
  63. ccxt/abstract/bitcoincom.py +0 -115
  64. ccxt/abstract/bitfinex1.py +0 -69
  65. ccxt/abstract/bitpanda.py +0 -23
  66. {ccxt-4.4.72.dist-info → ccxt-4.4.74.dist-info}/LICENSE.txt +0 -0
  67. {ccxt-4.4.72.dist-info → ccxt-4.4.74.dist-info}/WHEEL +0 -0
  68. {ccxt-4.4.72.dist-info → ccxt-4.4.74.dist-info}/top_level.txt +0 -0
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.4.72'
25
+ __version__ = '4.4.74'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -96,16 +96,13 @@ from ccxt.bingx import bingx # noqa: F4
96
96
  from ccxt.bit2c import bit2c # noqa: F401
97
97
  from ccxt.bitbank import bitbank # noqa: F401
98
98
  from ccxt.bitbns import bitbns # noqa: F401
99
- from ccxt.bitcoincom import bitcoincom # noqa: F401
100
99
  from ccxt.bitfinex import bitfinex # noqa: F401
101
- from ccxt.bitfinex1 import bitfinex1 # noqa: F401
102
100
  from ccxt.bitflyer import bitflyer # noqa: F401
103
101
  from ccxt.bitget import bitget # noqa: F401
104
102
  from ccxt.bithumb import bithumb # noqa: F401
105
103
  from ccxt.bitmart import bitmart # noqa: F401
106
104
  from ccxt.bitmex import bitmex # noqa: F401
107
105
  from ccxt.bitopro import bitopro # noqa: F401
108
- from ccxt.bitpanda import bitpanda # noqa: F401
109
106
  from ccxt.bitrue import bitrue # noqa: F401
110
107
  from ccxt.bitso import bitso # noqa: F401
111
108
  from ccxt.bitstamp import bitstamp # noqa: F401
@@ -208,16 +205,13 @@ exchanges = [
208
205
  'bit2c',
209
206
  'bitbank',
210
207
  'bitbns',
211
- 'bitcoincom',
212
208
  'bitfinex',
213
- 'bitfinex1',
214
209
  'bitflyer',
215
210
  'bitget',
216
211
  'bithumb',
217
212
  'bitmart',
218
213
  'bitmex',
219
214
  'bitopro',
220
- 'bitpanda',
221
215
  'bitrue',
222
216
  'bitso',
223
217
  'bitstamp',
ccxt/abstract/bitmart.py CHANGED
@@ -68,6 +68,7 @@ class ImplicitAPI:
68
68
  private_get_contract_private_affilate_rebate_list = privateGetContractPrivateAffilateRebateList = Entry('contract/private/affilate/rebate-list', 'private', 'GET', {'cost': 10})
69
69
  private_get_contract_private_affilate_trade_list = privateGetContractPrivateAffilateTradeList = Entry('contract/private/affilate/trade-list', 'private', 'GET', {'cost': 10})
70
70
  private_get_contract_private_transaction_history = privateGetContractPrivateTransactionHistory = Entry('contract/private/transaction-history', 'private', 'GET', {'cost': 10})
71
+ private_get_contract_private_get_position_mode = privateGetContractPrivateGetPositionMode = Entry('contract/private/get-position-mode', 'private', 'GET', {'cost': 1})
71
72
  private_post_account_sub_account_main_v1_sub_to_main = privatePostAccountSubAccountMainV1SubToMain = Entry('account/sub-account/main/v1/sub-to-main', 'private', 'POST', {'cost': 30})
72
73
  private_post_account_sub_account_sub_v1_sub_to_main = privatePostAccountSubAccountSubV1SubToMain = Entry('account/sub-account/sub/v1/sub-to-main', 'private', 'POST', {'cost': 30})
73
74
  private_post_account_sub_account_main_v1_main_to_sub = privatePostAccountSubAccountMainV1MainToSub = Entry('account/sub-account/main/v1/main-to-sub', 'private', 'POST', {'cost': 30})
@@ -112,3 +113,4 @@ class ImplicitAPI:
112
113
  private_post_contract_private_modify_tp_sl_order = privatePostContractPrivateModifyTpSlOrder = Entry('contract/private/modify-tp-sl-order', 'private', 'POST', {'cost': 2.5})
113
114
  private_post_contract_private_submit_trail_order = privatePostContractPrivateSubmitTrailOrder = Entry('contract/private/submit-trail-order', 'private', 'POST', {'cost': 2.5})
114
115
  private_post_contract_private_cancel_trail_order = privatePostContractPrivateCancelTrailOrder = Entry('contract/private/cancel-trail-order', 'private', 'POST', {'cost': 1.5})
116
+ private_post_contract_private_set_position_mode = privatePostContractPrivateSetPositionMode = Entry('contract/private/set-position-mode', 'private', 'POST', {'cost': 1})
ccxt/ace.py CHANGED
@@ -33,16 +33,27 @@ class ace(Exchange, ImplicitAPI):
33
33
  'swap': False,
34
34
  'future': False,
35
35
  'option': False,
36
+ 'addMargin': False,
37
+ 'borrowCrossMargin': False,
38
+ 'borrowIsolatedMargin': False,
39
+ 'borrowMargin': False,
36
40
  'cancelAllOrders': False,
37
41
  'cancelOrder': True,
38
42
  'cancelOrders': False,
39
43
  'closeAllPositions': False,
40
44
  'closePosition': False,
41
45
  'createOrder': True,
46
+ 'createOrderWithTakeProfitAndStopLoss': False,
47
+ 'createOrderWithTakeProfitAndStopLossWs': False,
48
+ 'createReduceOnlyOrder': False,
42
49
  'editOrder': False,
43
50
  'fetchBalance': True,
51
+ 'fetchBorrowInterest': False,
52
+ 'fetchBorrowRate': False,
44
53
  'fetchBorrowRateHistories': False,
45
54
  'fetchBorrowRateHistory': False,
55
+ 'fetchBorrowRates': False,
56
+ 'fetchBorrowRatesPerSymbol': False,
46
57
  'fetchClosedOrders': False,
47
58
  'fetchCrossBorrowRate': False,
48
59
  'fetchCrossBorrowRates': False,
@@ -50,19 +61,39 @@ class ace(Exchange, ImplicitAPI):
50
61
  'fetchDepositAddress': False,
51
62
  'fetchDeposits': False,
52
63
  'fetchFundingHistory': False,
64
+ 'fetchFundingInterval': False,
65
+ 'fetchFundingIntervals': False,
53
66
  'fetchFundingRate': False,
54
67
  'fetchFundingRateHistory': False,
55
68
  'fetchFundingRates': False,
69
+ 'fetchGreeks': False,
56
70
  'fetchIndexOHLCV': False,
57
71
  'fetchIsolatedBorrowRate': False,
58
72
  'fetchIsolatedBorrowRates': False,
73
+ 'fetchIsolatedPositions': False,
74
+ 'fetchLeverage': False,
75
+ 'fetchLeverages': False,
76
+ 'fetchLeverageTiers': False,
77
+ 'fetchLiquidations': False,
78
+ 'fetchLongShortRatio': False,
79
+ 'fetchLongShortRatioHistory': False,
80
+ 'fetchMarginAdjustmentHistory': False,
59
81
  'fetchMarginMode': False,
82
+ 'fetchMarginModes': False,
83
+ 'fetchMarketLeverageTiers': False,
60
84
  'fetchMarkets': True,
61
85
  'fetchMarkOHLCV': False,
86
+ 'fetchMarkPrices': False,
87
+ 'fetchMyLiquidations': False,
88
+ 'fetchMySettlementHistory': False,
62
89
  'fetchMyTrades': True,
63
90
  'fetchOHLCV': True,
91
+ 'fetchOpenInterest': False,
64
92
  'fetchOpenInterestHistory': False,
93
+ 'fetchOpenInterests': False,
65
94
  'fetchOpenOrders': True,
95
+ 'fetchOption': False,
96
+ 'fetchOptionChain': False,
66
97
  'fetchOrder': True,
67
98
  'fetchOrderBook': True,
68
99
  'fetchOrders': False,
@@ -75,6 +106,7 @@ class ace(Exchange, ImplicitAPI):
75
106
  'fetchPositionsHistory': False,
76
107
  'fetchPositionsRisk': False,
77
108
  'fetchPremiumIndexOHLCV': False,
109
+ 'fetchSettlementHistory': False,
78
110
  'fetchTicker': True,
79
111
  'fetchTickers': True,
80
112
  'fetchTime': False,
@@ -85,10 +117,16 @@ class ace(Exchange, ImplicitAPI):
85
117
  'fetchTransactions': False,
86
118
  'fetchTransfer': False,
87
119
  'fetchTransfers': False,
120
+ 'fetchVolatilityHistory': False,
88
121
  'fetchWithdrawal': False,
89
122
  'fetchWithdrawals': False,
123
+ 'reduceMargin': False,
124
+ 'repayCrossMargin': False,
125
+ 'repayIsolatedMargin': False,
90
126
  'setLeverage': False,
127
+ 'setMargin': False,
91
128
  'setMarginMode': False,
129
+ 'setPositionMode': False,
92
130
  'transfer': False,
93
131
  'withdraw': False,
94
132
  'ws': False,
@@ -473,7 +511,7 @@ class ace(Exchange, ImplicitAPI):
473
511
  # ],
474
512
  # [
475
513
  # "0.001",
476
- # "20948.12"
514
+ # "20948.13"
477
515
  # ]
478
516
  # ]
479
517
  # },
ccxt/alpaca.py CHANGED
@@ -56,6 +56,10 @@ class alpaca(Exchange, ImplicitAPI):
56
56
  'swap': False,
57
57
  'future': False,
58
58
  'option': False,
59
+ 'addMargin': False,
60
+ 'borrowCrossMargin': False,
61
+ 'borrowIsolatedMargin': False,
62
+ 'borrowMargin': False,
59
63
  'cancelAllOrders': True,
60
64
  'cancelOrder': True,
61
65
  'closeAllPositions': False,
@@ -64,28 +68,65 @@ class alpaca(Exchange, ImplicitAPI):
64
68
  'createMarketBuyOrderWithCost': True,
65
69
  'createMarketOrderWithCost': True,
66
70
  'createOrder': True,
71
+ 'createOrderWithTakeProfitAndStopLoss': False,
72
+ 'createOrderWithTakeProfitAndStopLossWs': False,
73
+ 'createReduceOnlyOrder': False,
67
74
  'createStopOrder': True,
68
75
  'createTriggerOrder': True,
69
76
  'editOrder': True,
70
77
  'fetchBalance': True,
71
78
  'fetchBidsAsks': False,
79
+ 'fetchBorrowInterest': False,
80
+ 'fetchBorrowRate': False,
81
+ 'fetchBorrowRateHistories': False,
82
+ 'fetchBorrowRateHistory': False,
83
+ 'fetchBorrowRates': False,
84
+ 'fetchBorrowRatesPerSymbol': False,
72
85
  'fetchClosedOrders': True,
86
+ 'fetchCrossBorrowRate': False,
87
+ 'fetchCrossBorrowRates': False,
73
88
  'fetchCurrencies': False,
74
89
  'fetchDepositAddress': True,
75
90
  'fetchDepositAddressesByNetwork': False,
76
91
  'fetchDeposits': True,
77
92
  'fetchDepositsWithdrawals': True,
78
93
  'fetchFundingHistory': False,
94
+ 'fetchFundingInterval': False,
95
+ 'fetchFundingIntervals': False,
79
96
  'fetchFundingRate': False,
80
97
  'fetchFundingRateHistory': False,
81
98
  'fetchFundingRates': False,
99
+ 'fetchGreeks': False,
100
+ 'fetchIndexOHLCV': False,
101
+ 'fetchIsolatedBorrowRate': False,
102
+ 'fetchIsolatedBorrowRates': False,
103
+ 'fetchIsolatedPositions': False,
82
104
  'fetchL1OrderBook': True,
83
105
  'fetchL2OrderBook': False,
106
+ 'fetchLeverage': False,
107
+ 'fetchLeverages': False,
108
+ 'fetchLeverageTiers': False,
109
+ 'fetchLiquidations': False,
110
+ 'fetchLongShortRatio': False,
111
+ 'fetchLongShortRatioHistory': False,
112
+ 'fetchMarginAdjustmentHistory': False,
113
+ 'fetchMarginMode': False,
114
+ 'fetchMarginModes': False,
115
+ 'fetchMarketLeverageTiers': False,
84
116
  'fetchMarkets': True,
117
+ 'fetchMarkOHLCV': False,
118
+ 'fetchMarkPrices': False,
119
+ 'fetchMyLiquidations': False,
120
+ 'fetchMySettlementHistory': False,
85
121
  'fetchMyTrades': True,
86
122
  'fetchOHLCV': True,
123
+ 'fetchOpenInterest': False,
124
+ 'fetchOpenInterestHistory': False,
125
+ 'fetchOpenInterests': False,
87
126
  'fetchOpenOrder': False,
88
127
  'fetchOpenOrders': True,
128
+ 'fetchOption': False,
129
+ 'fetchOptionChain': False,
89
130
  'fetchOrder': True,
90
131
  'fetchOrderBook': True,
91
132
  'fetchOrders': True,
@@ -96,6 +137,8 @@ class alpaca(Exchange, ImplicitAPI):
96
137
  'fetchPositionsForSymbol': False,
97
138
  'fetchPositionsHistory': False,
98
139
  'fetchPositionsRisk': False,
140
+ 'fetchPremiumIndexOHLCV': False,
141
+ 'fetchSettlementHistory': False,
99
142
  'fetchStatus': False,
100
143
  'fetchTicker': True,
101
144
  'fetchTickers': True,
@@ -106,10 +149,16 @@ class alpaca(Exchange, ImplicitAPI):
106
149
  'fetchTransactionFees': False,
107
150
  'fetchTransactions': False,
108
151
  'fetchTransfers': False,
152
+ 'fetchVolatilityHistory': False,
109
153
  'fetchWithdrawals': True,
154
+ 'reduceMargin': False,
155
+ 'repayCrossMargin': False,
156
+ 'repayIsolatedMargin': False,
110
157
  'sandbox': True,
111
158
  'setLeverage': False,
159
+ 'setMargin': False,
112
160
  'setMarginMode': False,
161
+ 'setPositionMode': False,
113
162
  'transfer': False,
114
163
  'withdraw': True,
115
164
  },
ccxt/ascendex.py CHANGED
@@ -67,6 +67,7 @@ class ascendex(Exchange, ImplicitAPI):
67
67
  'fetchFundingRate': 'emulated',
68
68
  'fetchFundingRateHistory': False,
69
69
  'fetchFundingRates': True,
70
+ 'fetchGreeks': False,
70
71
  'fetchIndexOHLCV': False,
71
72
  'fetchLeverage': 'emulated',
72
73
  'fetchLeverages': True,
@@ -76,10 +77,13 @@ class ascendex(Exchange, ImplicitAPI):
76
77
  'fetchMarketLeverageTiers': 'emulated',
77
78
  'fetchMarkets': True,
78
79
  'fetchMarkOHLCV': False,
80
+ 'fetchMySettlementHistory': False,
79
81
  'fetchOHLCV': True,
80
82
  'fetchOpenInterest': False,
81
83
  'fetchOpenInterestHistory': False,
82
84
  'fetchOpenOrders': True,
85
+ 'fetchOption': False,
86
+ 'fetchOptionChain': False,
83
87
  'fetchOrder': True,
84
88
  'fetchOrderBook': True,
85
89
  'fetchOrders': False,
@@ -88,6 +92,7 @@ class ascendex(Exchange, ImplicitAPI):
88
92
  'fetchPositions': True,
89
93
  'fetchPositionsRisk': False,
90
94
  'fetchPremiumIndexOHLCV': False,
95
+ 'fetchSettlementHistory': False,
91
96
  'fetchTicker': True,
92
97
  'fetchTickers': True,
93
98
  'fetchTime': True,
@@ -99,6 +104,7 @@ class ascendex(Exchange, ImplicitAPI):
99
104
  'fetchTransactions': 'emulated',
100
105
  'fetchTransfer': False,
101
106
  'fetchTransfers': False,
107
+ 'fetchVolatilityHistory': False,
102
108
  'fetchWithdrawal': False,
103
109
  'fetchWithdrawals': True,
104
110
  'reduceMargin': True,
@@ -556,7 +562,7 @@ class ascendex(Exchange, ImplicitAPI):
556
562
  ids = list(dataById.keys())
557
563
  result: dict = {}
558
564
  for i in range(0, len(ids)):
559
- id = ids[i]
565
+ id = self.safe_string(ids, i)
560
566
  currency = dataById[id]
561
567
  code = self.safe_currency_code(id)
562
568
  scale = self.safe_string_2(currency, 'precisionScale', 'nativeScale')
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.72'
7
+ __version__ = '4.4.74'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -76,16 +76,13 @@ from ccxt.async_support.bingx import bingx
76
76
  from ccxt.async_support.bit2c import bit2c # noqa: F401
77
77
  from ccxt.async_support.bitbank import bitbank # noqa: F401
78
78
  from ccxt.async_support.bitbns import bitbns # noqa: F401
79
- from ccxt.async_support.bitcoincom import bitcoincom # noqa: F401
80
79
  from ccxt.async_support.bitfinex import bitfinex # noqa: F401
81
- from ccxt.async_support.bitfinex1 import bitfinex1 # noqa: F401
82
80
  from ccxt.async_support.bitflyer import bitflyer # noqa: F401
83
81
  from ccxt.async_support.bitget import bitget # noqa: F401
84
82
  from ccxt.async_support.bithumb import bithumb # noqa: F401
85
83
  from ccxt.async_support.bitmart import bitmart # noqa: F401
86
84
  from ccxt.async_support.bitmex import bitmex # noqa: F401
87
85
  from ccxt.async_support.bitopro import bitopro # noqa: F401
88
- from ccxt.async_support.bitpanda import bitpanda # noqa: F401
89
86
  from ccxt.async_support.bitrue import bitrue # noqa: F401
90
87
  from ccxt.async_support.bitso import bitso # noqa: F401
91
88
  from ccxt.async_support.bitstamp import bitstamp # noqa: F401
@@ -188,16 +185,13 @@ exchanges = [
188
185
  'bit2c',
189
186
  'bitbank',
190
187
  'bitbns',
191
- 'bitcoincom',
192
188
  'bitfinex',
193
- 'bitfinex1',
194
189
  'bitflyer',
195
190
  'bitget',
196
191
  'bithumb',
197
192
  'bitmart',
198
193
  'bitmex',
199
194
  'bitopro',
200
- 'bitpanda',
201
195
  'bitrue',
202
196
  'bitso',
203
197
  'bitstamp',
ccxt/async_support/ace.py CHANGED
@@ -33,16 +33,27 @@ class ace(Exchange, ImplicitAPI):
33
33
  'swap': False,
34
34
  'future': False,
35
35
  'option': False,
36
+ 'addMargin': False,
37
+ 'borrowCrossMargin': False,
38
+ 'borrowIsolatedMargin': False,
39
+ 'borrowMargin': False,
36
40
  'cancelAllOrders': False,
37
41
  'cancelOrder': True,
38
42
  'cancelOrders': False,
39
43
  'closeAllPositions': False,
40
44
  'closePosition': False,
41
45
  'createOrder': True,
46
+ 'createOrderWithTakeProfitAndStopLoss': False,
47
+ 'createOrderWithTakeProfitAndStopLossWs': False,
48
+ 'createReduceOnlyOrder': False,
42
49
  'editOrder': False,
43
50
  'fetchBalance': True,
51
+ 'fetchBorrowInterest': False,
52
+ 'fetchBorrowRate': False,
44
53
  'fetchBorrowRateHistories': False,
45
54
  'fetchBorrowRateHistory': False,
55
+ 'fetchBorrowRates': False,
56
+ 'fetchBorrowRatesPerSymbol': False,
46
57
  'fetchClosedOrders': False,
47
58
  'fetchCrossBorrowRate': False,
48
59
  'fetchCrossBorrowRates': False,
@@ -50,19 +61,39 @@ class ace(Exchange, ImplicitAPI):
50
61
  'fetchDepositAddress': False,
51
62
  'fetchDeposits': False,
52
63
  'fetchFundingHistory': False,
64
+ 'fetchFundingInterval': False,
65
+ 'fetchFundingIntervals': False,
53
66
  'fetchFundingRate': False,
54
67
  'fetchFundingRateHistory': False,
55
68
  'fetchFundingRates': False,
69
+ 'fetchGreeks': False,
56
70
  'fetchIndexOHLCV': False,
57
71
  'fetchIsolatedBorrowRate': False,
58
72
  'fetchIsolatedBorrowRates': False,
73
+ 'fetchIsolatedPositions': False,
74
+ 'fetchLeverage': False,
75
+ 'fetchLeverages': False,
76
+ 'fetchLeverageTiers': False,
77
+ 'fetchLiquidations': False,
78
+ 'fetchLongShortRatio': False,
79
+ 'fetchLongShortRatioHistory': False,
80
+ 'fetchMarginAdjustmentHistory': False,
59
81
  'fetchMarginMode': False,
82
+ 'fetchMarginModes': False,
83
+ 'fetchMarketLeverageTiers': False,
60
84
  'fetchMarkets': True,
61
85
  'fetchMarkOHLCV': False,
86
+ 'fetchMarkPrices': False,
87
+ 'fetchMyLiquidations': False,
88
+ 'fetchMySettlementHistory': False,
62
89
  'fetchMyTrades': True,
63
90
  'fetchOHLCV': True,
91
+ 'fetchOpenInterest': False,
64
92
  'fetchOpenInterestHistory': False,
93
+ 'fetchOpenInterests': False,
65
94
  'fetchOpenOrders': True,
95
+ 'fetchOption': False,
96
+ 'fetchOptionChain': False,
66
97
  'fetchOrder': True,
67
98
  'fetchOrderBook': True,
68
99
  'fetchOrders': False,
@@ -75,6 +106,7 @@ class ace(Exchange, ImplicitAPI):
75
106
  'fetchPositionsHistory': False,
76
107
  'fetchPositionsRisk': False,
77
108
  'fetchPremiumIndexOHLCV': False,
109
+ 'fetchSettlementHistory': False,
78
110
  'fetchTicker': True,
79
111
  'fetchTickers': True,
80
112
  'fetchTime': False,
@@ -85,10 +117,16 @@ class ace(Exchange, ImplicitAPI):
85
117
  'fetchTransactions': False,
86
118
  'fetchTransfer': False,
87
119
  'fetchTransfers': False,
120
+ 'fetchVolatilityHistory': False,
88
121
  'fetchWithdrawal': False,
89
122
  'fetchWithdrawals': False,
123
+ 'reduceMargin': False,
124
+ 'repayCrossMargin': False,
125
+ 'repayIsolatedMargin': False,
90
126
  'setLeverage': False,
127
+ 'setMargin': False,
91
128
  'setMarginMode': False,
129
+ 'setPositionMode': False,
92
130
  'transfer': False,
93
131
  'withdraw': False,
94
132
  'ws': False,
@@ -473,7 +511,7 @@ class ace(Exchange, ImplicitAPI):
473
511
  # ],
474
512
  # [
475
513
  # "0.001",
476
- # "20948.12"
514
+ # "20948.13"
477
515
  # ]
478
516
  # ]
479
517
  # },
@@ -56,6 +56,10 @@ class alpaca(Exchange, ImplicitAPI):
56
56
  'swap': False,
57
57
  'future': False,
58
58
  'option': False,
59
+ 'addMargin': False,
60
+ 'borrowCrossMargin': False,
61
+ 'borrowIsolatedMargin': False,
62
+ 'borrowMargin': False,
59
63
  'cancelAllOrders': True,
60
64
  'cancelOrder': True,
61
65
  'closeAllPositions': False,
@@ -64,28 +68,65 @@ class alpaca(Exchange, ImplicitAPI):
64
68
  'createMarketBuyOrderWithCost': True,
65
69
  'createMarketOrderWithCost': True,
66
70
  'createOrder': True,
71
+ 'createOrderWithTakeProfitAndStopLoss': False,
72
+ 'createOrderWithTakeProfitAndStopLossWs': False,
73
+ 'createReduceOnlyOrder': False,
67
74
  'createStopOrder': True,
68
75
  'createTriggerOrder': True,
69
76
  'editOrder': True,
70
77
  'fetchBalance': True,
71
78
  'fetchBidsAsks': False,
79
+ 'fetchBorrowInterest': False,
80
+ 'fetchBorrowRate': False,
81
+ 'fetchBorrowRateHistories': False,
82
+ 'fetchBorrowRateHistory': False,
83
+ 'fetchBorrowRates': False,
84
+ 'fetchBorrowRatesPerSymbol': False,
72
85
  'fetchClosedOrders': True,
86
+ 'fetchCrossBorrowRate': False,
87
+ 'fetchCrossBorrowRates': False,
73
88
  'fetchCurrencies': False,
74
89
  'fetchDepositAddress': True,
75
90
  'fetchDepositAddressesByNetwork': False,
76
91
  'fetchDeposits': True,
77
92
  'fetchDepositsWithdrawals': True,
78
93
  'fetchFundingHistory': False,
94
+ 'fetchFundingInterval': False,
95
+ 'fetchFundingIntervals': False,
79
96
  'fetchFundingRate': False,
80
97
  'fetchFundingRateHistory': False,
81
98
  'fetchFundingRates': False,
99
+ 'fetchGreeks': False,
100
+ 'fetchIndexOHLCV': False,
101
+ 'fetchIsolatedBorrowRate': False,
102
+ 'fetchIsolatedBorrowRates': False,
103
+ 'fetchIsolatedPositions': False,
82
104
  'fetchL1OrderBook': True,
83
105
  'fetchL2OrderBook': False,
106
+ 'fetchLeverage': False,
107
+ 'fetchLeverages': False,
108
+ 'fetchLeverageTiers': False,
109
+ 'fetchLiquidations': False,
110
+ 'fetchLongShortRatio': False,
111
+ 'fetchLongShortRatioHistory': False,
112
+ 'fetchMarginAdjustmentHistory': False,
113
+ 'fetchMarginMode': False,
114
+ 'fetchMarginModes': False,
115
+ 'fetchMarketLeverageTiers': False,
84
116
  'fetchMarkets': True,
117
+ 'fetchMarkOHLCV': False,
118
+ 'fetchMarkPrices': False,
119
+ 'fetchMyLiquidations': False,
120
+ 'fetchMySettlementHistory': False,
85
121
  'fetchMyTrades': True,
86
122
  'fetchOHLCV': True,
123
+ 'fetchOpenInterest': False,
124
+ 'fetchOpenInterestHistory': False,
125
+ 'fetchOpenInterests': False,
87
126
  'fetchOpenOrder': False,
88
127
  'fetchOpenOrders': True,
128
+ 'fetchOption': False,
129
+ 'fetchOptionChain': False,
89
130
  'fetchOrder': True,
90
131
  'fetchOrderBook': True,
91
132
  'fetchOrders': True,
@@ -96,6 +137,8 @@ class alpaca(Exchange, ImplicitAPI):
96
137
  'fetchPositionsForSymbol': False,
97
138
  'fetchPositionsHistory': False,
98
139
  'fetchPositionsRisk': False,
140
+ 'fetchPremiumIndexOHLCV': False,
141
+ 'fetchSettlementHistory': False,
99
142
  'fetchStatus': False,
100
143
  'fetchTicker': True,
101
144
  'fetchTickers': True,
@@ -106,10 +149,16 @@ class alpaca(Exchange, ImplicitAPI):
106
149
  'fetchTransactionFees': False,
107
150
  'fetchTransactions': False,
108
151
  'fetchTransfers': False,
152
+ 'fetchVolatilityHistory': False,
109
153
  'fetchWithdrawals': True,
154
+ 'reduceMargin': False,
155
+ 'repayCrossMargin': False,
156
+ 'repayIsolatedMargin': False,
110
157
  'sandbox': True,
111
158
  'setLeverage': False,
159
+ 'setMargin': False,
112
160
  'setMarginMode': False,
161
+ 'setPositionMode': False,
113
162
  'transfer': False,
114
163
  'withdraw': True,
115
164
  },
@@ -68,6 +68,7 @@ class ascendex(Exchange, ImplicitAPI):
68
68
  'fetchFundingRate': 'emulated',
69
69
  'fetchFundingRateHistory': False,
70
70
  'fetchFundingRates': True,
71
+ 'fetchGreeks': False,
71
72
  'fetchIndexOHLCV': False,
72
73
  'fetchLeverage': 'emulated',
73
74
  'fetchLeverages': True,
@@ -77,10 +78,13 @@ class ascendex(Exchange, ImplicitAPI):
77
78
  'fetchMarketLeverageTiers': 'emulated',
78
79
  'fetchMarkets': True,
79
80
  'fetchMarkOHLCV': False,
81
+ 'fetchMySettlementHistory': False,
80
82
  'fetchOHLCV': True,
81
83
  'fetchOpenInterest': False,
82
84
  'fetchOpenInterestHistory': False,
83
85
  'fetchOpenOrders': True,
86
+ 'fetchOption': False,
87
+ 'fetchOptionChain': False,
84
88
  'fetchOrder': True,
85
89
  'fetchOrderBook': True,
86
90
  'fetchOrders': False,
@@ -89,6 +93,7 @@ class ascendex(Exchange, ImplicitAPI):
89
93
  'fetchPositions': True,
90
94
  'fetchPositionsRisk': False,
91
95
  'fetchPremiumIndexOHLCV': False,
96
+ 'fetchSettlementHistory': False,
92
97
  'fetchTicker': True,
93
98
  'fetchTickers': True,
94
99
  'fetchTime': True,
@@ -100,6 +105,7 @@ class ascendex(Exchange, ImplicitAPI):
100
105
  'fetchTransactions': 'emulated',
101
106
  'fetchTransfer': False,
102
107
  'fetchTransfers': False,
108
+ 'fetchVolatilityHistory': False,
103
109
  'fetchWithdrawal': False,
104
110
  'fetchWithdrawals': True,
105
111
  'reduceMargin': True,
@@ -557,7 +563,7 @@ class ascendex(Exchange, ImplicitAPI):
557
563
  ids = list(dataById.keys())
558
564
  result: dict = {}
559
565
  for i in range(0, len(ids)):
560
- id = ids[i]
566
+ id = self.safe_string(ids, i)
561
567
  currency = dataById[id]
562
568
  code = self.safe_currency_code(id)
563
569
  scale = self.safe_string_2(currency, 'precisionScale', 'nativeScale')
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.72'
5
+ __version__ = '4.4.74'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -19,6 +19,7 @@ class bequant(hitbtc, ImplicitAPI):
19
19
  'urls': {
20
20
  'logo': 'https://github.com/user-attachments/assets/0583ef1f-29fe-4b7c-8189-63565a0e2867',
21
21
  'api': {
22
+ # v3
22
23
  'public': 'https://api.bequant.io/api/3',
23
24
  'private': 'https://api.bequant.io/api/3',
24
25
  },