python-okx 0.2.1__tar.gz → 0.2.3__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 (38) hide show
  1. {python-okx-0.2.1 → python-okx-0.2.3}/PKG-INFO +3 -3
  2. {python-okx-0.2.1 → python-okx-0.2.3}/README.md +2 -2
  3. {python-okx-0.2.1 → python-okx-0.2.3}/okx/NDBroker.py +1 -8
  4. {python-okx-0.2.1 → python-okx-0.2.3}/okx/SubAccount.py +0 -12
  5. {python-okx-0.2.1 → python-okx-0.2.3}/okx/__init__.py +1 -1
  6. {python-okx-0.2.1 → python-okx-0.2.3}/okx/consts.py +1 -5
  7. {python-okx-0.2.1 → python-okx-0.2.3}/python_okx.egg-info/PKG-INFO +3 -3
  8. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Account.py +0 -0
  9. {python-okx-0.2.1 → python-okx-0.2.3}/okx/BlockTrading.py +0 -0
  10. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Convert.py +0 -0
  11. {python-okx-0.2.1 → python-okx-0.2.3}/okx/CopyTrading.py +0 -0
  12. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Earning.py +0 -0
  13. {python-okx-0.2.1 → python-okx-0.2.3}/okx/FDBroker.py +0 -0
  14. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Funding.py +0 -0
  15. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Grid.py +0 -0
  16. {python-okx-0.2.1 → python-okx-0.2.3}/okx/MarketData.py +0 -0
  17. {python-okx-0.2.1 → python-okx-0.2.3}/okx/PublicData.py +0 -0
  18. {python-okx-0.2.1 → python-okx-0.2.3}/okx/SpreadTrading.py +0 -0
  19. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Status.py +0 -0
  20. {python-okx-0.2.1 → python-okx-0.2.3}/okx/Trade.py +0 -0
  21. {python-okx-0.2.1 → python-okx-0.2.3}/okx/TradingData.py +0 -0
  22. {python-okx-0.2.1 → python-okx-0.2.3}/okx/client.py +0 -0
  23. {python-okx-0.2.1 → python-okx-0.2.3}/okx/exceptions.py +0 -0
  24. {python-okx-0.2.1 → python-okx-0.2.3}/okx/utils.py +0 -0
  25. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsClientFactory.py +0 -0
  26. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsClientProtocol.py +0 -0
  27. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsConnectManager.py +0 -0
  28. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsLoginFactory.py +0 -0
  29. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsPrivate.py +0 -0
  30. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsPublic.py +0 -0
  31. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/WsUtils.py +0 -0
  32. {python-okx-0.2.1 → python-okx-0.2.3}/okx/websocket/__init__.py +0 -0
  33. {python-okx-0.2.1 → python-okx-0.2.3}/python_okx.egg-info/SOURCES.txt +0 -0
  34. {python-okx-0.2.1 → python-okx-0.2.3}/python_okx.egg-info/dependency_links.txt +0 -0
  35. {python-okx-0.2.1 → python-okx-0.2.3}/python_okx.egg-info/requires.txt +0 -0
  36. {python-okx-0.2.1 → python-okx-0.2.3}/python_okx.egg-info/top_level.txt +0 -0
  37. {python-okx-0.2.1 → python-okx-0.2.3}/setup.cfg +0 -0
  38. {python-okx-0.2.1 → python-okx-0.2.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
@@ -20,8 +20,8 @@ https://github.com/okxapi/python-okx
20
20
  #### OKX API Telegram
21
21
  https://t.me/OKXAPI
22
22
  #### API trading tutorials
23
- - Spot trading: https://www.okx.com/learn/spot-trading-with-jupyter-notebook
24
- - Derivative trading: https://www.okx.com/learn/derivatives-trading-with-jupyter-notebook
23
+ - Spot trading: https://www.okx.com/help/how-can-i-do-spot-trading-with-the-jupyter-notebook
24
+ - Derivative trading: https://www.okx.com/help/how-can-i-do-derivatives-trading-with-the-jupyter-notebook
25
25
 
26
26
  Make sure you update often and check the [Changelog](https://www.okx.com/docs-v5/log_en/) for new features and bug fixes.
27
27
 
@@ -8,8 +8,8 @@ https://github.com/okxapi/python-okx
8
8
  #### OKX API Telegram
9
9
  https://t.me/OKXAPI
10
10
  #### API trading tutorials
11
- - Spot trading: https://www.okx.com/learn/spot-trading-with-jupyter-notebook
12
- - Derivative trading: https://www.okx.com/learn/derivatives-trading-with-jupyter-notebook
11
+ - Spot trading: https://www.okx.com/help/how-can-i-do-spot-trading-with-the-jupyter-notebook
12
+ - Derivative trading: https://www.okx.com/help/how-can-i-do-derivatives-trading-with-the-jupyter-notebook
13
13
 
14
14
  Make sure you update often and check the [Changelog](https://www.okx.com/docs-v5/log_en/) for new features and bug fixes.
15
15
 
@@ -22,10 +22,9 @@ class NDBrokerAPI(Client):
22
22
  }
23
23
  return self._request_with_params(POST,DELETE_SUBACCOUNT,params)
24
24
 
25
- def get_subaccount_info(self,subAcct = '',uid = '',page = '',limit = ''):
25
+ def get_subaccount_info(self,subAcct = '',page = '',limit = ''):
26
26
  params = {
27
27
  'subAcct':subAcct,
28
- 'uid': uid,
29
28
  'page':page,
30
29
  'limit':limit
31
30
  }
@@ -149,9 +148,3 @@ class NDBrokerAPI(Client):
149
148
  }
150
149
  return self._request_with_params(POST,REBATE_PER_ORDERS,params)
151
150
 
152
- def set_nd_subaccount_asset_in_demo_trading(self,subAcct = '',ccy = ''):
153
- params = {
154
- 'subAcct':subAcct,
155
- 'ccy':ccy
156
- }
157
- return self._request_with_params(POST,SET_ND_SUB_ACCOUNT_ASSET_IN_DEMO_TRADING,params)
@@ -81,15 +81,3 @@ class SubAccountAPI(Client):
81
81
  'ccy': ccy
82
82
  }
83
83
  return self._request_with_params(GET, GET_SUB_ACCOUNT_BORROW_INTEREST_AND_LIMIT, params)
84
-
85
- def get_history_of_managed_subAccount_transfer(self, ccy='', type='', subAcct='', subUid='', after='', before='', limit=''):
86
- params = {
87
- 'ccy': ccy,
88
- 'type': type,
89
- 'subAcct': subAcct,
90
- 'subUid': subUid,
91
- 'after': after,
92
- 'before': before,
93
- 'limit': limit
94
- }
95
- return self._request_with_params(GET, GET_HISTORY_OF_MANAGED_SUB_ACCOUNT_TRANSFER, params)
@@ -2,4 +2,4 @@
2
2
  Python SDK for the OKX API v5
3
3
 
4
4
  """
5
- __version__="0.2.1"
5
+ __version__="0.2.3"
@@ -177,7 +177,6 @@ GET_ASSET_SUBACCOUNT_BALANCE = '/api/v5/asset/subaccount/balances' #need to add
177
177
  GET_THE_USER_AFFILIATE_REBATE = '/api/v5/users/partner/if-rebate'
178
178
  SET_SUB_ACCOUNTS_VIP_LOAN = '/api/v5/account/subaccount/set-loan-allocation'
179
179
  GET_SUB_ACCOUNT_BORROW_INTEREST_AND_LIMIT = '/api/v5/account/subaccount/interest-limits'
180
- GET_HISTORY_OF_MANAGED_SUB_ACCOUNT_TRANSFER = '/api/v5/asset/subaccount/managed-subaccount-bills'
181
180
 
182
181
  # Broker-all need to implmented-completed
183
182
  BROKER_INFO = '/api/v5/broker/nd/info'
@@ -197,7 +196,6 @@ GET_REBATE_PER_ORDERS = '/api/v5/broker/nd/rebate-per-orders'
197
196
  REBATE_PER_ORDERS = '/api/v5/broker/nd/rebate-per-orders'
198
197
  MODIFY_SUBACCOUNT_DEPOSIT_ADDRESS = '/api/v5/asset/broker/nd/modify-subaccount-deposit-address'
199
198
  GET_SUBACCOUNT_DEPOSIT='/api/v5/asset/broker/nd/subaccount-deposit-address'
200
- SET_ND_SUB_ACCOUNT_ASSET_IN_DEMO_TRADING='/api/v5/broker/nd/set-subaccount-assets'
201
199
 
202
200
  # Convert-Complete
203
201
  GET_CURRENCIES = '/api/v5/asset/convert/currencies'
@@ -279,7 +277,7 @@ GET_PROFIT_SHARING_DETAILS = '/api/v5/copytrading/profit-sharing-details'
279
277
  GET_TOTAL_PROFIT_SHARING = '/api/v5/copytrading/total-profit-sharing'
280
278
  GET_UNREALIZED_PROFIT_SHARING_DETAILS = '/api/v5/copytrading/unrealized-profit-sharing-details'
281
279
 
282
- # Spread Trading
280
+ # Spread Trading˚
283
281
  SPREAD_PLACE_ORDER= '/api/v5/sprd/order'
284
282
  SPREAD_CANAEL_ORDER = '/api/v5/sprd/cancel-order'
285
283
  SPREAD_CANAEL_ALL_ORDERS = '/api/v5/sprd/mass-cancel'
@@ -291,5 +289,3 @@ SPREAD_GET_SPREADS = '/api/v5/sprd/spreads'
291
289
  SPREAD_GET_ORDER_BOOK = '/api/v5/sprd/books'
292
290
  SPREAD_GET_TICKER = '/api/v5/sprd/ticker'
293
291
  SPREAD_GET_PUBLIC_TRADES = '/api/v5/sprd/public-trades'
294
-
295
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
@@ -20,8 +20,8 @@ https://github.com/okxapi/python-okx
20
20
  #### OKX API Telegram
21
21
  https://t.me/OKXAPI
22
22
  #### API trading tutorials
23
- - Spot trading: https://www.okx.com/learn/spot-trading-with-jupyter-notebook
24
- - Derivative trading: https://www.okx.com/learn/derivatives-trading-with-jupyter-notebook
23
+ - Spot trading: https://www.okx.com/help/how-can-i-do-spot-trading-with-the-jupyter-notebook
24
+ - Derivative trading: https://www.okx.com/help/how-can-i-do-derivatives-trading-with-the-jupyter-notebook
25
25
 
26
26
  Make sure you update often and check the [Changelog](https://www.okx.com/docs-v5/log_en/) for new features and bug fixes.
27
27
 
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
File without changes