python-okx 0.3.8__py3-none-any.whl → 0.3.9__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.
okx/SubAccount.py CHANGED
@@ -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 = {
okx/Trade.py CHANGED
@@ -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
okx/__init__.py CHANGED
@@ -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"
okx/consts.py CHANGED
@@ -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
@@ -9,11 +9,11 @@ okx/MarketData.py,sha256=4GO8Vdkh02GQFJeqC0k4ej3w49wkZroEOoVJ407_ju4,4827
9
9
  okx/PublicData.py,sha256=HEq4cNCk5P1mhLaMewJhVJTvHm0I2bdrL8Z6pH3yYn0,5136
10
10
  okx/SpreadTrading.py,sha256=Dy7VZ8WK4HyxhMvLY1G5RukRHI_T3d0fnrHZifv9Uyw,3227
11
11
  okx/Status.py,sha256=hGnn-tw302xXCDWly7LssaG3-29HcHZRhrBFUuGrSS0,495
12
- okx/SubAccount.py,sha256=SMMPdkatDyRE0_7mDqK8orzt29hti2TTTWNayLT3F0g,3528
13
- okx/Trade.py,sha256=j7iSIXGTxuIN7mBO1I7_lki7B8ThuEyLSf3oSuMuUIo,11075
12
+ okx/SubAccount.py,sha256=BcwEzi_Y63k-rS9IffFKAJ2ywVl7o9J0U9sBzg87Lpw,3264
13
+ okx/Trade.py,sha256=p1vJcwHZvuYfgKXmaTYZKwtJQ9YtvSZ0arOd8GGAufI,11006
14
14
  okx/TradingData.py,sha256=ig9Y3f-CH_nyBvoZCF4M9z2_wQXF-r0On7p9EMMuDMo,2331
15
- okx/__init__.py,sha256=jZ3qlMIccCOCV6wEanDQBTzQjm9efjrelxSeFzhXDKE,58
16
- okx/consts.py,sha256=N0KSKnyzZa3Wv8jpbq_SsdxspkbAB11yXQLHlaumKh4,14698
15
+ okx/__init__.py,sha256=aCopTb9QU6OqHWoGo05pHw8Qe-kOja2kjDzFeuEeWg8,58
16
+ okx/consts.py,sha256=gUTC2PkhH34Ekct-HA428hJAARPLvcVa5JnAiHkjUGQ,14632
17
17
  okx/exceptions.py,sha256=ERuCnvnudJNBNACh3LNE3km5GJy0BGC5C3OKjgHXFaU,1182
18
18
  okx/okxclient.py,sha256=wJD8gTyHs92WjLffANbWLCgfX4Mnxh-IKnnJ2nUYHsI,2597
19
19
  okx/utils.py,sha256=FTXSW73yXV6Hc4-9O22WFmkhayASYo7WQHIc_bTyc6g,1858
@@ -28,7 +28,7 @@ okx/websocket/WsPrivateAsync.py,sha256=zmZuInowW9_YWpQoZoicbbff-UwWvWxOluKclomNc
28
28
  okx/websocket/WsPublicAsync.py,sha256=yDk_2jkgM4M_sq6zSL6i-KfdoSOaSd5KsmA1wqbIx3E,1520
29
29
  okx/websocket/WsUtils.py,sha256=ynkCtfvkrwBUiCi-_yqp1xTn3hhVd_o5ITIhD1xLdBo,2199
30
30
  okx/websocket/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- python_okx-0.3.8.dist-info/METADATA,sha256=lIRvleY4tKE0CUH8nfQp4DLOD6X8YPE3ux8QL782-Jg,3145
32
- python_okx-0.3.8.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
33
- python_okx-0.3.8.dist-info/top_level.txt,sha256=rrbhHZwiw4YlhG1LWWaAODvRxyZr3onxFnqwsHdikDc,4
34
- python_okx-0.3.8.dist-info/RECORD,,
31
+ python_okx-0.3.9.dist-info/METADATA,sha256=6JjQsztHk5jx5GuNQPngvWPs7J_3jbZUKYcBTtctSbU,3145
32
+ python_okx-0.3.9.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
33
+ python_okx-0.3.9.dist-info/top_level.txt,sha256=rrbhHZwiw4YlhG1LWWaAODvRxyZr3onxFnqwsHdikDc,4
34
+ python_okx-0.3.9.dist-info/RECORD,,