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
- async initialize(*aws: Awaitable[ClientResponse]) None ¶
Initialize DataStore from HTTP response data.
対応エンドポイント
GET /api/order_books (
CoincheckDataStore.orderbook
)
- 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