pyokx.low_rest_api.CopyTrading

class pyokx.low_rest_api.CopyTrading.CopyTradingAPI(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

amend_leading_instruments(instId='')[source]
close_leading_position(subPosId='')[source]
get_existing_leading_positions(instId='')[source]
get_leading_instruments()[source]
get_leading_position_history(instId='', after='', before='', limit='')[source]
get_profit_sharing_details(after='', before='', limit='')[source]
get_total_profit_sharing()[source]
get_unrealized_profit_sharing_details()[source]
place_leading_stop_order(subPosId='', tpTriggerPx='', slTriggerPx='', tpTriggerPxType='', slTriggerPxType='')[source]
Inheritance diagram of pyokx.low_rest_api.CopyTrading