update Funding non_tradable_assets
This commit is contained in:
parent
7d43159161
commit
d95d1aea74
|
|
@ -8,6 +8,11 @@ class FundingAPI(OkxClient):
|
||||||
def __init__(self, api_key='-1', api_secret_key='-1', passphrase='-1', use_server_time=False, flag='1', domain = 'https://www.okx.com',debug = True, proxy=None):
|
def __init__(self, api_key='-1', api_secret_key='-1', passphrase='-1', use_server_time=False, flag='1', domain = 'https://www.okx.com',debug = True, proxy=None):
|
||||||
OkxClient.__init__(self, api_key, api_secret_key, passphrase, use_server_time, flag, domain, debug, proxy)
|
OkxClient.__init__(self, api_key, api_secret_key, passphrase, use_server_time, flag, domain, debug, proxy)
|
||||||
|
|
||||||
|
# Get Non Tradable Assets
|
||||||
|
def get_non_tradable_assets(self, ccy: str = ''):
|
||||||
|
params = {'ccy': ccy}
|
||||||
|
return self._request_with_params(GET, NON_TRADABLE_ASSETS, params)
|
||||||
|
|
||||||
# Get Deposit Address
|
# Get Deposit Address
|
||||||
def get_deposit_address(self, ccy):
|
def get_deposit_address(self, ccy):
|
||||||
params = {'ccy': ccy}
|
params = {'ccy': ccy}
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ ACTIVSTE_OPTION = '/api/v5/account/activate-option'
|
||||||
POSITION_BUILDER = '/api/v5/account/position-builder'
|
POSITION_BUILDER = '/api/v5/account/position-builder'
|
||||||
|
|
||||||
# funding-complete-testcomplete
|
# funding-complete-testcomplete
|
||||||
|
NON_TRADABLE_ASSETS = '/api/v5/asset/non-tradable-assets'
|
||||||
DEPOSIT_ADDRESS = '/api/v5/asset/deposit-address'
|
DEPOSIT_ADDRESS = '/api/v5/asset/deposit-address'
|
||||||
GET_BALANCES = '/api/v5/asset/balances'
|
GET_BALANCES = '/api/v5/asset/balances'
|
||||||
FUNDS_TRANSFER = '/api/v5/asset/transfer'
|
FUNDS_TRANSFER = '/api/v5/asset/transfer'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue