ccxt 4.0.108__py2.py3-none-any.whl → 4.0.109__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.
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.0.108'
25
+ __version__ = '4.0.109'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.0.108'
7
+ __version__ = '4.0.109'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.0.108'
5
+ __version__ = '4.0.109'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -2469,8 +2469,6 @@ class bitfinex2(Exchange, ImplicitAPI):
2469
2469
  return None
2470
2470
  elif type.find('fee') >= 0 or type.find('charged') >= 0:
2471
2471
  return 'fee'
2472
- elif type.find('exchange') >= 0 or type.find('position') >= 0:
2473
- return 'trade'
2474
2472
  elif type.find('rebate') >= 0:
2475
2473
  return 'rebate'
2476
2474
  elif type.find('deposit') >= 0 or type.find('withdrawal') >= 0:
@@ -2479,6 +2477,8 @@ class bitfinex2(Exchange, ImplicitAPI):
2479
2477
  return 'transfer'
2480
2478
  elif type.find('payment') >= 0:
2481
2479
  return 'payout'
2480
+ elif type.find('exchange') >= 0 or type.find('position') >= 0:
2481
+ return 'trade'
2482
2482
  else:
2483
2483
  return type
2484
2484
 
@@ -151,6 +151,7 @@ class bitflyer(Exchange, ImplicitAPI):
151
151
  async def fetch_markets(self, params={}):
152
152
  """
153
153
  retrieves data on all markets for bitflyer
154
+ see https://lightning.bitflyer.com/docs?lang=en#market-list
154
155
  :param dict [params]: extra parameters specific to the exchange api endpoint
155
156
  :returns dict[]: an array of objects representing market data
156
157
  """
@@ -307,6 +308,7 @@ class bitflyer(Exchange, ImplicitAPI):
307
308
  async def fetch_balance(self, params={}):
308
309
  """
309
310
  query for balance and get the amount of funds available for trading or funds locked in orders
311
+ see https://lightning.bitflyer.com/docs?lang=en#get-account-asset-balance
310
312
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
311
313
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
312
314
  """
@@ -336,6 +338,7 @@ class bitflyer(Exchange, ImplicitAPI):
336
338
  async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
337
339
  """
338
340
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
341
+ see https://lightning.bitflyer.com/docs?lang=en#order-book
339
342
  :param str symbol: unified symbol of the market to fetch the order book for
340
343
  :param int [limit]: the maximum amount of order book entries to return
341
344
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
@@ -379,6 +382,7 @@ class bitflyer(Exchange, ImplicitAPI):
379
382
  async def fetch_ticker(self, symbol: str, params={}):
380
383
  """
381
384
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
385
+ see https://lightning.bitflyer.com/docs?lang=en#ticker
382
386
  :param str symbol: unified symbol of the market to fetch the ticker for
383
387
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
384
388
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -453,6 +457,7 @@ class bitflyer(Exchange, ImplicitAPI):
453
457
  async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
454
458
  """
455
459
  get the list of most recent trades for a particular symbol
460
+ see https://lightning.bitflyer.com/docs?lang=en#list-executions
456
461
  :param str symbol: unified symbol of the market to fetch trades for
457
462
  :param int [since]: timestamp in ms of the earliest trade to fetch
458
463
  :param int [limit]: the maximum amount of trades to fetch
@@ -485,6 +490,7 @@ class bitflyer(Exchange, ImplicitAPI):
485
490
  async def fetch_trading_fee(self, symbol: str, params={}):
486
491
  """
487
492
  fetch the trading fees for a market
493
+ see https://lightning.bitflyer.com/docs?lang=en#get-trading-commission
488
494
  :param str symbol: unified market symbol
489
495
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
490
496
  :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -511,6 +517,7 @@ class bitflyer(Exchange, ImplicitAPI):
511
517
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
512
518
  """
513
519
  create a trade order
520
+ see https://lightning.bitflyer.com/docs?lang=en#send-a-new-order
514
521
  :param str symbol: unified symbol of the market to create an order in
515
522
  :param str type: 'market' or 'limit'
516
523
  :param str side: 'buy' or 'sell'
@@ -538,6 +545,7 @@ class bitflyer(Exchange, ImplicitAPI):
538
545
  async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
539
546
  """
540
547
  cancels an open order
548
+ see https://lightning.bitflyer.com/docs?lang=en#cancel-order
541
549
  :param str id: order id
542
550
  :param str symbol: unified symbol of the market the order was made in
543
551
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
@@ -610,6 +618,7 @@ class bitflyer(Exchange, ImplicitAPI):
610
618
  async def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
611
619
  """
612
620
  fetches information on multiple orders made by the user
621
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
613
622
  :param str symbol: unified market symbol of the market orders were made in
614
623
  :param int [since]: the earliest time in ms to fetch orders for
615
624
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -633,6 +642,7 @@ class bitflyer(Exchange, ImplicitAPI):
633
642
  async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
634
643
  """
635
644
  fetch all unfilled currently open orders
645
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
636
646
  :param str symbol: unified market symbol
637
647
  :param int [since]: the earliest time in ms to fetch open orders for
638
648
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -647,6 +657,7 @@ class bitflyer(Exchange, ImplicitAPI):
647
657
  async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
648
658
  """
649
659
  fetches information on multiple closed orders made by the user
660
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
650
661
  :param str symbol: unified market symbol of the market orders were made in
651
662
  :param int [since]: the earliest time in ms to fetch orders for
652
663
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -661,6 +672,7 @@ class bitflyer(Exchange, ImplicitAPI):
661
672
  async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
662
673
  """
663
674
  fetches information on an order made by the user
675
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
664
676
  :param str symbol: unified symbol of the market the order was made in
665
677
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
666
678
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -676,6 +688,7 @@ class bitflyer(Exchange, ImplicitAPI):
676
688
  async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
677
689
  """
678
690
  fetch all trades made by the user
691
+ see https://lightning.bitflyer.com/docs?lang=en#list-executions
679
692
  :param str symbol: unified market symbol
680
693
  :param int [since]: the earliest time in ms to fetch trades for
681
694
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -711,6 +724,7 @@ class bitflyer(Exchange, ImplicitAPI):
711
724
  async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
712
725
  """
713
726
  fetch all open positions
727
+ see https://lightning.bitflyer.com/docs?lang=en#get-open-interest-summary
714
728
  :param str[] symbols: list of unified market symbols
715
729
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
716
730
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -745,6 +759,7 @@ class bitflyer(Exchange, ImplicitAPI):
745
759
  async def withdraw(self, code: str, amount, address, tag=None, params={}):
746
760
  """
747
761
  make a withdrawal
762
+ see https://lightning.bitflyer.com/docs?lang=en#withdrawing-funds
748
763
  :param str code: unified currency code
749
764
  :param float amount: the amount to withdraw
750
765
  :param str address: the address to withdraw to
@@ -773,6 +788,7 @@ class bitflyer(Exchange, ImplicitAPI):
773
788
  async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
774
789
  """
775
790
  fetch all deposits made to an account
791
+ see https://lightning.bitflyer.com/docs?lang=en#get-crypto-assets-deposit-history
776
792
  :param str code: unified currency code
777
793
  :param int [since]: the earliest time in ms to fetch deposits for
778
794
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -806,6 +822,7 @@ class bitflyer(Exchange, ImplicitAPI):
806
822
  async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
807
823
  """
808
824
  fetch all withdrawals made from an account
825
+ see https://lightning.bitflyer.com/docs?lang=en#get-crypto-assets-transaction-history
809
826
  :param str code: unified currency code
810
827
  :param int [since]: the earliest time in ms to fetch withdrawals for
811
828
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -1085,6 +1085,7 @@ class bitget(Exchange, ImplicitAPI):
1085
1085
  async def fetch_time(self, params={}):
1086
1086
  """
1087
1087
  fetches the current integer timestamp in milliseconds from the exchange server
1088
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-server-time
1088
1089
  :param dict [params]: extra parameters specific to the bitget api endpoint
1089
1090
  :returns int: the current integer timestamp in milliseconds from the exchange server
1090
1091
  """
@@ -1102,6 +1103,8 @@ class bitget(Exchange, ImplicitAPI):
1102
1103
  async def fetch_markets(self, params={}):
1103
1104
  """
1104
1105
  retrieves data on all markets for bitget
1106
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-symbols
1107
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-symbols
1105
1108
  :param dict [params]: extra parameters specific to the exchange api endpoint
1106
1109
  :returns dict[]: an array of objects representing market data
1107
1110
  """
@@ -1358,6 +1361,7 @@ class bitget(Exchange, ImplicitAPI):
1358
1361
  async def fetch_currencies(self, params={}):
1359
1362
  """
1360
1363
  fetches all available currencies on an exchange
1364
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
1361
1365
  :param dict [params]: extra parameters specific to the bitget api endpoint
1362
1366
  :returns dict: an associative dictionary of currencies
1363
1367
  """
@@ -1771,6 +1775,7 @@ class bitget(Exchange, ImplicitAPI):
1771
1775
  async def fetch_deposit_address(self, code: str, params={}):
1772
1776
  """
1773
1777
  fetch the deposit address for a currency associated with self account
1778
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-address
1774
1779
  :param str code: unified currency code
1775
1780
  :param dict [params]: extra parameters specific to the bitget api endpoint
1776
1781
  :returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
@@ -1825,6 +1830,8 @@ class bitget(Exchange, ImplicitAPI):
1825
1830
  async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
1826
1831
  """
1827
1832
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1833
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-depth
1834
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-depth
1828
1835
  :param str symbol: unified symbol of the market to fetch the order book for
1829
1836
  :param int [limit]: the maximum amount of order book entries to return
1830
1837
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -1977,6 +1984,8 @@ class bitget(Exchange, ImplicitAPI):
1977
1984
  async def fetch_ticker(self, symbol: str, params={}):
1978
1985
  """
1979
1986
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1987
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-single-ticker
1988
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-single-symbol-ticker
1980
1989
  :param str symbol: unified symbol of the market to fetch the ticker for
1981
1990
  :param dict [params]: extra parameters specific to the bitget api endpoint
1982
1991
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -2284,6 +2293,7 @@ class bitget(Exchange, ImplicitAPI):
2284
2293
  async def fetch_trading_fee(self, symbol: str, params={}):
2285
2294
  """
2286
2295
  fetch the trading fees for a market
2296
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-single-symbol
2287
2297
  :param str symbol: unified market symbol
2288
2298
  :param dict [params]: extra parameters specific to the bitget api endpoint
2289
2299
  :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -2320,6 +2330,7 @@ class bitget(Exchange, ImplicitAPI):
2320
2330
  async def fetch_trading_fees(self, params={}):
2321
2331
  """
2322
2332
  fetch the trading fees for multiple markets
2333
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-symbols
2323
2334
  :param dict [params]: extra parameters specific to the bitget api endpoint
2324
2335
  :returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
2325
2336
  """
@@ -2492,9 +2503,9 @@ class bitget(Exchange, ImplicitAPI):
2492
2503
 
2493
2504
  async def fetch_balance(self, params={}):
2494
2505
  """
2506
+ query for balance and get the amount of funds available for trading or funds locked in orders
2495
2507
  see https://bitgetlimited.github.io/apidoc/en/spot/#get-account-assets
2496
2508
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-account-list
2497
- query for balance and get the amount of funds available for trading or funds locked in orders
2498
2509
  :param dict [params]: extra parameters specific to the bitget api endpoint
2499
2510
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2500
2511
  """
@@ -2743,13 +2754,13 @@ class bitget(Exchange, ImplicitAPI):
2743
2754
 
2744
2755
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
2745
2756
  """
2757
+ create a trade order
2746
2758
  see https://bitgetlimited.github.io/apidoc/en/spot/#place-order
2747
2759
  see https://bitgetlimited.github.io/apidoc/en/spot/#place-plan-order
2748
2760
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-order
2749
2761
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-stop-order
2750
2762
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-position-tpsl
2751
2763
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-plan-order
2752
- create a trade order
2753
2764
  :param str symbol: unified symbol of the market to create an order in
2754
2765
  :param str type: 'market' or 'limit'
2755
2766
  :param str side: 'buy' or 'sell' or 'open_long' or 'open_short' or 'close_long' or 'close_short'
@@ -2905,6 +2916,10 @@ class bitget(Exchange, ImplicitAPI):
2905
2916
  async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
2906
2917
  """
2907
2918
  edit a trade order
2919
+ see https://bitgetlimited.github.io/apidoc/en/spot/#modify-plan-order
2920
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-plan-order
2921
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-plan-order-tpsl
2922
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-stop-order
2908
2923
  :param str id: cancel order id
2909
2924
  :param str symbol: unified symbol of the market to create an order in
2910
2925
  :param str type: 'market' or 'limit'
@@ -2992,6 +3007,10 @@ class bitget(Exchange, ImplicitAPI):
2992
3007
  async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
2993
3008
  """
2994
3009
  cancels an open order
3010
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-order
3011
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-plan-order
3012
+ see https://bitgetlimited.github.io/apidoc/en/mix/#cancel-order
3013
+ see https://bitgetlimited.github.io/apidoc/en/mix/#cancel-plan-order-tpsl
2995
3014
  :param str id: order id
2996
3015
  :param str symbol: unified symbol of the market the order was made in
2997
3016
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -3029,6 +3048,8 @@ class bitget(Exchange, ImplicitAPI):
3029
3048
  async def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
3030
3049
  """
3031
3050
  cancel multiple orders
3051
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-order-in-batch-v2-single-instruments
3052
+ see https://bitgetlimited.github.io/apidoc/en/mix/#batch-cancel-order
3032
3053
  :param str[] ids: order ids
3033
3054
  :param str symbol: unified market symbol, default is None
3034
3055
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -3154,6 +3175,8 @@ class bitget(Exchange, ImplicitAPI):
3154
3175
  async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
3155
3176
  """
3156
3177
  fetches information on an order made by the user
3178
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-order-details
3179
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-order-details
3157
3180
  :param str symbol: unified symbol of the market the order was made in
3158
3181
  :param dict [params]: extra parameters specific to the bitget api endpoint
3159
3182
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -3232,11 +3255,11 @@ class bitget(Exchange, ImplicitAPI):
3232
3255
 
3233
3256
  async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3234
3257
  """
3258
+ fetch all unfilled currently open orders
3235
3259
  see https://bitgetlimited.github.io/apidoc/en/spot/#get-order-list
3236
3260
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-open-order
3237
3261
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-plan-order-tpsl-list
3238
3262
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-open-order
3239
- fetch all unfilled currently open orders
3240
3263
  :param str symbol: unified market symbol
3241
3264
  :param int [since]: the earliest time in ms to fetch open orders for
3242
3265
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -3588,6 +3611,7 @@ class bitget(Exchange, ImplicitAPI):
3588
3611
  async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3589
3612
  """
3590
3613
  fetch the history of changes, actions done by the user or operations that altered balance of the user
3614
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-bills
3591
3615
  :param str code: unified currency code, default is None
3592
3616
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
3593
3617
  :param int [limit]: max number of ledger entrys to return, default is None
@@ -3722,6 +3746,8 @@ class bitget(Exchange, ImplicitAPI):
3722
3746
  async def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3723
3747
  """
3724
3748
  fetch all the trades made from a single order
3749
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-transaction-details
3750
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-order-fill-detail
3725
3751
  :param str id: order id
3726
3752
  :param str symbol: unified market symbol
3727
3753
  :param int [since]: the earliest time in ms to fetch trades for
@@ -3772,6 +3798,7 @@ class bitget(Exchange, ImplicitAPI):
3772
3798
  async def fetch_position(self, symbol: str, params={}):
3773
3799
  """
3774
3800
  fetch data on a single open contract trade position
3801
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-position-v2
3775
3802
  :param str symbol: unified market symbol of the market the position is held in, default is None
3776
3803
  :param dict [params]: extra parameters specific to the bitget api endpoint
3777
3804
  :returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -3819,6 +3846,8 @@ class bitget(Exchange, ImplicitAPI):
3819
3846
  async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
3820
3847
  """
3821
3848
  fetch all open positions
3849
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-position-v2
3850
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-history-position
3822
3851
  :param str[]|None symbols: list of unified market symbols
3823
3852
  :param dict [params]: extra parameters specific to the bitget api endpoint
3824
3853
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -4056,6 +4085,7 @@ class bitget(Exchange, ImplicitAPI):
4056
4085
  async def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4057
4086
  """
4058
4087
  fetches historical funding rate prices
4088
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-history-funding-rate
4059
4089
  :param str symbol: unified symbol of the market to fetch the funding rate history for
4060
4090
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
4061
4091
  :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
@@ -4108,6 +4138,7 @@ class bitget(Exchange, ImplicitAPI):
4108
4138
  async def fetch_funding_rate(self, symbol: str, params={}):
4109
4139
  """
4110
4140
  fetch the current funding rate
4141
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-current-funding-rate
4111
4142
  :param str symbol: unified market symbol
4112
4143
  :param dict [params]: extra parameters specific to the bitget api endpoint
4113
4144
  :returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
@@ -4301,6 +4332,7 @@ class bitget(Exchange, ImplicitAPI):
4301
4332
  async def reduce_margin(self, symbol: str, amount, params={}):
4302
4333
  """
4303
4334
  remove margin from a position
4335
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin
4304
4336
  :param str symbol: unified market symbol
4305
4337
  :param float amount: the amount of margin to remove
4306
4338
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4316,6 +4348,7 @@ class bitget(Exchange, ImplicitAPI):
4316
4348
  async def add_margin(self, symbol: str, amount, params={}):
4317
4349
  """
4318
4350
  add margin
4351
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin
4319
4352
  :param str symbol: unified market symbol
4320
4353
  :param float amount: amount of margin to add
4321
4354
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4329,6 +4362,7 @@ class bitget(Exchange, ImplicitAPI):
4329
4362
  async def fetch_leverage(self, symbol: str, params={}):
4330
4363
  """
4331
4364
  fetch the set leverage for a market
4365
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-single-account
4332
4366
  :param str symbol: unified market symbol
4333
4367
  :param dict [params]: extra parameters specific to the bitget api endpoint
4334
4368
  :returns dict: a `leverage structure <https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure>`
@@ -4371,6 +4405,7 @@ class bitget(Exchange, ImplicitAPI):
4371
4405
  async def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
4372
4406
  """
4373
4407
  set the level of leverage for a market
4408
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-leverage
4374
4409
  :param float leverage: the rate of leverage
4375
4410
  :param str symbol: unified market symbol
4376
4411
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4390,6 +4425,7 @@ class bitget(Exchange, ImplicitAPI):
4390
4425
  async def set_margin_mode(self, marginMode, symbol: Optional[str] = None, params={}):
4391
4426
  """
4392
4427
  set margin mode to 'cross' or 'isolated'
4428
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin-mode
4393
4429
  :param str marginMode: 'cross' or 'isolated'
4394
4430
  :param str symbol: unified market symbol
4395
4431
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4415,6 +4451,7 @@ class bitget(Exchange, ImplicitAPI):
4415
4451
  async def set_position_mode(self, hedged, symbol: Optional[str] = None, params={}):
4416
4452
  """
4417
4453
  set hedged to True or False for a market
4454
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-hold-mode
4418
4455
  :param bool hedged: set to True to use dualSidePosition
4419
4456
  :param str symbol: not used by bitget setPositionMode()
4420
4457
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -1887,7 +1887,7 @@ class bitmart(Exchange, ImplicitAPI):
1887
1887
  # "updateTime" : 1681701559408
1888
1888
  # }
1889
1889
  #
1890
- # swap: fetchOpenOrders
1890
+ # swap: fetchOrder, fetchOpenOrders
1891
1891
  #
1892
1892
  # {
1893
1893
  # "order_id": "230935812485489",
@@ -2369,26 +2369,89 @@ class bitmart(Exchange, ImplicitAPI):
2369
2369
 
2370
2370
  async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
2371
2371
  """
2372
+ fetches information on an order made by the user
2372
2373
  see https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
2373
2374
  see https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
2374
- fetches information on an order made by the user
2375
+ see https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
2376
+ :param str id: the id of the order
2375
2377
  :param str symbol: unified symbol of the market the order was made in
2376
2378
  :param dict [params]: extra parameters specific to the bitmart api endpoint
2377
- :param str [params.clientOrderId]: fetch the order by client order id instead of order id
2379
+ :param str [params.clientOrderId]: *spot* fetch the order by client order id instead of order id
2378
2380
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
2379
2381
  """
2380
2382
  await self.load_markets()
2381
2383
  request = {}
2382
- clientOrderId = self.safe_string(params, 'clientOrderId')
2383
- if not clientOrderId:
2384
- request['orderId'] = id
2384
+ type = None
2385
+ market = None
2385
2386
  response = None
2386
- if clientOrderId is not None:
2387
- response = await self.privatePostSpotV4QueryClientOrder(self.extend(request, params))
2388
- else:
2389
- response = await self.privatePostSpotV4QueryOrder(self.extend(request, params))
2387
+ if symbol is not None:
2388
+ market = self.market(symbol)
2389
+ type, params = self.handle_market_type_and_params('fetchOrder', market, params)
2390
+ if type == 'spot':
2391
+ clientOrderId = self.safe_string(params, 'clientOrderId')
2392
+ if not clientOrderId:
2393
+ request['orderId'] = id
2394
+ if clientOrderId is not None:
2395
+ response = await self.privatePostSpotV4QueryClientOrder(self.extend(request, params))
2396
+ else:
2397
+ response = await self.privatePostSpotV4QueryOrder(self.extend(request, params))
2398
+ elif type == 'swap':
2399
+ self.check_required_symbol('fetchOrder', symbol)
2400
+ request['symbol'] = market['id']
2401
+ request['order_id'] = id
2402
+ response = await self.privateGetContractPrivateOrder(self.extend(request, params))
2403
+ #
2404
+ # spot
2405
+ #
2406
+ # {
2407
+ # "code": 1000,
2408
+ # "message": "success",
2409
+ # "data": {
2410
+ # "orderId": "183347420821295423",
2411
+ # "clientOrderId": "183347420821295423",
2412
+ # "symbol": "BTC_USDT",
2413
+ # "side": "buy",
2414
+ # "orderMode": "spot",
2415
+ # "type": "limit",
2416
+ # "state": "new",
2417
+ # "price": "24000.00",
2418
+ # "priceAvg": "0.00",
2419
+ # "size": "0.00022",
2420
+ # "filledSize": "0.00000",
2421
+ # "notional": "5.28000000",
2422
+ # "filledNotional": "0.00000000",
2423
+ # "createTime": 1695783014734,
2424
+ # "updateTime": 1695783014762
2425
+ # },
2426
+ # "trace": "ce3e6422c8b44d5fag855348a68693ed.63.14957831547451715"
2427
+ # }
2428
+ #
2429
+ # swap
2430
+ #
2431
+ # {
2432
+ # "code": 1000,
2433
+ # "message": "Ok",
2434
+ # "data": {
2435
+ # "order_id": "230927283405028",
2436
+ # "client_order_id": "",
2437
+ # "price": "23000",
2438
+ # "size": "1",
2439
+ # "symbol": "BTCUSDT",
2440
+ # "state": 2,
2441
+ # "side": 1,
2442
+ # "type": "limit",
2443
+ # "leverage": "10",
2444
+ # "open_type": "isolated",
2445
+ # "deal_avg_price": "0",
2446
+ # "deal_size": "0",
2447
+ # "create_time": 1695783433600,
2448
+ # "update_time": 1695783433613
2449
+ # },
2450
+ # "trace": "4cad855075664097af6ba5257c47605d.63.14957831547451715"
2451
+ # }
2452
+ #
2390
2453
  data = self.safe_value(response, 'data', {})
2391
- return self.parse_order(data, None)
2454
+ return self.parse_order(data, market)
2392
2455
 
2393
2456
  async def fetch_deposit_address(self, code: str, params={}):
2394
2457
  """
ccxt/base/exchange.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.0.108'
7
+ __version__ = '4.0.109'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
ccxt/bitfinex2.py CHANGED
@@ -2469,8 +2469,6 @@ class bitfinex2(Exchange, ImplicitAPI):
2469
2469
  return None
2470
2470
  elif type.find('fee') >= 0 or type.find('charged') >= 0:
2471
2471
  return 'fee'
2472
- elif type.find('exchange') >= 0 or type.find('position') >= 0:
2473
- return 'trade'
2474
2472
  elif type.find('rebate') >= 0:
2475
2473
  return 'rebate'
2476
2474
  elif type.find('deposit') >= 0 or type.find('withdrawal') >= 0:
@@ -2479,6 +2477,8 @@ class bitfinex2(Exchange, ImplicitAPI):
2479
2477
  return 'transfer'
2480
2478
  elif type.find('payment') >= 0:
2481
2479
  return 'payout'
2480
+ elif type.find('exchange') >= 0 or type.find('position') >= 0:
2481
+ return 'trade'
2482
2482
  else:
2483
2483
  return type
2484
2484
 
ccxt/bitflyer.py CHANGED
@@ -151,6 +151,7 @@ class bitflyer(Exchange, ImplicitAPI):
151
151
  def fetch_markets(self, params={}):
152
152
  """
153
153
  retrieves data on all markets for bitflyer
154
+ see https://lightning.bitflyer.com/docs?lang=en#market-list
154
155
  :param dict [params]: extra parameters specific to the exchange api endpoint
155
156
  :returns dict[]: an array of objects representing market data
156
157
  """
@@ -307,6 +308,7 @@ class bitflyer(Exchange, ImplicitAPI):
307
308
  def fetch_balance(self, params={}):
308
309
  """
309
310
  query for balance and get the amount of funds available for trading or funds locked in orders
311
+ see https://lightning.bitflyer.com/docs?lang=en#get-account-asset-balance
310
312
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
311
313
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
312
314
  """
@@ -336,6 +338,7 @@ class bitflyer(Exchange, ImplicitAPI):
336
338
  def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
337
339
  """
338
340
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
341
+ see https://lightning.bitflyer.com/docs?lang=en#order-book
339
342
  :param str symbol: unified symbol of the market to fetch the order book for
340
343
  :param int [limit]: the maximum amount of order book entries to return
341
344
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
@@ -379,6 +382,7 @@ class bitflyer(Exchange, ImplicitAPI):
379
382
  def fetch_ticker(self, symbol: str, params={}):
380
383
  """
381
384
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
385
+ see https://lightning.bitflyer.com/docs?lang=en#ticker
382
386
  :param str symbol: unified symbol of the market to fetch the ticker for
383
387
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
384
388
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -453,6 +457,7 @@ class bitflyer(Exchange, ImplicitAPI):
453
457
  def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
454
458
  """
455
459
  get the list of most recent trades for a particular symbol
460
+ see https://lightning.bitflyer.com/docs?lang=en#list-executions
456
461
  :param str symbol: unified symbol of the market to fetch trades for
457
462
  :param int [since]: timestamp in ms of the earliest trade to fetch
458
463
  :param int [limit]: the maximum amount of trades to fetch
@@ -485,6 +490,7 @@ class bitflyer(Exchange, ImplicitAPI):
485
490
  def fetch_trading_fee(self, symbol: str, params={}):
486
491
  """
487
492
  fetch the trading fees for a market
493
+ see https://lightning.bitflyer.com/docs?lang=en#get-trading-commission
488
494
  :param str symbol: unified market symbol
489
495
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
490
496
  :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -511,6 +517,7 @@ class bitflyer(Exchange, ImplicitAPI):
511
517
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
512
518
  """
513
519
  create a trade order
520
+ see https://lightning.bitflyer.com/docs?lang=en#send-a-new-order
514
521
  :param str symbol: unified symbol of the market to create an order in
515
522
  :param str type: 'market' or 'limit'
516
523
  :param str side: 'buy' or 'sell'
@@ -538,6 +545,7 @@ class bitflyer(Exchange, ImplicitAPI):
538
545
  def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
539
546
  """
540
547
  cancels an open order
548
+ see https://lightning.bitflyer.com/docs?lang=en#cancel-order
541
549
  :param str id: order id
542
550
  :param str symbol: unified symbol of the market the order was made in
543
551
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
@@ -610,6 +618,7 @@ class bitflyer(Exchange, ImplicitAPI):
610
618
  def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
611
619
  """
612
620
  fetches information on multiple orders made by the user
621
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
613
622
  :param str symbol: unified market symbol of the market orders were made in
614
623
  :param int [since]: the earliest time in ms to fetch orders for
615
624
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -633,6 +642,7 @@ class bitflyer(Exchange, ImplicitAPI):
633
642
  def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
634
643
  """
635
644
  fetch all unfilled currently open orders
645
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
636
646
  :param str symbol: unified market symbol
637
647
  :param int [since]: the earliest time in ms to fetch open orders for
638
648
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -647,6 +657,7 @@ class bitflyer(Exchange, ImplicitAPI):
647
657
  def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit=100, params={}):
648
658
  """
649
659
  fetches information on multiple closed orders made by the user
660
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
650
661
  :param str symbol: unified market symbol of the market orders were made in
651
662
  :param int [since]: the earliest time in ms to fetch orders for
652
663
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -661,6 +672,7 @@ class bitflyer(Exchange, ImplicitAPI):
661
672
  def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
662
673
  """
663
674
  fetches information on an order made by the user
675
+ see https://lightning.bitflyer.com/docs?lang=en#list-orders
664
676
  :param str symbol: unified symbol of the market the order was made in
665
677
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
666
678
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -676,6 +688,7 @@ class bitflyer(Exchange, ImplicitAPI):
676
688
  def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
677
689
  """
678
690
  fetch all trades made by the user
691
+ see https://lightning.bitflyer.com/docs?lang=en#list-executions
679
692
  :param str symbol: unified market symbol
680
693
  :param int [since]: the earliest time in ms to fetch trades for
681
694
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -711,6 +724,7 @@ class bitflyer(Exchange, ImplicitAPI):
711
724
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
712
725
  """
713
726
  fetch all open positions
727
+ see https://lightning.bitflyer.com/docs?lang=en#get-open-interest-summary
714
728
  :param str[] symbols: list of unified market symbols
715
729
  :param dict [params]: extra parameters specific to the bitflyer api endpoint
716
730
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -745,6 +759,7 @@ class bitflyer(Exchange, ImplicitAPI):
745
759
  def withdraw(self, code: str, amount, address, tag=None, params={}):
746
760
  """
747
761
  make a withdrawal
762
+ see https://lightning.bitflyer.com/docs?lang=en#withdrawing-funds
748
763
  :param str code: unified currency code
749
764
  :param float amount: the amount to withdraw
750
765
  :param str address: the address to withdraw to
@@ -773,6 +788,7 @@ class bitflyer(Exchange, ImplicitAPI):
773
788
  def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
774
789
  """
775
790
  fetch all deposits made to an account
791
+ see https://lightning.bitflyer.com/docs?lang=en#get-crypto-assets-deposit-history
776
792
  :param str code: unified currency code
777
793
  :param int [since]: the earliest time in ms to fetch deposits for
778
794
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -806,6 +822,7 @@ class bitflyer(Exchange, ImplicitAPI):
806
822
  def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
807
823
  """
808
824
  fetch all withdrawals made from an account
825
+ see https://lightning.bitflyer.com/docs?lang=en#get-crypto-assets-transaction-history
809
826
  :param str code: unified currency code
810
827
  :param int [since]: the earliest time in ms to fetch withdrawals for
811
828
  :param int [limit]: the maximum number of withdrawals structures to retrieve
ccxt/bitget.py CHANGED
@@ -1084,6 +1084,7 @@ class bitget(Exchange, ImplicitAPI):
1084
1084
  def fetch_time(self, params={}):
1085
1085
  """
1086
1086
  fetches the current integer timestamp in milliseconds from the exchange server
1087
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-server-time
1087
1088
  :param dict [params]: extra parameters specific to the bitget api endpoint
1088
1089
  :returns int: the current integer timestamp in milliseconds from the exchange server
1089
1090
  """
@@ -1101,6 +1102,8 @@ class bitget(Exchange, ImplicitAPI):
1101
1102
  def fetch_markets(self, params={}):
1102
1103
  """
1103
1104
  retrieves data on all markets for bitget
1105
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-symbols
1106
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-symbols
1104
1107
  :param dict [params]: extra parameters specific to the exchange api endpoint
1105
1108
  :returns dict[]: an array of objects representing market data
1106
1109
  """
@@ -1357,6 +1360,7 @@ class bitget(Exchange, ImplicitAPI):
1357
1360
  def fetch_currencies(self, params={}):
1358
1361
  """
1359
1362
  fetches all available currencies on an exchange
1363
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
1360
1364
  :param dict [params]: extra parameters specific to the bitget api endpoint
1361
1365
  :returns dict: an associative dictionary of currencies
1362
1366
  """
@@ -1770,6 +1774,7 @@ class bitget(Exchange, ImplicitAPI):
1770
1774
  def fetch_deposit_address(self, code: str, params={}):
1771
1775
  """
1772
1776
  fetch the deposit address for a currency associated with self account
1777
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-address
1773
1778
  :param str code: unified currency code
1774
1779
  :param dict [params]: extra parameters specific to the bitget api endpoint
1775
1780
  :returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
@@ -1824,6 +1829,8 @@ class bitget(Exchange, ImplicitAPI):
1824
1829
  def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
1825
1830
  """
1826
1831
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1832
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-depth
1833
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-depth
1827
1834
  :param str symbol: unified symbol of the market to fetch the order book for
1828
1835
  :param int [limit]: the maximum amount of order book entries to return
1829
1836
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -1976,6 +1983,8 @@ class bitget(Exchange, ImplicitAPI):
1976
1983
  def fetch_ticker(self, symbol: str, params={}):
1977
1984
  """
1978
1985
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1986
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-single-ticker
1987
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-single-symbol-ticker
1979
1988
  :param str symbol: unified symbol of the market to fetch the ticker for
1980
1989
  :param dict [params]: extra parameters specific to the bitget api endpoint
1981
1990
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -2283,6 +2292,7 @@ class bitget(Exchange, ImplicitAPI):
2283
2292
  def fetch_trading_fee(self, symbol: str, params={}):
2284
2293
  """
2285
2294
  fetch the trading fees for a market
2295
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-single-symbol
2286
2296
  :param str symbol: unified market symbol
2287
2297
  :param dict [params]: extra parameters specific to the bitget api endpoint
2288
2298
  :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -2319,6 +2329,7 @@ class bitget(Exchange, ImplicitAPI):
2319
2329
  def fetch_trading_fees(self, params={}):
2320
2330
  """
2321
2331
  fetch the trading fees for multiple markets
2332
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-symbols
2322
2333
  :param dict [params]: extra parameters specific to the bitget api endpoint
2323
2334
  :returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
2324
2335
  """
@@ -2491,9 +2502,9 @@ class bitget(Exchange, ImplicitAPI):
2491
2502
 
2492
2503
  def fetch_balance(self, params={}):
2493
2504
  """
2505
+ query for balance and get the amount of funds available for trading or funds locked in orders
2494
2506
  see https://bitgetlimited.github.io/apidoc/en/spot/#get-account-assets
2495
2507
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-account-list
2496
- query for balance and get the amount of funds available for trading or funds locked in orders
2497
2508
  :param dict [params]: extra parameters specific to the bitget api endpoint
2498
2509
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2499
2510
  """
@@ -2742,13 +2753,13 @@ class bitget(Exchange, ImplicitAPI):
2742
2753
 
2743
2754
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
2744
2755
  """
2756
+ create a trade order
2745
2757
  see https://bitgetlimited.github.io/apidoc/en/spot/#place-order
2746
2758
  see https://bitgetlimited.github.io/apidoc/en/spot/#place-plan-order
2747
2759
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-order
2748
2760
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-stop-order
2749
2761
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-position-tpsl
2750
2762
  see https://bitgetlimited.github.io/apidoc/en/mix/#place-plan-order
2751
- create a trade order
2752
2763
  :param str symbol: unified symbol of the market to create an order in
2753
2764
  :param str type: 'market' or 'limit'
2754
2765
  :param str side: 'buy' or 'sell' or 'open_long' or 'open_short' or 'close_long' or 'close_short'
@@ -2904,6 +2915,10 @@ class bitget(Exchange, ImplicitAPI):
2904
2915
  def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
2905
2916
  """
2906
2917
  edit a trade order
2918
+ see https://bitgetlimited.github.io/apidoc/en/spot/#modify-plan-order
2919
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-plan-order
2920
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-plan-order-tpsl
2921
+ see https://bitgetlimited.github.io/apidoc/en/mix/#modify-stop-order
2907
2922
  :param str id: cancel order id
2908
2923
  :param str symbol: unified symbol of the market to create an order in
2909
2924
  :param str type: 'market' or 'limit'
@@ -2991,6 +3006,10 @@ class bitget(Exchange, ImplicitAPI):
2991
3006
  def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
2992
3007
  """
2993
3008
  cancels an open order
3009
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-order
3010
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-plan-order
3011
+ see https://bitgetlimited.github.io/apidoc/en/mix/#cancel-order
3012
+ see https://bitgetlimited.github.io/apidoc/en/mix/#cancel-plan-order-tpsl
2994
3013
  :param str id: order id
2995
3014
  :param str symbol: unified symbol of the market the order was made in
2996
3015
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -3028,6 +3047,8 @@ class bitget(Exchange, ImplicitAPI):
3028
3047
  def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
3029
3048
  """
3030
3049
  cancel multiple orders
3050
+ see https://bitgetlimited.github.io/apidoc/en/spot/#cancel-order-in-batch-v2-single-instruments
3051
+ see https://bitgetlimited.github.io/apidoc/en/mix/#batch-cancel-order
3031
3052
  :param str[] ids: order ids
3032
3053
  :param str symbol: unified market symbol, default is None
3033
3054
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -3153,6 +3174,8 @@ class bitget(Exchange, ImplicitAPI):
3153
3174
  def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
3154
3175
  """
3155
3176
  fetches information on an order made by the user
3177
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-order-details
3178
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-order-details
3156
3179
  :param str symbol: unified symbol of the market the order was made in
3157
3180
  :param dict [params]: extra parameters specific to the bitget api endpoint
3158
3181
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -3231,11 +3254,11 @@ class bitget(Exchange, ImplicitAPI):
3231
3254
 
3232
3255
  def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3233
3256
  """
3257
+ fetch all unfilled currently open orders
3234
3258
  see https://bitgetlimited.github.io/apidoc/en/spot/#get-order-list
3235
3259
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-open-order
3236
3260
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-plan-order-tpsl-list
3237
3261
  see https://bitgetlimited.github.io/apidoc/en/mix/#get-open-order
3238
- fetch all unfilled currently open orders
3239
3262
  :param str symbol: unified market symbol
3240
3263
  :param int [since]: the earliest time in ms to fetch open orders for
3241
3264
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -3587,6 +3610,7 @@ class bitget(Exchange, ImplicitAPI):
3587
3610
  def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3588
3611
  """
3589
3612
  fetch the history of changes, actions done by the user or operations that altered balance of the user
3613
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-bills
3590
3614
  :param str code: unified currency code, default is None
3591
3615
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
3592
3616
  :param int [limit]: max number of ledger entrys to return, default is None
@@ -3721,6 +3745,8 @@ class bitget(Exchange, ImplicitAPI):
3721
3745
  def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3722
3746
  """
3723
3747
  fetch all the trades made from a single order
3748
+ see https://bitgetlimited.github.io/apidoc/en/spot/#get-transaction-details
3749
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-order-fill-detail
3724
3750
  :param str id: order id
3725
3751
  :param str symbol: unified market symbol
3726
3752
  :param int [since]: the earliest time in ms to fetch trades for
@@ -3771,6 +3797,7 @@ class bitget(Exchange, ImplicitAPI):
3771
3797
  def fetch_position(self, symbol: str, params={}):
3772
3798
  """
3773
3799
  fetch data on a single open contract trade position
3800
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-symbol-position-v2
3774
3801
  :param str symbol: unified market symbol of the market the position is held in, default is None
3775
3802
  :param dict [params]: extra parameters specific to the bitget api endpoint
3776
3803
  :returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -3818,6 +3845,8 @@ class bitget(Exchange, ImplicitAPI):
3818
3845
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
3819
3846
  """
3820
3847
  fetch all open positions
3848
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-position-v2
3849
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-history-position
3821
3850
  :param str[]|None symbols: list of unified market symbols
3822
3851
  :param dict [params]: extra parameters specific to the bitget api endpoint
3823
3852
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -4055,6 +4084,7 @@ class bitget(Exchange, ImplicitAPI):
4055
4084
  def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4056
4085
  """
4057
4086
  fetches historical funding rate prices
4087
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-history-funding-rate
4058
4088
  :param str symbol: unified symbol of the market to fetch the funding rate history for
4059
4089
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
4060
4090
  :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
@@ -4107,6 +4137,7 @@ class bitget(Exchange, ImplicitAPI):
4107
4137
  def fetch_funding_rate(self, symbol: str, params={}):
4108
4138
  """
4109
4139
  fetch the current funding rate
4140
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-current-funding-rate
4110
4141
  :param str symbol: unified market symbol
4111
4142
  :param dict [params]: extra parameters specific to the bitget api endpoint
4112
4143
  :returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
@@ -4300,6 +4331,7 @@ class bitget(Exchange, ImplicitAPI):
4300
4331
  def reduce_margin(self, symbol: str, amount, params={}):
4301
4332
  """
4302
4333
  remove margin from a position
4334
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin
4303
4335
  :param str symbol: unified market symbol
4304
4336
  :param float amount: the amount of margin to remove
4305
4337
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4315,6 +4347,7 @@ class bitget(Exchange, ImplicitAPI):
4315
4347
  def add_margin(self, symbol: str, amount, params={}):
4316
4348
  """
4317
4349
  add margin
4350
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin
4318
4351
  :param str symbol: unified market symbol
4319
4352
  :param float amount: amount of margin to add
4320
4353
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4328,6 +4361,7 @@ class bitget(Exchange, ImplicitAPI):
4328
4361
  def fetch_leverage(self, symbol: str, params={}):
4329
4362
  """
4330
4363
  fetch the set leverage for a market
4364
+ see https://bitgetlimited.github.io/apidoc/en/mix/#get-single-account
4331
4365
  :param str symbol: unified market symbol
4332
4366
  :param dict [params]: extra parameters specific to the bitget api endpoint
4333
4367
  :returns dict: a `leverage structure <https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure>`
@@ -4370,6 +4404,7 @@ class bitget(Exchange, ImplicitAPI):
4370
4404
  def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
4371
4405
  """
4372
4406
  set the level of leverage for a market
4407
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-leverage
4373
4408
  :param float leverage: the rate of leverage
4374
4409
  :param str symbol: unified market symbol
4375
4410
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4389,6 +4424,7 @@ class bitget(Exchange, ImplicitAPI):
4389
4424
  def set_margin_mode(self, marginMode, symbol: Optional[str] = None, params={}):
4390
4425
  """
4391
4426
  set margin mode to 'cross' or 'isolated'
4427
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-margin-mode
4392
4428
  :param str marginMode: 'cross' or 'isolated'
4393
4429
  :param str symbol: unified market symbol
4394
4430
  :param dict [params]: extra parameters specific to the bitget api endpoint
@@ -4414,6 +4450,7 @@ class bitget(Exchange, ImplicitAPI):
4414
4450
  def set_position_mode(self, hedged, symbol: Optional[str] = None, params={}):
4415
4451
  """
4416
4452
  set hedged to True or False for a market
4453
+ see https://bitgetlimited.github.io/apidoc/en/mix/#change-hold-mode
4417
4454
  :param bool hedged: set to True to use dualSidePosition
4418
4455
  :param str symbol: not used by bitget setPositionMode()
4419
4456
  :param dict [params]: extra parameters specific to the bitget api endpoint
ccxt/bitmart.py CHANGED
@@ -1887,7 +1887,7 @@ class bitmart(Exchange, ImplicitAPI):
1887
1887
  # "updateTime" : 1681701559408
1888
1888
  # }
1889
1889
  #
1890
- # swap: fetchOpenOrders
1890
+ # swap: fetchOrder, fetchOpenOrders
1891
1891
  #
1892
1892
  # {
1893
1893
  # "order_id": "230935812485489",
@@ -2369,26 +2369,89 @@ class bitmart(Exchange, ImplicitAPI):
2369
2369
 
2370
2370
  def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
2371
2371
  """
2372
+ fetches information on an order made by the user
2372
2373
  see https://developer-pro.bitmart.com/en/spot/#query-order-by-id-v4-signed
2373
2374
  see https://developer-pro.bitmart.com/en/spot/#query-order-by-clientorderid-v4-signed
2374
- fetches information on an order made by the user
2375
+ see https://developer-pro.bitmart.com/en/futures/#get-order-detail-keyed
2376
+ :param str id: the id of the order
2375
2377
  :param str symbol: unified symbol of the market the order was made in
2376
2378
  :param dict [params]: extra parameters specific to the bitmart api endpoint
2377
- :param str [params.clientOrderId]: fetch the order by client order id instead of order id
2379
+ :param str [params.clientOrderId]: *spot* fetch the order by client order id instead of order id
2378
2380
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
2379
2381
  """
2380
2382
  self.load_markets()
2381
2383
  request = {}
2382
- clientOrderId = self.safe_string(params, 'clientOrderId')
2383
- if not clientOrderId:
2384
- request['orderId'] = id
2384
+ type = None
2385
+ market = None
2385
2386
  response = None
2386
- if clientOrderId is not None:
2387
- response = self.privatePostSpotV4QueryClientOrder(self.extend(request, params))
2388
- else:
2389
- response = self.privatePostSpotV4QueryOrder(self.extend(request, params))
2387
+ if symbol is not None:
2388
+ market = self.market(symbol)
2389
+ type, params = self.handle_market_type_and_params('fetchOrder', market, params)
2390
+ if type == 'spot':
2391
+ clientOrderId = self.safe_string(params, 'clientOrderId')
2392
+ if not clientOrderId:
2393
+ request['orderId'] = id
2394
+ if clientOrderId is not None:
2395
+ response = self.privatePostSpotV4QueryClientOrder(self.extend(request, params))
2396
+ else:
2397
+ response = self.privatePostSpotV4QueryOrder(self.extend(request, params))
2398
+ elif type == 'swap':
2399
+ self.check_required_symbol('fetchOrder', symbol)
2400
+ request['symbol'] = market['id']
2401
+ request['order_id'] = id
2402
+ response = self.privateGetContractPrivateOrder(self.extend(request, params))
2403
+ #
2404
+ # spot
2405
+ #
2406
+ # {
2407
+ # "code": 1000,
2408
+ # "message": "success",
2409
+ # "data": {
2410
+ # "orderId": "183347420821295423",
2411
+ # "clientOrderId": "183347420821295423",
2412
+ # "symbol": "BTC_USDT",
2413
+ # "side": "buy",
2414
+ # "orderMode": "spot",
2415
+ # "type": "limit",
2416
+ # "state": "new",
2417
+ # "price": "24000.00",
2418
+ # "priceAvg": "0.00",
2419
+ # "size": "0.00022",
2420
+ # "filledSize": "0.00000",
2421
+ # "notional": "5.28000000",
2422
+ # "filledNotional": "0.00000000",
2423
+ # "createTime": 1695783014734,
2424
+ # "updateTime": 1695783014762
2425
+ # },
2426
+ # "trace": "ce3e6422c8b44d5fag855348a68693ed.63.14957831547451715"
2427
+ # }
2428
+ #
2429
+ # swap
2430
+ #
2431
+ # {
2432
+ # "code": 1000,
2433
+ # "message": "Ok",
2434
+ # "data": {
2435
+ # "order_id": "230927283405028",
2436
+ # "client_order_id": "",
2437
+ # "price": "23000",
2438
+ # "size": "1",
2439
+ # "symbol": "BTCUSDT",
2440
+ # "state": 2,
2441
+ # "side": 1,
2442
+ # "type": "limit",
2443
+ # "leverage": "10",
2444
+ # "open_type": "isolated",
2445
+ # "deal_avg_price": "0",
2446
+ # "deal_size": "0",
2447
+ # "create_time": 1695783433600,
2448
+ # "update_time": 1695783433613
2449
+ # },
2450
+ # "trace": "4cad855075664097af6ba5257c47605d.63.14957831547451715"
2451
+ # }
2452
+ #
2390
2453
  data = self.safe_value(response, 'data', {})
2391
- return self.parse_order(data, None)
2454
+ return self.parse_order(data, market)
2392
2455
 
2393
2456
  def fetch_deposit_address(self, code: str, params={}):
2394
2457
  """
ccxt/pro/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.0.108'
7
+ __version__ = '4.0.109'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.0.108
3
+ Version: 4.0.109
4
4
  Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
5
5
  Home-page: https://ccxt.com
6
6
  Author: Igor Kroitor
@@ -258,13 +258,13 @@ console.log(version, Object.keys(exchanges));
258
258
 
259
259
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
260
260
 
261
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.108/dist/ccxt.browser.js
262
- * unpkg: https://unpkg.com/ccxt@4.0.108/dist/ccxt.browser.js
261
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.109/dist/ccxt.browser.js
262
+ * unpkg: https://unpkg.com/ccxt@4.0.109/dist/ccxt.browser.js
263
263
 
264
264
  CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
265
265
 
266
266
  ```HTML
267
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.0.108/dist/ccxt.browser.js"></script>
267
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.0.109/dist/ccxt.browser.js"></script>
268
268
  ```
269
269
 
270
270
  Creates a global `ccxt` object:
@@ -1,4 +1,4 @@
1
- ccxt/__init__.py,sha256=JDkjiG_IS1eGKI5MbgyYk2wqZdPHXmWJv1tTA0xvY30,15510
1
+ ccxt/__init__.py,sha256=o7TaK9wfnn1aN6qnGC0unjnlmCIbA0ifJEgx08uAncI,15510
2
2
  ccxt/ace.py,sha256=Xisv0lJgU05Ir1H00uwBDsBC7H6-1Qdv7x2qKgVv64Y,41499
3
3
  ccxt/alpaca.py,sha256=H7GYF2I-ci7WgtFHG3G74vGL8qbfIYkFI5EJrnrGWdA,33648
4
4
  ccxt/ascendex.py,sha256=01s6du4Jb3KA_iJi-_RDzYnUzApyB60Z7FnstNQLbV0,132963
@@ -15,12 +15,12 @@ ccxt/bitbay.py,sha256=xAIjzGRDVGwoy-Gygd99H0YN4wiaz_0lR0Z14oxaaxc,478
15
15
  ccxt/bitbns.py,sha256=TPKOIFsUT-J2yCsY852h6UjIrypjGQO1RU-V8h6J-i4,46126
16
16
  ccxt/bitcoincom.py,sha256=PyWIl4nC4jp5Uba2lI1At0N_hhNyWD0DoZC_MSyL_s4,502
17
17
  ccxt/bitfinex.py,sha256=3cXEYE2fIrrxwzr4WIXkt2PaeieXJ7aJoz__J-gm660,69726
18
- ccxt/bitfinex2.py,sha256=jf-QpXi6lZCQ0SXy21oAgG1yOywFF5BKec3zoOB4baY,125551
19
- ccxt/bitflyer.py,sha256=FSekIxCgCv2LkMR7qD5dhxIl3yhfEBR7CoVBuatHylg,38908
18
+ ccxt/bitfinex2.py,sha256=M2XyzQAaxGQubdiZJiB05ghMRiLIDHlgIwoVrn9hfFQ,125551
19
+ ccxt/bitflyer.py,sha256=_9Sx4v_I_2BsP3lCDWXYen-ElWfcFQdVn0qkz_9m3DU,40165
20
20
  ccxt/bitforex.py,sha256=UP5UluKnDzFoEaAMse9mz8vKHQBndgbW99CT1r1qUCI,32527
21
- ccxt/bitget.py,sha256=HED1hKPyW1sCT_DbCrN0Lpgf3uH0vdKerMzUtkvkqEs,241391
21
+ ccxt/bitget.py,sha256=HpTflSiim_tuexkc4mj__b2xstBUYT9J-Hl3GTk6brY,244269
22
22
  ccxt/bithumb.py,sha256=dyl82al-skvUyV9FYcvqQ9-7rwhl1W8WPh6VE7sNwss,43074
23
- ccxt/bitmart.py,sha256=vRBP8qRTGbH62N--kiHf5-0NEEi4YFWnQ_qY08tnlMc,158543
23
+ ccxt/bitmart.py,sha256=GgtAO8oH11H08yPL1sddvJLGC_A1INmXp5CcjblZutQ,161043
24
24
  ccxt/bitmex.py,sha256=dkFQqdfd_oqN0U7sPIp0v0l8aiOH2i6PEnd8JFY2qR8,112072
25
25
  ccxt/bitopro.py,sha256=R7OkzgezCpqGNOjjbY11XoG5TxMhdy5igS6COMeBOfM,65937
26
26
  ccxt/bitpanda.py,sha256=OIFHYnE0bl7ri0qvhdBBBRB8nXcdYI4jyCrP7Mai39U,88146
@@ -212,7 +212,7 @@ ccxt/abstract/woo.py,sha256=Z3ua45hKE0Tf9rtfSEYYgGEztaTO1Ri3mKl_hIo3OHs,8768
212
212
  ccxt/abstract/yobit.py,sha256=8ycfCO8ORFly9hc0Aa47sZyX4_ZKPXS9h9yJzI-uQ7Q,1339
213
213
  ccxt/abstract/zaif.py,sha256=m15WHdl3gYy0GOXNZ8NEH8eE7sVh8c0T_ITNuU8vXeU,3935
214
214
  ccxt/abstract/zonda.py,sha256=VoxuPkSq8vAvKnDvOqnByhwsIf09m7yIrs8HejFrDk4,5482
215
- ccxt/async_support/__init__.py,sha256=c0KzJGf_7KH9oSUcZbj4whGD6nAKh2VJKdaroRgWZlI,15283
215
+ ccxt/async_support/__init__.py,sha256=Fiju1w9seUdgdqXJuQw3Jp0A0b-Z7r_ry2bHwLjTzZc,15283
216
216
  ccxt/async_support/ace.py,sha256=GfB1wI9oK_nmj2IH-J1KYXkg8qjzWlWK7SaMuZCWRdk,41723
217
217
  ccxt/async_support/alpaca.py,sha256=frGPbeZHd2nEN9Q45phgnNOmU4Brh9e_FgDEEFnRyVM,33794
218
218
  ccxt/async_support/ascendex.py,sha256=Cv4Okc5hRD23CVReRIT9vrI_4hWtvTyOWts5XXohW_c,133595
@@ -229,12 +229,12 @@ ccxt/async_support/bitbay.py,sha256=jcaEXi2IhYTva8ezO_SfJhwxEZk7HST4J3NaxD16BQA,
229
229
  ccxt/async_support/bitbns.py,sha256=eMxtO2nPEwnQRSGJbBPIvA6_45yb3ZR_NjqpxIcVVI8,46380
230
230
  ccxt/async_support/bitcoincom.py,sha256=RiqwhK3RfxQ_PXTa860fphDCvwA8dalL-_rXlK85-8A,516
231
231
  ccxt/async_support/bitfinex.py,sha256=7I0krKkjVQm3yRGLR8GqzfTuMS094bs7q1pT0Kzc1vk,70166
232
- ccxt/async_support/bitfinex2.py,sha256=FjVRA5e37Wh3GvG1RVLDOA4Zs0l1nfqQexbd-3oKVT4,126081
233
- ccxt/async_support/bitflyer.py,sha256=YN7qyrXFv7y90NnCfDK7hEK7PrdeZdYSmAn_wJPLdbo,39216
232
+ ccxt/async_support/bitfinex2.py,sha256=NNT89B72sese2w_So5ar_YzQ3D5S1i9YSpFU4idp-4Y,126081
233
+ ccxt/async_support/bitflyer.py,sha256=t11TghcCU9YjEGyhnnpKLmrBBw2oykMwVjAtrUkWFGk,40473
234
234
  ccxt/async_support/bitforex.py,sha256=ge_qf_eQuR1dPOUbJO0jS6X9trIzsiEJXBmARDyCtew,32751
235
- ccxt/async_support/bitget.py,sha256=dzZIIcU_IVQX9gprPCwTN_TIJQRwnOvJGiSXVs0nBA8,242331
235
+ ccxt/async_support/bitget.py,sha256=pv86dxxqN2D25GY3h7UMjqMbmfRXUwvRNZGZ-2AobzM,245209
236
236
  ccxt/async_support/bithumb.py,sha256=BJH9BmwgZS4ackInyblR7OFGcGO1PPM_vo_EfiF1S6I,43292
237
- ccxt/async_support/bitmart.py,sha256=VM0eZDIyRpbx__S3Y-EQlFNVdD0EWAsIZGIY3PyVULk,159301
237
+ ccxt/async_support/bitmart.py,sha256=IwxyXORCFHJvWakBtZglXVEYTwJLi2R9j8W41kWQnSQ,161807
238
238
  ccxt/async_support/bitmex.py,sha256=njhJTJpA33Y3Y0V7iqMoKPR8hVUEzxQDTRT01jQvtQg,112566
239
239
  ccxt/async_support/bitopro.py,sha256=QDDPn43DHNFet4EKuBvWeecKzH5_VW0aPfzxjkOoHvs,66323
240
240
  ccxt/async_support/bitpanda.py,sha256=c1AyFnzoPAK6gsCAWYKHpCHuu-Grj6pBGWIQHCG2EUM,88598
@@ -321,7 +321,7 @@ ccxt/async_support/yobit.py,sha256=DzNq6XftuoDjBNDZBJOrsGVv3M8wcXz_pRDEA23x4Dc,5
321
321
  ccxt/async_support/zaif.py,sha256=3iz6oNEYONAjhCLVKK13T1d2eQ0pklzgxCkkdqn5zyM,29070
322
322
  ccxt/async_support/zonda.py,sha256=BGNx6UYa19tDo_UBLPC6sJKirzTQsuQpdpzsXiVR0JE,79973
323
323
  ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
324
- ccxt/async_support/base/exchange.py,sha256=fUPJjdBFtDvZkvfClsOrfwb3luqWgHDL1hSmHSbWzLY,148587
324
+ ccxt/async_support/base/exchange.py,sha256=uvyUSfyugMNEPCbU3ldf3aUIqR-LijhegHcxg1bdaP4,148587
325
325
  ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
326
326
  ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
327
327
  ccxt/async_support/base/ws/aiohttp_client.py,sha256=3YtsI6nV2ViYIZB7sGaowpoiF9Xaf93gHXH98253mJQ,5011
@@ -335,10 +335,10 @@ ccxt/async_support/base/ws/order_book_side.py,sha256=GH-475Ni0mLOx7mUDnz4jjzaGkh
335
335
  ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
336
336
  ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
337
337
  ccxt/base/errors.py,sha256=7osw6WIoqf-dmzvQI5Lnau4AvnCahiM2-mlyNm4GRxY,3610
338
- ccxt/base/exchange.py,sha256=DR0IevGXrp-2p-zccXNSZtkyetG3RzSqsR-DbxeDc7Q,188637
338
+ ccxt/base/exchange.py,sha256=TKClBkEt-O2npMmV-3fklEMR7uYf6_n18QNkIkg-HP8,188637
339
339
  ccxt/base/precise.py,sha256=_xfu54sV0vWNnOfGTKRFykeuWP8mn4K1m9lk1tcllX4,8565
340
340
  ccxt/base/types.py,sha256=lqXdU_c6oZ2fP7kOYgwRAuujoqXdJc2YzrI6UzBz4KY,2108
341
- ccxt/pro/__init__.py,sha256=Xd4eDkc0Nbdk-zSitjCTdR2UxBhXo3UUBU0XkMhMfIk,6481
341
+ ccxt/pro/__init__.py,sha256=NRkPj3KIRgM-NskewbW-sga-ehkLI_DP3HatPAILPwQ,6481
342
342
  ccxt/pro/alpaca.py,sha256=OO5fBSjG89OmlSY_6gy20BCs3hJMF8kWkeHtxM-JaTY,26762
343
343
  ccxt/pro/ascendex.py,sha256=oCyCw_SXW9DTfbpRYMPI5QpXvb55Ru7RvHTUx2fO8Yk,34577
344
344
  ccxt/pro/bequant.py,sha256=3IeQ0vPg-eVqPiGMfX7yqH9qtXKm1ZqocQDeLwpA8EE,1093
@@ -449,7 +449,7 @@ ccxt/test/base/test_ticker.py,sha256=h9AV_O6s-Ax3vB3sFoN0Mz22rMOi65i9BDv0SNejH98
449
449
  ccxt/test/base/test_trade.py,sha256=rOEbyHLvsB-rh7X7WOcfeOV_3MOGq_0s4ovg2SRk-2I,2284
450
450
  ccxt/test/base/test_trading_fee.py,sha256=2_WCp3qJ2UpraQQoGFlGJYwHD-T0Bm5W7KIw4zpFvSM,1068
451
451
  ccxt/test/base/test_transaction.py,sha256=BTbB4UHHXkrvYgwbrhh867nVRlevmIkIrz1W_odlQJI,1434
452
- ccxt-4.0.108.dist-info/METADATA,sha256=RV456lCxwtyoGs0W9ig2sl8Ht8c73-o-0WOdQHhVrc0,109965
453
- ccxt-4.0.108.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
454
- ccxt-4.0.108.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
455
- ccxt-4.0.108.dist-info/RECORD,,
452
+ ccxt-4.0.109.dist-info/METADATA,sha256=9N1BH1enNSbAZboj7lqHl_ygnlcyer_68kiR-PNvbuc,109965
453
+ ccxt-4.0.109.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
454
+ ccxt-4.0.109.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
455
+ ccxt-4.0.109.dist-info/RECORD,,
File without changes