bitget 0.0.78__py3-none-any.whl → 0.0.80__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.
- bitget/ccxt/__init__.py +2 -1
- bitget/ccxt/abstract/bitget.py +6 -0
- bitget/ccxt/async_support/__init__.py +2 -1
- bitget/ccxt/async_support/base/exchange.py +1 -1
- bitget/ccxt/async_support/bitget.py +2032 -559
- bitget/ccxt/base/decimal_to_precision.py +7 -9
- bitget/ccxt/base/errors.py +6 -6
- bitget/ccxt/base/exchange.py +1 -1
- bitget/ccxt/bitget.py +2032 -559
- bitget/ccxt/pro/__init__.py +2 -1
- bitget/ccxt/pro/bitget.py +3 -3
- {bitget-0.0.78.dist-info → bitget-0.0.80.dist-info}/METADATA +11 -1
- {bitget-0.0.78.dist-info → bitget-0.0.80.dist-info}/RECORD +14 -14
- {bitget-0.0.78.dist-info → bitget-0.0.80.dist-info}/WHEEL +0 -0
bitget/ccxt/__init__.py
CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
26
26
|
|
27
27
|
# ----------------------------------------------------------------------------
|
28
28
|
|
29
|
-
__version__ = '4.4.
|
29
|
+
__version__ = '4.4.99'
|
30
30
|
|
31
31
|
# ----------------------------------------------------------------------------
|
32
32
|
|
@@ -59,6 +59,7 @@ from ccxt.base.errors import NoChange # noqa: F4
|
|
59
59
|
from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
|
60
60
|
from ccxt.base.errors import MarketClosed # noqa: F401
|
61
61
|
from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
|
62
|
+
from ccxt.base.errors import RestrictedLocation # noqa: F401
|
62
63
|
from ccxt.base.errors import InsufficientFunds # noqa: F401
|
63
64
|
from ccxt.base.errors import InvalidAddress # noqa: F401
|
64
65
|
from ccxt.base.errors import AddressPending # noqa: F401
|
bitget/ccxt/abstract/bitget.py
CHANGED
@@ -525,6 +525,7 @@ class ImplicitAPI:
|
|
525
525
|
private_common_get_v2_common_trade_rate = privateCommonGetV2CommonTradeRate = Entry('v2/common/trade-rate', ['private', 'common'], 'GET', {'cost': 2})
|
526
526
|
private_uta_get_v3_account_assets = privateUtaGetV3AccountAssets = Entry('v3/account/assets', ['private', 'uta'], 'GET', {'cost': 1})
|
527
527
|
private_uta_get_v3_account_settings = privateUtaGetV3AccountSettings = Entry('v3/account/settings', ['private', 'uta'], 'GET', {'cost': 1})
|
528
|
+
private_uta_get_v3_account_deposit_records = privateUtaGetV3AccountDepositRecords = Entry('v3/account/deposit-records', ['private', 'uta'], 'GET', {'cost': 2})
|
528
529
|
private_uta_get_v3_account_financial_records = privateUtaGetV3AccountFinancialRecords = Entry('v3/account/financial-records', ['private', 'uta'], 'GET', {'cost': 1})
|
529
530
|
private_uta_get_v3_account_repayable_coins = privateUtaGetV3AccountRepayableCoins = Entry('v3/account/repayable-coins', ['private', 'uta'], 'GET', {'cost': 2})
|
530
531
|
private_uta_get_v3_account_payment_coins = privateUtaGetV3AccountPaymentCoins = Entry('v3/account/payment-coins', ['private', 'uta'], 'GET', {'cost': 2})
|
@@ -543,7 +544,9 @@ class ImplicitAPI:
|
|
543
544
|
private_uta_get_v3_position_history_position = privateUtaGetV3PositionHistoryPosition = Entry('v3/position/history-position', ['private', 'uta'], 'GET', {'cost': 1})
|
544
545
|
private_uta_get_v3_trade_order_info = privateUtaGetV3TradeOrderInfo = Entry('v3/trade/order-info', ['private', 'uta'], 'GET', {'cost': 1})
|
545
546
|
private_uta_get_v3_trade_unfilled_orders = privateUtaGetV3TradeUnfilledOrders = Entry('v3/trade/unfilled-orders', ['private', 'uta'], 'GET', {'cost': 1})
|
547
|
+
private_uta_get_v3_trade_unfilled_strategy_orders = privateUtaGetV3TradeUnfilledStrategyOrders = Entry('v3/trade/unfilled-strategy-orders', ['private', 'uta'], 'GET', {'cost': 1})
|
546
548
|
private_uta_get_v3_trade_history_orders = privateUtaGetV3TradeHistoryOrders = Entry('v3/trade/history-orders', ['private', 'uta'], 'GET', {'cost': 1})
|
549
|
+
private_uta_get_v3_trade_history_strategy_orders = privateUtaGetV3TradeHistoryStrategyOrders = Entry('v3/trade/history-strategy-orders', ['private', 'uta'], 'GET', {'cost': 1})
|
547
550
|
private_uta_get_v3_trade_fills = privateUtaGetV3TradeFills = Entry('v3/trade/fills', ['private', 'uta'], 'GET', {'cost': 1})
|
548
551
|
private_uta_get_v3_user_sub_list = privateUtaGetV3UserSubList = Entry('v3/user/sub-list', ['private', 'uta'], 'GET', {'cost': 2})
|
549
552
|
private_uta_get_v3_user_sub_api_list = privateUtaGetV3UserSubApiList = Entry('v3/user/sub-api-list', ['private', 'uta'], 'GET', {'cost': 2})
|
@@ -555,8 +558,11 @@ class ImplicitAPI:
|
|
555
558
|
private_uta_post_v3_account_max_open_available = privateUtaPostV3AccountMaxOpenAvailable = Entry('v3/account/max-open-available', ['private', 'uta'], 'POST', {'cost': 4})
|
556
559
|
private_uta_post_v3_ins_loan_bind_uid = privateUtaPostV3InsLoanBindUid = Entry('v3/ins-loan/bind-uid', ['private', 'uta'], 'POST', {'cost': 6.6667})
|
557
560
|
private_uta_post_v3_trade_place_order = privateUtaPostV3TradePlaceOrder = Entry('v3/trade/place-order', ['private', 'uta'], 'POST', {'cost': 2})
|
561
|
+
private_uta_post_v3_trade_place_strategy_order = privateUtaPostV3TradePlaceStrategyOrder = Entry('v3/trade/place-strategy-order', ['private', 'uta'], 'POST', {'cost': 2})
|
558
562
|
private_uta_post_v3_trade_modify_order = privateUtaPostV3TradeModifyOrder = Entry('v3/trade/modify-order', ['private', 'uta'], 'POST', {'cost': 2})
|
563
|
+
private_uta_post_v3_trade_modify_strategy_order = privateUtaPostV3TradeModifyStrategyOrder = Entry('v3/trade/modify-strategy-order', ['private', 'uta'], 'POST', {'cost': 2})
|
559
564
|
private_uta_post_v3_trade_cancel_order = privateUtaPostV3TradeCancelOrder = Entry('v3/trade/cancel-order', ['private', 'uta'], 'POST', {'cost': 2})
|
565
|
+
private_uta_post_v3_trade_cancel_strategy_order = privateUtaPostV3TradeCancelStrategyOrder = Entry('v3/trade/cancel-strategy-order', ['private', 'uta'], 'POST', {'cost': 2})
|
560
566
|
private_uta_post_v3_trade_place_batch = privateUtaPostV3TradePlaceBatch = Entry('v3/trade/place-batch', ['private', 'uta'], 'POST', {'cost': 4})
|
561
567
|
private_uta_post_v3_trade_batch_modify_order = privateUtaPostV3TradeBatchModifyOrder = Entry('v3/trade/batch-modify-order', ['private', 'uta'], 'POST', {'cost': 2})
|
562
568
|
private_uta_post_v3_trade_cancel_batch = privateUtaPostV3TradeCancelBatch = Entry('v3/trade/cancel-batch', ['private', 'uta'], 'POST', {'cost': 4})
|
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
11
|
-
__version__ = '4.4.
|
11
|
+
__version__ = '4.4.99'
|
12
12
|
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
|
@@ -38,6 +38,7 @@ from ccxt.base.errors import NoChange # noqa: F4
|
|
38
38
|
from ccxt.base.errors import MarginModeAlreadySet # noqa: F401
|
39
39
|
from ccxt.base.errors import MarketClosed # noqa: F401
|
40
40
|
from ccxt.base.errors import ManualInteractionNeeded # noqa: F401
|
41
|
+
from ccxt.base.errors import RestrictedLocation # noqa: F401
|
41
42
|
from ccxt.base.errors import InsufficientFunds # noqa: F401
|
42
43
|
from ccxt.base.errors import InvalidAddress # noqa: F401
|
43
44
|
from ccxt.base.errors import AddressPending # noqa: F401
|