@@ -21,11 +21,11 @@ components for creating algorithms, including data provisioning,
21
21
portfolio management, and order execution.
22
22
23
23
Features:
24
- * Order execution
24
+ * Order execution and tracking
25
25
* Broker and exchange connections through [ ccxt] ( https://github.com/ccxt/ccxt )
26
- * Backtesting and performance analysis reports [ example] ( ./examples/backtest )
27
- * Backtest experiments to optimize your trading strategy [ example] ( ./examples/backtest_experiment )
28
- * Portfolio management
26
+ * Backtesting and performance analysis reports [ example] ( ./examples/backtest_example )
27
+ * Backtesting multiple algorithms with different backtest date ranges [ example] ( ./examples/backtests_example )
28
+ * Portfolio management and tracking
29
29
* Web API for interacting with your deployed trading bot
30
30
* Data persistence through sqlite db or an in-memory db
31
31
* Stateless running for cloud function deployments
@@ -68,9 +68,6 @@ bitvavo_btc_eur_ticker = CCXTTickerMarketDataSource(
68
68
)
69
69
app = create_app(config = config)
70
70
algorithm = Algorithm()
71
-
72
- app.add_market_data_source(bitvavo_btc_eur_ohlcv_2h)
73
- app.add_market_data_source(bitvavo_btc_eur_ticker)
74
71
app.add_market_credential(MarketCredential(
75
72
market = " bitvavo" ,
76
73
api_key = " <your api key>" ,
@@ -90,7 +87,7 @@ app.add_algorithm(algorithm)
90
87
time_unit = TimeUnit.HOUR ,
91
88
interval = 2 ,
92
89
# Specify market data sources that need to be passed to the strategy
93
- market_data_sources = [" BTC-ticker " , " BTC-ohlcv " ]
90
+ market_data_sources = [bitvavo_btc_eur_ticker, bitvavo_btc_eur_ohlcv_2h ]
94
91
)
95
92
def perform_strategy (algorithm : Algorithm, market_data : dict ):
96
93
# By default, ohlcv data is passed as polars df in the form of
0 commit comments