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[aiohttp.ClientResponse]) None¶
Initialize DataStore from HTTP response data.
対応エンドポイント
GET /private/v1/latestExecutions (
GMOCoinDataStore.executions)GET /private/v1/activeOrders (
GMOCoinDataStore.orders)GET /private/v1/openPositions (
GMOCoinDataStore.positions)GET /private/v1/positionSummary (
GMOCoinDataStore.position_summary)
- 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.