pybotters.BinanceCOINMDataStore

class pybotters.BinanceCOINMDataStore

Binance COIN-M の DataStoreCollection クラス

Methods

__init__()

initialize(*aws)

Initialize DataStore from HTTP response data.

onmessage(msg, ws)

WebSocket message handler.

wait()

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

Attributes

balance

ACCOUNT_UPDATE from User Data Streams.

bookticker

bookTicker stream.

continuouskline

continuous_kline stream.

indexprice

indexprice stream.

indexpricekline

indexpricekline stream.

kline

kline stream.

liquidation

forceOrder stream.

markprice

markPriceUpdate stream.

markpricekline

markpricekline stream.

order

executionReport/ORDER_TRADE_UPDATE from User Data Streams.

orderbook

depthUpdate stream.

position

ACCOUNT_UPDATE from User Data Streams.

ticker

24hrMiniTicker/24hrTicker stream.

trade

trade/aggTrade stream.

property indexprice: IndexPrice

indexprice stream.

https://binance-docs.github.io/apidocs/delivery/en/#index-price-stream

property indexpricekline: Kline

indexpricekline stream.

https://binance-docs.github.io/apidocs/delivery/en/#index-kline-candlestick-streams

property markpricekline: Kline

markpricekline stream.

https://binance-docs.github.io/apidocs/delivery/en/#mark-price-kline-candlestick-streams