pybotters.GMOCoinDataStore¶
- class pybotters.GMOCoinDataStore¶
GMO Coin の DataStoreCollection クラス
Methods
__init__
()initialize
(*aws)Initialize DataStore from HTTP response data.
onmessage
(msg, ws)WebSocket message handler.
wait
()DataStoreCollection の onmessage ハンドラが呼び出しされるまで待機します。
Attributes
executionEvents channel.
orderbooks channel.
orderEvents channel.
positionSummaryEvents channel.
positionEvents channel.
ticker channel.
trades channel.
- property executions: ExecutionStore¶
executionEvents channel.
- async initialize(*aws: Awaitable[ClientResponse]) None ¶
Initialize DataStore from HTTP response data.
対応エンドポイント
GET /private/v1/latestExecutions (
CoincheckDataStore.executions
)GET /private/v1/activeOrders (
CoincheckDataStore.orders
)GET /private/v1/openPositions (
CoincheckDataStore.positions
)GET /private/v1/positionSummary (
CoincheckDataStore.position_summary
)POST /private/v1/ws-auth (
CoincheckDataStore.token
)
- property orderbooks: OrderBookStore¶
orderbooks channel.
- property orders: OrderStore¶
orderEvents channel.
アクティブオーダーのみデータが格納されます。 キャンセル、約定済みなどは削除されます。
- property position_summary: PositionSummaryStore¶
positionSummaryEvents channel.
- property positions: PositionStore¶
positionEvents channel.
- property ticker: TickerStore¶
ticker channel.
- property trades: TradeStore¶
trades channel.