pyokx.low_rest_api.BlockTrading

class pyokx.low_rest_api.BlockTrading.BlockTradingAPI(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_all_quotes()[source]
cancel_all_rfqs()[source]
cancel_batch_quotes(quoteIds='', clQuoteIds='')[source]
cancel_batch_rfqs(rfqIds=[], clRfqIds=[])[source]
cancel_quote(quoteId='', clQuoteId='')[source]
cancel_rfq(rfqId='', clRfqId='')[source]
counterparties()[source]
create_quote(rfqId='', clQuoteId='', tag='', quoteSide='', legs=[], anonymous=False, expiresIn='')[source]
create_rfq(counterparties=[], anonymous='false', clRfqId='', tag='', allowPartialExecution='false', legs=[])[source]
execute_quote(rfqId='', quoteId='', legs=[])[source]
get_public_trades(beginId='', endId='', limit='')[source]
get_quote_products()[source]
get_quotes(rfqId='', clRfqId='', quoteId='', clQuoteId='', state='', beginId='', endId='', limit='')[source]
get_rfqs(rfqId='', clRfqId='', state='', beginId='', endId='', limit='')[source]
get_trades(rfqId='', clRfqId='', quoteId='', clQuoteId='', state='', beginId='', endId='', beginTs='', endTs='', limit='')[source]
reset_mmp()[source]
set_marker_instrument(params=[])[source]
Inheritance diagram of pyokx.low_rest_api.BlockTrading