pybotters.models.gmocoin.GMOCoinDataStore
- class pybotters.models.gmocoin.GMOCoinDataStore(auto_cast: bool = False)
GMOコインのデータストアマネージャー
Methods
__init__([auto_cast])create(name, *[, keys, data, datastore_class])get(name, type)initialize(*aws)対応エンドポイント
onmessage(msg, ws)Clientクラスws_connectメソッドの引数send_jsonに渡すハンドラです。
wait()非同期メソッド。onmessageのイベントがあるまで待機します。
Attributes
executionsorderbooksアクティブオーダーのみ(約定・キャンセル済みは削除される)
position_summarypositionstickertrades- async initialize(*aws: Awaitable[aiohttp.client_reqrep.ClientResponse]) None
対応エンドポイント
GET /private/v1/latestExecutions (DataStore: executions)
GET /private/v1/activeOrders (DataStore: orders)
GET /private/v1/openPositions (DataStore: positions)
GET /private/v1/positionSummary (DataStore: position_summary)
- property orders: pybotters.models.gmocoin.OrderStore
アクティブオーダーのみ(約定・キャンセル済みは削除される)