pybotters.CoincheckDataStore

class pybotters.CoincheckDataStore

Coincheck の DataStoreCollection クラス

Methods

__init__()

initialize(*aws)

Initialize DataStore from HTTP response data.

onmessage(msg, ws)

WebSocket message handler.

wait()

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

Attributes

orderbook

orderbook channel.

trades

trades channel.

async initialize(*aws: Awaitable[ClientResponse]) None

Initialize DataStore from HTTP response data.

対応エンドポイント

property orderbook: Orderbook

orderbook channel.

https://coincheck.com/ja/documents/exchange/api#websocket-order-book

property trades: Trades

trades channel.

https://coincheck.com/ja/documents/exchange/api#websocket-trades