pybotters.BitMEXDataStore

class pybotters.BitMEXDataStore

BitMEX の DataStoreCollection クラス

Methods

__init__()

onmessage(msg, ws)

WebSocket message handler.

wait()

DataStoreCollection の onmessage ハンドラが呼び出しされるまで待機します。

Attributes

execution

execution topic.

funding

funding topic.

instrument

instrument topic.

insurance

insurance topic.

liquidation

liquidation topic.

margin

margin topic.

order

order topic.

orderbook

orderbook topic.

position

position topic.

quote

quote topic.

quotebin1d

quotebin1d topic.

quotebin1h

quotebin1h topic.

quotebin1m

quotebin1m topic.

quotebin5m

quotebin5m topic.

trade

trade topic.

tradebin1d

tradebin1d topic.

tradebin1h

tradebin1h topic.

tradebin1m

tradebin1m topic.

tradebin5m

tradebin5m topic.

wallet

wallet topic.

property execution: DataStore

execution topic.

property funding: DataStore

funding topic.

property instrument: DataStore

instrument topic.

property insurance: DataStore

insurance topic.

property liquidation: DataStore

liquidation topic.

property margin: DataStore

margin topic.

property order: DataStore

order topic.

アクティブオーダーのみデータが格納されます。 キャンセル、約定済みなどは削除されます。

property orderbook: DataStore

orderbook topic.

property position: DataStore

position topic.

property quote: DataStore

quote topic.

property quotebin1d: DataStore

quotebin1d topic.

property quotebin1h: DataStore

quotebin1h topic.

property quotebin1m: DataStore

quotebin1m topic.

property quotebin5m: DataStore

quotebin5m topic.

property trade: DataStore

trade topic.

property tradebin1d: DataStore

tradebin1d topic.

property tradebin1h: DataStore

tradebin1h topic.

property tradebin1m: DataStore

tradebin1m topic.

property tradebin5m: DataStore

tradebin5m topic.

property wallet: DataStore

wallet topic.