pyokx.low_rest_api.MarketData

class pyokx.low_rest_api.MarketData.MarketAPI(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

get_block_ticker(instId='')[source]
get_block_tickers(instType='', uly='', instFamily='')[source]
get_block_trades(instId='')[source]
get_candlesticks(instId, after='', before='', bar='', limit='')[source]
get_exchange_rate()[source]
get_history_candlesticks(instId, after='', before='', bar='', limit='')[source]
get_history_trades(instId='', type='', after='', before='', limit='')[source]
get_index_candlesticks(instId, after='', before='', bar='', limit='')[source]
get_index_components(index='')[source]
get_index_tickers(quoteCcy='', instId='')[source]
get_mark_price_candlesticks(instId, after='', before='', bar='', limit='')[source]
get_option_trades(instFamily='')[source]
get_oracle()[source]
get_order_lite_book(instId='')[source]
get_orderbook(instId, sz='')[source]
get_ticker(instId)[source]
get_tickers(instType, uly='', instFamily='')[source]
get_tier(instType='', tdMode='', uly='', instId='', ccy='', tier='')[source]
get_trades(instId, limit='')[source]
get_volume()[source]
Inheritance diagram of pyokx.low_rest_api.MarketData