backtrader.stores package

Data Stores Module - External data source integrations.

This module provides store classes for connecting to external data sources and brokers. Stores handle data retrieval and order execution for live trading.

Available Stores:
  • IBStore: Interactive Brokers integration (optional).

  • OandaStore: OANDA broker integration (optional).

  • VCStore: VisualChart integration (optional).

  • VChartFile: VChart file data source.

示例

Using a store with cerebro: >>> store = bt.stores.IBStore(port=7497) >>> data = store.getdata(dataname='AAPL')

Submodules