python-okx 0.3.8__tar.gz → 0.3.9__tar.gz

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 (39) hide show
  1. {python_okx-0.3.8 → python_okx-0.3.9}/PKG-INFO +1 -1
  2. {python_okx-0.3.8 → python_okx-0.3.9}/okx/SubAccount.py +0 -7
  3. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Trade.py +2 -3
  4. {python_okx-0.3.8 → python_okx-0.3.9}/okx/__init__.py +1 -1
  5. {python_okx-0.3.8 → python_okx-0.3.9}/okx/consts.py +0 -1
  6. {python_okx-0.3.8 → python_okx-0.3.9}/python_okx.egg-info/PKG-INFO +1 -1
  7. {python_okx-0.3.8 → python_okx-0.3.9}/README.md +0 -0
  8. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Account.py +0 -0
  9. {python_okx-0.3.8 → python_okx-0.3.9}/okx/BlockTrading.py +0 -0
  10. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Convert.py +0 -0
  11. {python_okx-0.3.8 → python_okx-0.3.9}/okx/CopyTrading.py +0 -0
  12. {python_okx-0.3.8 → python_okx-0.3.9}/okx/FDBroker.py +0 -0
  13. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/EthStaking.py +0 -0
  14. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/FlexibleLoan.py +0 -0
  15. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/Savings.py +0 -0
  16. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/SolStaking.py +0 -0
  17. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/StakingDefi.py +0 -0
  18. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Finance/__init__.py +0 -0
  19. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Funding.py +0 -0
  20. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Grid.py +0 -0
  21. {python_okx-0.3.8 → python_okx-0.3.9}/okx/MarketData.py +0 -0
  22. {python_okx-0.3.8 → python_okx-0.3.9}/okx/PublicData.py +0 -0
  23. {python_okx-0.3.8 → python_okx-0.3.9}/okx/SpreadTrading.py +0 -0
  24. {python_okx-0.3.8 → python_okx-0.3.9}/okx/Status.py +0 -0
  25. {python_okx-0.3.8 → python_okx-0.3.9}/okx/TradingData.py +0 -0
  26. {python_okx-0.3.8 → python_okx-0.3.9}/okx/exceptions.py +0 -0
  27. {python_okx-0.3.8 → python_okx-0.3.9}/okx/okxclient.py +0 -0
  28. {python_okx-0.3.8 → python_okx-0.3.9}/okx/utils.py +0 -0
  29. {python_okx-0.3.8 → python_okx-0.3.9}/okx/websocket/WebSocketFactory.py +0 -0
  30. {python_okx-0.3.8 → python_okx-0.3.9}/okx/websocket/WsPrivateAsync.py +0 -0
  31. {python_okx-0.3.8 → python_okx-0.3.9}/okx/websocket/WsPublicAsync.py +0 -0
  32. {python_okx-0.3.8 → python_okx-0.3.9}/okx/websocket/WsUtils.py +0 -0
  33. {python_okx-0.3.8 → python_okx-0.3.9}/okx/websocket/__init__.py +0 -0
  34. {python_okx-0.3.8 → python_okx-0.3.9}/python_okx.egg-info/SOURCES.txt +0 -0
  35. {python_okx-0.3.8 → python_okx-0.3.9}/python_okx.egg-info/dependency_links.txt +0 -0
  36. {python_okx-0.3.8 → python_okx-0.3.9}/python_okx.egg-info/requires.txt +0 -0
  37. {python_okx-0.3.8 → python_okx-0.3.9}/python_okx.egg-info/top_level.txt +0 -0
  38. {python_okx-0.3.8 → python_okx-0.3.9}/setup.cfg +0 -0
  39. {python_okx-0.3.8 → python_okx-0.3.9}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
@@ -59,13 +59,6 @@ class SubAccountAPI(OkxClient):
59
59
  }
60
60
  return self._request_with_params(GET, GET_ASSET_SUBACCOUNT_BALANCE, params)
61
61
 
62
- # - Get the user's affiliate rebate information
63
- def get_the_user_affiliate_rebate_information(self, apiKey=''):
64
- params = {
65
- 'apiKey': apiKey
66
- }
67
- return self._request_with_params(GET, GET_THE_USER_AFFILIATE_REBATE, params)
68
-
69
62
  # - Set sub_accounts VIP loan%
70
63
  def set_sub_accounts_VIP_loan(self, enable='', alloc=[]):
71
64
  params = {
@@ -112,10 +112,9 @@ class TradeAPI(OkxClient):
112
112
  return self._request_with_params(POST, CANCEL_ALGOS, params)
113
113
 
114
114
  # Get Algo Order List
115
- def order_algos_list(self, ordType='', algoId='', instType='', instId='', after='', before='', limit='',
116
- algoClOrdId=''):
115
+ def order_algos_list(self, ordType='', algoId='', instType='', instId='', after='', before='', limit=''):
117
116
  params = {'ordType': ordType, 'algoId': algoId, 'instType': instType, 'instId': instId, 'after': after,
118
- 'before': before, 'limit': limit, 'algoClOrdId': algoClOrdId}
117
+ 'before': before, 'limit': limit}
119
118
  return self._request_with_params(GET, ORDERS_ALGO_PENDING, params)
120
119
 
121
120
  # Get Algo Order History
@@ -2,4 +2,4 @@
2
2
  Python SDK for the OKX API v5
3
3
 
4
4
  """
5
- __version__="0.3.8"
5
+ __version__="0.3.9"
@@ -183,7 +183,6 @@ SUBACCOUNT_TRANSFER = '/api/v5/asset/subaccount/transfer'
183
183
  ENTRUST_SUBACCOUNT_LIST = '/api/v5/users/entrust-subaccount-list'
184
184
  SET_TRSNSFER_OUT = '/api/v5/users/subaccount/set-transfer-out'
185
185
  GET_ASSET_SUBACCOUNT_BALANCE = '/api/v5/asset/subaccount/balances'
186
- GET_THE_USER_AFFILIATE_REBATE = '/api/v5/users/partner/if-rebate'
187
186
  SET_SUB_ACCOUNTS_VIP_LOAN = '/api/v5/account/subaccount/set-loan-allocation'
188
187
  GET_SUB_ACCOUNT_BORROW_INTEREST_AND_LIMIT = '/api/v5/account/subaccount/interest-limits'
189
188
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes