pybotters.bitFlyerDataStore

class pybotters.bitFlyerDataStore

bitFlyer の DataStoreCollection クラス

Methods

__init__()

initialize(*aws)

Initialize DataStore from HTTP response data.

onmessage(msg, ws)

WebSocket message handler.

wait()

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

Attributes

balance

Handmade balance from child_order_events channel.

board

lightning_board/lightning_board_snapshot channel.

childorderevents

child_order_events channel.

childorders

Handmade childorders from child_order_events channel.

executions

lightning_executions channel.

parentorderevents

parent_order_events channel.

parentorders

Handmade parentorders from parent_order_events channel.

positions

Handmade positions from child_order_events channel.

ticker

lightning_ticker channel.

property balance: Balance

Handmade balance from child_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-child-order-events

property board: Board

lightning_board/lightning_board_snapshot channel.

property childorderevents: ChildOrderEvents

child_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-child-order-events

property childorders: ChildOrders

Handmade childorders from child_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-child-order-events

property executions: Executions

lightning_executions channel.

https://bf-lightning-api.readme.io/docs/realtime-executions

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

Initialize DataStore from HTTP response data.

対応エンドポイント

property parentorderevents: ParentOrderEvents

parent_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-parent-order-events

property parentorders: ParentOrders

Handmade parentorders from parent_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-parent-order-events

property positions: Positions

Handmade positions from child_order_events channel.

https://bf-lightning-api.readme.io/docs/realtime-child-order-events

property ticker: Ticker

lightning_ticker channel.

https://bf-lightning-api.readme.io/docs/realtime-ticker