backtrader.bokeh.live package¶
Live functionality module.
Provides real-time data processing and client management functionality.
- class backtrader.bokeh.live.LiveClient[源代码]¶
基类:
objectLive client.
Provides real-time plotting functionality, including: - Data filtering - Navigation controls (pause/play/forward/backward) - Data updates
- doc¶
Bokeh document instance
- model¶
Bokeh root model
- lookback¶
Historical data retention
- fill_gaps¶
Whether to fill data gaps
- plotgroup¶
Plot group for filtering
- NAV_BUTTON_WIDTH = 38¶
- class backtrader.bokeh.live.LiveDataHandler[源代码]¶
基类:
objectLive data handler.
Responsible for receiving, storing and pushing real-time data.
- _doc¶
Bokeh document
- _app¶
BacktraderBokeh application
- _figid¶
Figure page ID
- _lookback¶
Historical data retention
- _fill_gaps¶
Whether to fill data gaps