pyokx.low_rest_api.Earning

class pyokx.low_rest_api.Earning.EarningAPI(api_key='-1', api_secret_key='-1', passphrase='-1', use_server_time=False, flag='1', domain='https://www.okx.com', debug=True)[source]

Bases: Client

cancel(ordId='', protocolType='')[source]
get_activity_orders(productId='', protocolType='', ccy='', state='')[source]
get_lending_history(ccy='', after='', before='', limit='')[source]
get_offers(productId='', protocolType='', ccy='')[source]
get_orders_history(productId='', protocolType='', ccy='', after='', before='', limit='')[source]
get_public_borrow_history(ccy='', after='', before='', limit='')[source]
get_public_borrow_info(ccy='')[source]
get_saving_balance(ccy='')[source]
purchase(productId='', investData=[], term='', tag='')[source]
redeem(ordId='', protocolType='', allowEarlyRedeem='')[source]
savings_purchase_redemption(ccy='', amt='', side='', rate='')[source]
set_lending_rate(ccy='', rate='')[source]
Inheritance diagram of pyokx.low_rest_api.Earning