ccxt 4.4.87__py2.py3-none-any.whl → 4.4.90__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 (67) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/bitget.py +58 -0
  3. ccxt/abstract/bitrue.py +65 -65
  4. ccxt/abstract/cryptocom.py +2 -0
  5. ccxt/abstract/luno.py +1 -0
  6. ccxt/async_support/__init__.py +1 -1
  7. ccxt/async_support/base/exchange.py +4 -1
  8. ccxt/async_support/binance.py +1 -1
  9. ccxt/async_support/bingx.py +55 -29
  10. ccxt/async_support/bitget.py +469 -147
  11. ccxt/async_support/bitrue.py +72 -66
  12. ccxt/async_support/bitvavo.py +34 -0
  13. ccxt/async_support/btcalpha.py +35 -0
  14. ccxt/async_support/btcbox.py +35 -0
  15. ccxt/async_support/btcmarkets.py +35 -0
  16. ccxt/async_support/btcturk.py +35 -0
  17. ccxt/async_support/bybit.py +28 -60
  18. ccxt/async_support/coinbase.py +1 -3
  19. ccxt/async_support/cryptocom.py +49 -0
  20. ccxt/async_support/delta.py +2 -2
  21. ccxt/async_support/digifinex.py +39 -99
  22. ccxt/async_support/gate.py +12 -5
  23. ccxt/async_support/hashkey.py +15 -28
  24. ccxt/async_support/hollaex.py +27 -22
  25. ccxt/async_support/kraken.py +28 -49
  26. ccxt/async_support/luno.py +87 -1
  27. ccxt/async_support/modetrade.py +7 -7
  28. ccxt/async_support/okx.py +2 -1
  29. ccxt/async_support/phemex.py +16 -8
  30. ccxt/async_support/tradeogre.py +3 -3
  31. ccxt/async_support/xt.py +1 -1
  32. ccxt/base/exchange.py +15 -5
  33. ccxt/binance.py +1 -1
  34. ccxt/bingx.py +55 -29
  35. ccxt/bitget.py +469 -147
  36. ccxt/bitrue.py +72 -66
  37. ccxt/bitvavo.py +34 -0
  38. ccxt/btcalpha.py +35 -0
  39. ccxt/btcbox.py +35 -0
  40. ccxt/btcmarkets.py +35 -0
  41. ccxt/btcturk.py +35 -0
  42. ccxt/bybit.py +28 -60
  43. ccxt/coinbase.py +1 -3
  44. ccxt/cryptocom.py +49 -0
  45. ccxt/delta.py +2 -2
  46. ccxt/digifinex.py +39 -99
  47. ccxt/gate.py +12 -5
  48. ccxt/hashkey.py +15 -28
  49. ccxt/hollaex.py +27 -22
  50. ccxt/kraken.py +27 -49
  51. ccxt/luno.py +87 -1
  52. ccxt/modetrade.py +7 -7
  53. ccxt/okx.py +2 -1
  54. ccxt/phemex.py +16 -8
  55. ccxt/pro/__init__.py +1 -119
  56. ccxt/pro/coinbase.py +2 -0
  57. ccxt/pro/cryptocom.py +27 -0
  58. ccxt/pro/kraken.py +3 -9
  59. ccxt/test/tests_async.py +1 -1
  60. ccxt/test/tests_sync.py +1 -1
  61. ccxt/tradeogre.py +3 -3
  62. ccxt/xt.py +1 -1
  63. {ccxt-4.4.87.dist-info → ccxt-4.4.90.dist-info}/METADATA +62 -20
  64. {ccxt-4.4.87.dist-info → ccxt-4.4.90.dist-info}/RECORD +67 -67
  65. {ccxt-4.4.87.dist-info → ccxt-4.4.90.dist-info}/LICENSE.txt +0 -0
  66. {ccxt-4.4.87.dist-info → ccxt-4.4.90.dist-info}/WHEEL +0 -0
  67. {ccxt-4.4.87.dist-info → ccxt-4.4.90.dist-info}/top_level.txt +0 -0
ccxt/bitrue.py CHANGED
@@ -38,7 +38,7 @@ class bitrue(Exchange, ImplicitAPI):
38
38
  'id': 'bitrue',
39
39
  'name': 'Bitrue',
40
40
  'countries': ['SG'], # Singapore, Malta
41
- 'rateLimit': 1000,
41
+ 'rateLimit': 10,
42
42
  'certified': False,
43
43
  'version': 'v1',
44
44
  'pro': True,
@@ -179,56 +179,62 @@ class bitrue(Exchange, ImplicitAPI):
179
179
  ],
180
180
  'fees': 'https://bitrue.zendesk.com/hc/en-001/articles/4405479952537',
181
181
  },
182
+ # from spotV1PublicGetExchangeInfo:
183
+ # general 25000 weight in 1 minute per IP. = 416.66 per second a weight of 0.24 for 1
184
+ # orders 750 weight in 6 seconds per IP. = 125 per second a weight of 0.8 for 1
185
+ # orders 200 weight in 10 seconds per User. = 20 per second a weight of 5 for 1
186
+ # withdraw 3000 weight in 1 hour per User. = 0.833 per second a weight of 120 for 1
187
+ # withdraw 1000 weight in 1 day per User. = 0.011574 per second a weight of 8640 for 1
182
188
  'api': {
183
189
  'spot': {
184
190
  'kline': {
185
191
  'public': {
186
192
  'get': {
187
- 'public.json': 1,
188
- 'public{currency}.json': 1,
193
+ 'public.json': 0.24,
194
+ 'public{currency}.json': 0.24,
189
195
  },
190
196
  },
191
197
  },
192
198
  'v1': {
193
199
  'public': {
194
200
  'get': {
195
- 'ping': 1,
196
- 'time': 1,
197
- 'exchangeInfo': 1,
198
- 'depth': {'cost': 1, 'byLimit': [[100, 1], [500, 5], [1000, 10]]},
199
- 'trades': 1,
200
- 'historicalTrades': 5,
201
- 'aggTrades': 1,
202
- 'ticker/24hr': {'cost': 1, 'noSymbol': 40},
203
- 'ticker/price': {'cost': 1, 'noSymbol': 2},
204
- 'ticker/bookTicker': {'cost': 1, 'noSymbol': 2},
205
- 'market/kline': 1,
201
+ 'ping': 0.24,
202
+ 'time': 0.24,
203
+ 'exchangeInfo': 0.24,
204
+ 'depth': {'cost': 1, 'byLimit': [[100, 0.24], [500, 1.2], [1000, 2.4]]},
205
+ 'trades': 0.24,
206
+ 'historicalTrades': 1.2,
207
+ 'aggTrades': 0.24,
208
+ 'ticker/24hr': {'cost': 0.24, 'noSymbol': 9.6},
209
+ 'ticker/price': 0.24,
210
+ 'ticker/bookTicker': 0.24,
211
+ 'market/kline': 0.24,
206
212
  },
207
213
  },
208
214
  'private': {
209
215
  'get': {
210
- 'order': 1,
211
- 'openOrders': 1,
212
- 'allOrders': 5,
213
- 'account': 5,
214
- 'myTrades': {'cost': 5, 'noSymbol': 40},
215
- 'etf/net-value/{symbol}': 1,
216
- 'withdraw/history': 1,
217
- 'deposit/history': 1,
216
+ 'order': 5,
217
+ 'openOrders': 5,
218
+ 'allOrders': 25,
219
+ 'account': 25,
220
+ 'myTrades': 25,
221
+ 'etf/net-value/{symbol}': 0.24,
222
+ 'withdraw/history': 120,
223
+ 'deposit/history': 120,
218
224
  },
219
225
  'post': {
220
- 'order': 4,
221
- 'withdraw/commit': 1,
226
+ 'order': 5,
227
+ 'withdraw/commit': 120,
222
228
  },
223
229
  'delete': {
224
- 'order': 1,
230
+ 'order': 5,
225
231
  },
226
232
  },
227
233
  },
228
234
  'v2': {
229
235
  'private': {
230
236
  'get': {
231
- 'myTrades': 5,
237
+ 'myTrades': 1.2,
232
238
  },
233
239
  },
234
240
  },
@@ -237,34 +243,34 @@ class bitrue(Exchange, ImplicitAPI):
237
243
  'v1': {
238
244
  'public': {
239
245
  'get': {
240
- 'ping': 1,
241
- 'time': 1,
242
- 'contracts': 1,
243
- 'depth': 1,
244
- 'ticker': 1,
245
- 'klines': 1,
246
+ 'ping': 0.24,
247
+ 'time': 0.24,
248
+ 'contracts': 0.24,
249
+ 'depth': 0.24,
250
+ 'ticker': 0.24,
251
+ 'klines': 0.24,
246
252
  },
247
253
  },
248
254
  },
249
255
  'v2': {
250
256
  'private': {
251
257
  'get': {
252
- 'myTrades': 1,
253
- 'openOrders': 1,
254
- 'order': 1,
255
- 'account': 1,
256
- 'leverageBracket': 1,
257
- 'commissionRate': 1,
258
- 'futures_transfer_history': 1,
259
- 'forceOrdersHistory': 1,
258
+ 'myTrades': 5,
259
+ 'openOrders': 5,
260
+ 'order': 5,
261
+ 'account': 5,
262
+ 'leverageBracket': 5,
263
+ 'commissionRate': 5,
264
+ 'futures_transfer_history': 5,
265
+ 'forceOrdersHistory': 5,
260
266
  },
261
267
  'post': {
262
- 'positionMargin': 1,
263
- 'level_edit': 1,
264
- 'cancel': 1,
265
- 'order': 1,
266
- 'allOpenOrders': 1,
267
- 'futures_transfer': 1,
268
+ 'positionMargin': 5,
269
+ 'level_edit': 5,
270
+ 'cancel': 5,
271
+ 'order': 25,
272
+ 'allOpenOrders': 5,
273
+ 'futures_transfer': 5,
268
274
  },
269
275
  },
270
276
  },
@@ -273,34 +279,34 @@ class bitrue(Exchange, ImplicitAPI):
273
279
  'v1': {
274
280
  'public': {
275
281
  'get': {
276
- 'ping': 1,
277
- 'time': 1,
278
- 'contracts': 1,
279
- 'depth': 1,
280
- 'ticker': 1,
281
- 'klines': 1,
282
+ 'ping': 0.24,
283
+ 'time': 0.24,
284
+ 'contracts': 0.24,
285
+ 'depth': 0.24,
286
+ 'ticker': 0.24,
287
+ 'klines': 0.24,
282
288
  },
283
289
  },
284
290
  },
285
291
  'v2': {
286
292
  'private': {
287
293
  'get': {
288
- 'myTrades': 1,
289
- 'openOrders': 1,
290
- 'order': 1,
291
- 'account': 1,
292
- 'leverageBracket': 1,
293
- 'commissionRate': 1,
294
- 'futures_transfer_history': 1,
295
- 'forceOrdersHistory': 1,
294
+ 'myTrades': 5,
295
+ 'openOrders': 5,
296
+ 'order': 5,
297
+ 'account': 5,
298
+ 'leverageBracket': 5,
299
+ 'commissionRate': 5,
300
+ 'futures_transfer_history': 5,
301
+ 'forceOrdersHistory': 5,
296
302
  },
297
303
  'post': {
298
- 'positionMargin': 1,
299
- 'level_edit': 1,
300
- 'cancel': 1,
301
- 'order': 1,
302
- 'allOpenOrders': 1,
303
- 'futures_transfer': 1,
304
+ 'positionMargin': 5,
305
+ 'level_edit': 5,
306
+ 'cancel': 5,
307
+ 'order': 5,
308
+ 'allOpenOrders': 5,
309
+ 'futures_transfer': 5,
304
310
  },
305
311
  },
306
312
  },
ccxt/bitvavo.py CHANGED
@@ -48,19 +48,29 @@ class bitvavo(Exchange, ImplicitAPI):
48
48
  'future': False,
49
49
  'option': False,
50
50
  'addMargin': False,
51
+ 'borrowCrossMargin': False,
52
+ 'borrowIsolatedMargin': False,
53
+ 'borrowMargin': False,
51
54
  'cancelAllOrders': True,
52
55
  'cancelOrder': True,
53
56
  'closeAllPositions': False,
54
57
  'closePosition': False,
55
58
  'createOrder': True,
59
+ 'createOrderWithTakeProfitAndStopLoss': False,
60
+ 'createOrderWithTakeProfitAndStopLossWs': False,
61
+ 'createPostOnlyOrder': False,
56
62
  'createReduceOnlyOrder': False,
57
63
  'createStopLimitOrder': True,
58
64
  'createStopMarketOrder': True,
59
65
  'createStopOrder': True,
60
66
  'editOrder': True,
61
67
  'fetchBalance': True,
68
+ 'fetchBorrowInterest': False,
69
+ 'fetchBorrowRate': False,
62
70
  'fetchBorrowRateHistories': False,
63
71
  'fetchBorrowRateHistory': False,
72
+ 'fetchBorrowRates': False,
73
+ 'fetchBorrowRatesPerSymbol': False,
64
74
  'fetchCrossBorrowRate': False,
65
75
  'fetchCrossBorrowRates': False,
66
76
  'fetchCurrencies': True,
@@ -71,21 +81,39 @@ class bitvavo(Exchange, ImplicitAPI):
71
81
  'fetchDepositWithdrawFee': 'emulated',
72
82
  'fetchDepositWithdrawFees': True,
73
83
  'fetchFundingHistory': False,
84
+ 'fetchFundingInterval': False,
85
+ 'fetchFundingIntervals': False,
74
86
  'fetchFundingRate': False,
75
87
  'fetchFundingRateHistory': False,
76
88
  'fetchFundingRates': False,
89
+ 'fetchGreeks': False,
77
90
  'fetchIndexOHLCV': False,
78
91
  'fetchIsolatedBorrowRate': False,
79
92
  'fetchIsolatedBorrowRates': False,
93
+ 'fetchIsolatedPositions': False,
80
94
  'fetchLeverage': False,
95
+ 'fetchLeverages': False,
81
96
  'fetchLeverageTiers': False,
97
+ 'fetchLiquidations': False,
98
+ 'fetchLongShortRatio': False,
99
+ 'fetchLongShortRatioHistory': False,
100
+ 'fetchMarginAdjustmentHistory': False,
82
101
  'fetchMarginMode': False,
102
+ 'fetchMarginModes': False,
103
+ 'fetchMarketLeverageTiers': False,
83
104
  'fetchMarkets': True,
84
105
  'fetchMarkOHLCV': False,
106
+ 'fetchMarkPrices': False,
107
+ 'fetchMyLiquidations': False,
108
+ 'fetchMySettlementHistory': False,
85
109
  'fetchMyTrades': True,
86
110
  'fetchOHLCV': True,
111
+ 'fetchOpenInterest': False,
87
112
  'fetchOpenInterestHistory': False,
113
+ 'fetchOpenInterests': False,
88
114
  'fetchOpenOrders': True,
115
+ 'fetchOption': False,
116
+ 'fetchOptionChain': False,
89
117
  'fetchOrder': True,
90
118
  'fetchOrderBook': True,
91
119
  'fetchOrders': True,
@@ -97,6 +125,7 @@ class bitvavo(Exchange, ImplicitAPI):
97
125
  'fetchPositionsHistory': False,
98
126
  'fetchPositionsRisk': False,
99
127
  'fetchPremiumIndexOHLCV': False,
128
+ 'fetchSettlementHistory': False,
100
129
  'fetchTicker': True,
101
130
  'fetchTickers': True,
102
131
  'fetchTime': True,
@@ -105,9 +134,14 @@ class bitvavo(Exchange, ImplicitAPI):
105
134
  'fetchTradingFees': True,
106
135
  'fetchTransfer': False,
107
136
  'fetchTransfers': False,
137
+ 'fetchVolatilityHistory': False,
108
138
  'fetchWithdrawals': True,
109
139
  'reduceMargin': False,
140
+ 'repayCrossMargin': False,
141
+ 'repayIsolatedMargin': False,
142
+ 'repayMargin': False,
110
143
  'setLeverage': False,
144
+ 'setMargin': False,
111
145
  'setMarginMode': False,
112
146
  'setPositionMode': False,
113
147
  'transfer': False,
ccxt/btcalpha.py CHANGED
@@ -31,18 +31,28 @@ class btcalpha(Exchange, ImplicitAPI):
31
31
  'future': False,
32
32
  'option': False,
33
33
  'addMargin': False,
34
+ 'borrowCrossMargin': False,
35
+ 'borrowIsolatedMargin': False,
36
+ 'borrowMargin': False,
34
37
  'cancelOrder': True,
35
38
  'closeAllPositions': False,
36
39
  'closePosition': False,
37
40
  'createDepositAddress': False,
38
41
  'createOrder': True,
42
+ 'createOrderWithTakeProfitAndStopLoss': False,
43
+ 'createOrderWithTakeProfitAndStopLossWs': False,
44
+ 'createPostOnlyOrder': False,
39
45
  'createReduceOnlyOrder': False,
40
46
  'createStopLimitOrder': False,
41
47
  'createStopMarketOrder': False,
42
48
  'createStopOrder': False,
43
49
  'fetchBalance': True,
50
+ 'fetchBorrowInterest': False,
51
+ 'fetchBorrowRate': False,
44
52
  'fetchBorrowRateHistories': False,
45
53
  'fetchBorrowRateHistory': False,
54
+ 'fetchBorrowRates': False,
55
+ 'fetchBorrowRatesPerSymbol': False,
46
56
  'fetchClosedOrders': True,
47
57
  'fetchCrossBorrowRate': False,
48
58
  'fetchCrossBorrowRates': False,
@@ -52,21 +62,40 @@ class btcalpha(Exchange, ImplicitAPI):
52
62
  'fetchDepositAddressesByNetwork': False,
53
63
  'fetchDeposits': True,
54
64
  'fetchFundingHistory': False,
65
+ 'fetchFundingInterval': False,
66
+ 'fetchFundingIntervals': False,
55
67
  'fetchFundingRate': False,
56
68
  'fetchFundingRateHistory': False,
57
69
  'fetchFundingRates': False,
70
+ 'fetchGreeks': False,
58
71
  'fetchIndexOHLCV': False,
59
72
  'fetchIsolatedBorrowRate': False,
60
73
  'fetchIsolatedBorrowRates': False,
74
+ 'fetchIsolatedPositions': False,
61
75
  'fetchL2OrderBook': True,
62
76
  'fetchLeverage': False,
77
+ 'fetchLeverages': False,
78
+ 'fetchLeverageTiers': False,
79
+ 'fetchLiquidations': False,
80
+ 'fetchLongShortRatio': False,
81
+ 'fetchLongShortRatioHistory': False,
82
+ 'fetchMarginAdjustmentHistory': False,
63
83
  'fetchMarginMode': False,
84
+ 'fetchMarginModes': False,
85
+ 'fetchMarketLeverageTiers': False,
64
86
  'fetchMarkets': True,
65
87
  'fetchMarkOHLCV': False,
88
+ 'fetchMarkPrices': False,
89
+ 'fetchMyLiquidations': False,
90
+ 'fetchMySettlementHistory': False,
66
91
  'fetchMyTrades': True,
67
92
  'fetchOHLCV': True,
93
+ 'fetchOpenInterest': False,
68
94
  'fetchOpenInterestHistory': False,
95
+ 'fetchOpenInterests': False,
69
96
  'fetchOpenOrders': True,
97
+ 'fetchOption': False,
98
+ 'fetchOptionChain': False,
70
99
  'fetchOrder': True,
71
100
  'fetchOrderBook': True,
72
101
  'fetchOrders': True,
@@ -78,6 +107,7 @@ class btcalpha(Exchange, ImplicitAPI):
78
107
  'fetchPositionsHistory': False,
79
108
  'fetchPositionsRisk': False,
80
109
  'fetchPremiumIndexOHLCV': False,
110
+ 'fetchSettlementHistory': False,
81
111
  'fetchTicker': True,
82
112
  'fetchTickers': True,
83
113
  'fetchTrades': True,
@@ -85,10 +115,15 @@ class btcalpha(Exchange, ImplicitAPI):
85
115
  'fetchTradingFees': False,
86
116
  'fetchTransfer': False,
87
117
  'fetchTransfers': False,
118
+ 'fetchVolatilityHistory': False,
88
119
  'fetchWithdrawal': False,
89
120
  'fetchWithdrawals': True,
90
121
  'reduceMargin': False,
122
+ 'repayCrossMargin': False,
123
+ 'repayIsolatedMargin': False,
124
+ 'repayMargin': False,
91
125
  'setLeverage': False,
126
+ 'setMargin': False,
92
127
  'setMarginMode': False,
93
128
  'setPositionMode': False,
94
129
  'transfer': False,
ccxt/btcbox.py CHANGED
@@ -39,28 +39,57 @@ class btcbox(Exchange, ImplicitAPI):
39
39
  'future': False,
40
40
  'option': False,
41
41
  'addMargin': False,
42
+ 'borrowCrossMargin': False,
43
+ 'borrowIsolatedMargin': False,
44
+ 'borrowMargin': False,
42
45
  'cancelOrder': True,
43
46
  'closeAllPositions': False,
44
47
  'closePosition': False,
45
48
  'createOrder': True,
49
+ 'createOrderWithTakeProfitAndStopLoss': False,
50
+ 'createOrderWithTakeProfitAndStopLossWs': False,
51
+ 'createPostOnlyOrder': False,
46
52
  'createReduceOnlyOrder': False,
47
53
  'fetchBalance': True,
54
+ 'fetchBorrowInterest': False,
55
+ 'fetchBorrowRate': False,
48
56
  'fetchBorrowRateHistories': False,
49
57
  'fetchBorrowRateHistory': False,
58
+ 'fetchBorrowRates': False,
59
+ 'fetchBorrowRatesPerSymbol': False,
50
60
  'fetchCrossBorrowRate': False,
51
61
  'fetchCrossBorrowRates': False,
52
62
  'fetchFundingHistory': False,
63
+ 'fetchFundingInterval': False,
64
+ 'fetchFundingIntervals': False,
53
65
  'fetchFundingRate': False,
54
66
  'fetchFundingRateHistory': False,
55
67
  'fetchFundingRates': False,
68
+ 'fetchGreeks': False,
56
69
  'fetchIndexOHLCV': False,
57
70
  'fetchIsolatedBorrowRate': False,
58
71
  'fetchIsolatedBorrowRates': False,
72
+ 'fetchIsolatedPositions': False,
59
73
  'fetchLeverage': False,
74
+ 'fetchLeverages': False,
75
+ 'fetchLeverageTiers': False,
76
+ 'fetchLiquidations': False,
77
+ 'fetchLongShortRatio': False,
78
+ 'fetchLongShortRatioHistory': False,
79
+ 'fetchMarginAdjustmentHistory': False,
60
80
  'fetchMarginMode': False,
81
+ 'fetchMarginModes': False,
82
+ 'fetchMarketLeverageTiers': False,
61
83
  'fetchMarkOHLCV': False,
84
+ 'fetchMarkPrices': False,
85
+ 'fetchMyLiquidations': False,
86
+ 'fetchMySettlementHistory': False,
87
+ 'fetchOpenInterest': False,
62
88
  'fetchOpenInterestHistory': False,
89
+ 'fetchOpenInterests': False,
63
90
  'fetchOpenOrders': True,
91
+ 'fetchOption': False,
92
+ 'fetchOptionChain': False,
64
93
  'fetchOrder': True,
65
94
  'fetchOrderBook': True,
66
95
  'fetchOrders': True,
@@ -72,15 +101,21 @@ class btcbox(Exchange, ImplicitAPI):
72
101
  'fetchPositionsHistory': False,
73
102
  'fetchPositionsRisk': False,
74
103
  'fetchPremiumIndexOHLCV': False,
104
+ 'fetchSettlementHistory': False,
75
105
  'fetchTicker': True,
76
106
  'fetchTickers': True,
77
107
  'fetchTrades': True,
78
108
  'fetchTransfer': False,
79
109
  'fetchTransfers': False,
110
+ 'fetchVolatilityHistory': False,
80
111
  'fetchWithdrawal': False,
81
112
  'fetchWithdrawals': False,
82
113
  'reduceMargin': False,
114
+ 'repayCrossMargin': False,
115
+ 'repayIsolatedMargin': False,
116
+ 'repayMargin': False,
83
117
  'setLeverage': False,
118
+ 'setMargin': False,
84
119
  'setMarginMode': False,
85
120
  'setPositionMode': False,
86
121
  'transfer': False,
ccxt/btcmarkets.py CHANGED
@@ -35,17 +35,27 @@ class btcmarkets(Exchange, ImplicitAPI):
35
35
  'future': False,
36
36
  'option': False,
37
37
  'addMargin': False,
38
+ 'borrowCrossMargin': False,
39
+ 'borrowIsolatedMargin': False,
40
+ 'borrowMargin': False,
38
41
  'cancelOrder': True,
39
42
  'cancelOrders': True,
40
43
  'closeAllPositions': False,
41
44
  'closePosition': False,
42
45
  'createDepositAddress': False,
43
46
  'createOrder': True,
47
+ 'createOrderWithTakeProfitAndStopLoss': False,
48
+ 'createOrderWithTakeProfitAndStopLossWs': False,
49
+ 'createPostOnlyOrder': False,
44
50
  'createReduceOnlyOrder': False,
45
51
  'createTriggerOrder': True,
46
52
  'fetchBalance': True,
53
+ 'fetchBorrowInterest': False,
54
+ 'fetchBorrowRate': False,
47
55
  'fetchBorrowRateHistories': False,
48
56
  'fetchBorrowRateHistory': False,
57
+ 'fetchBorrowRates': False,
58
+ 'fetchBorrowRatesPerSymbol': False,
49
59
  'fetchClosedOrders': 'emulated',
50
60
  'fetchCrossBorrowRate': False,
51
61
  'fetchCrossBorrowRates': False,
@@ -55,20 +65,39 @@ class btcmarkets(Exchange, ImplicitAPI):
55
65
  'fetchDeposits': True,
56
66
  'fetchDepositsWithdrawals': True,
57
67
  'fetchFundingHistory': False,
68
+ 'fetchFundingInterval': False,
69
+ 'fetchFundingIntervals': False,
58
70
  'fetchFundingRate': False,
59
71
  'fetchFundingRateHistory': False,
60
72
  'fetchFundingRates': False,
73
+ 'fetchGreeks': False,
61
74
  'fetchIndexOHLCV': False,
62
75
  'fetchIsolatedBorrowRate': False,
63
76
  'fetchIsolatedBorrowRates': False,
77
+ 'fetchIsolatedPositions': False,
64
78
  'fetchLeverage': False,
79
+ 'fetchLeverages': False,
80
+ 'fetchLeverageTiers': False,
81
+ 'fetchLiquidations': False,
82
+ 'fetchLongShortRatio': False,
83
+ 'fetchLongShortRatioHistory': False,
84
+ 'fetchMarginAdjustmentHistory': False,
65
85
  'fetchMarginMode': False,
86
+ 'fetchMarginModes': False,
87
+ 'fetchMarketLeverageTiers': False,
66
88
  'fetchMarkets': True,
67
89
  'fetchMarkOHLCV': False,
90
+ 'fetchMarkPrices': False,
91
+ 'fetchMyLiquidations': False,
92
+ 'fetchMySettlementHistory': False,
68
93
  'fetchMyTrades': True,
69
94
  'fetchOHLCV': True,
95
+ 'fetchOpenInterest': False,
70
96
  'fetchOpenInterestHistory': False,
97
+ 'fetchOpenInterests': False,
71
98
  'fetchOpenOrders': True,
99
+ 'fetchOption': False,
100
+ 'fetchOptionChain': False,
72
101
  'fetchOrder': True,
73
102
  'fetchOrderBook': True,
74
103
  'fetchOrders': True,
@@ -80,13 +109,19 @@ class btcmarkets(Exchange, ImplicitAPI):
80
109
  'fetchPositionsHistory': False,
81
110
  'fetchPositionsRisk': False,
82
111
  'fetchPremiumIndexOHLCV': False,
112
+ 'fetchSettlementHistory': False,
83
113
  'fetchTicker': True,
84
114
  'fetchTime': True,
85
115
  'fetchTrades': True,
86
116
  'fetchTransactions': 'emulated',
117
+ 'fetchVolatilityHistory': False,
87
118
  'fetchWithdrawals': True,
88
119
  'reduceMargin': False,
120
+ 'repayCrossMargin': False,
121
+ 'repayIsolatedMargin': False,
122
+ 'repayMargin': False,
89
123
  'setLeverage': False,
124
+ 'setMargin': False,
90
125
  'setMarginMode': False,
91
126
  'setPositionMode': False,
92
127
  'withdraw': True,
ccxt/btcturk.py CHANGED
@@ -34,35 +34,64 @@ class btcturk(Exchange, ImplicitAPI):
34
34
  'future': False,
35
35
  'option': False,
36
36
  'addMargin': False,
37
+ 'borrowCrossMargin': False,
38
+ 'borrowIsolatedMargin': False,
39
+ 'borrowMargin': False,
37
40
  'cancelOrder': True,
38
41
  'closeAllPositions': False,
39
42
  'closePosition': False,
40
43
  'createDepositAddress': False,
41
44
  'createOrder': True,
45
+ 'createOrderWithTakeProfitAndStopLoss': False,
46
+ 'createOrderWithTakeProfitAndStopLossWs': False,
47
+ 'createPostOnlyOrder': False,
42
48
  'createReduceOnlyOrder': False,
43
49
  'fetchBalance': True,
50
+ 'fetchBorrowInterest': False,
51
+ 'fetchBorrowRate': False,
44
52
  'fetchBorrowRateHistories': False,
45
53
  'fetchBorrowRateHistory': False,
54
+ 'fetchBorrowRates': False,
55
+ 'fetchBorrowRatesPerSymbol': False,
46
56
  'fetchCrossBorrowRate': False,
47
57
  'fetchCrossBorrowRates': False,
48
58
  'fetchDepositAddress': False,
49
59
  'fetchDepositAddresses': False,
50
60
  'fetchDepositAddressesByNetwork': False,
51
61
  'fetchFundingHistory': False,
62
+ 'fetchFundingInterval': False,
63
+ 'fetchFundingIntervals': False,
52
64
  'fetchFundingRate': False,
53
65
  'fetchFundingRateHistory': False,
54
66
  'fetchFundingRates': False,
67
+ 'fetchGreeks': False,
55
68
  'fetchIndexOHLCV': False,
56
69
  'fetchIsolatedBorrowRate': False,
57
70
  'fetchIsolatedBorrowRates': False,
71
+ 'fetchIsolatedPositions': False,
58
72
  'fetchLeverage': False,
73
+ 'fetchLeverages': False,
74
+ 'fetchLeverageTiers': False,
75
+ 'fetchLiquidations': False,
76
+ 'fetchLongShortRatio': False,
77
+ 'fetchLongShortRatioHistory': False,
78
+ 'fetchMarginAdjustmentHistory': False,
59
79
  'fetchMarginMode': False,
80
+ 'fetchMarginModes': False,
81
+ 'fetchMarketLeverageTiers': False,
60
82
  'fetchMarkets': True,
61
83
  'fetchMarkOHLCV': False,
84
+ 'fetchMarkPrices': False,
85
+ 'fetchMyLiquidations': False,
86
+ 'fetchMySettlementHistory': False,
62
87
  'fetchMyTrades': True,
63
88
  'fetchOHLCV': True,
89
+ 'fetchOpenInterest': False,
64
90
  'fetchOpenInterestHistory': False,
91
+ 'fetchOpenInterests': False,
65
92
  'fetchOpenOrders': True,
93
+ 'fetchOption': False,
94
+ 'fetchOptionChain': False,
66
95
  'fetchOrderBook': True,
67
96
  'fetchOrders': True,
68
97
  'fetchPosition': False,
@@ -73,11 +102,17 @@ class btcturk(Exchange, ImplicitAPI):
73
102
  'fetchPositionsHistory': False,
74
103
  'fetchPositionsRisk': False,
75
104
  'fetchPremiumIndexOHLCV': False,
105
+ 'fetchSettlementHistory': False,
76
106
  'fetchTicker': True,
77
107
  'fetchTickers': True,
78
108
  'fetchTrades': True,
109
+ 'fetchVolatilityHistory': False,
79
110
  'reduceMargin': False,
111
+ 'repayCrossMargin': False,
112
+ 'repayIsolatedMargin': False,
113
+ 'repayMargin': False,
80
114
  'setLeverage': False,
115
+ 'setMargin': False,
81
116
  'setMarginMode': False,
82
117
  'setPositionMode': False,
83
118
  'ws': False,