Skip to content

Commit 7b8b718

Browse files
committed
Refactor data sources
1 parent 9064138 commit 7b8b718

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/bitvavo_trading_bot/bitvavo.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@
3838
class BitvavoTradingStrategy(TradingStrategy):
3939
time_unit = TimeUnit.HOUR
4040
interval = 2
41-
market_data_sources = [
42-
"BTC/EUR-ohlcv",
43-
"BTC/EUR-ticker"
44-
]
41+
market_data_sources = [bitvavo_btc_eur_ohlcv_2h, bitvavo_btc_eur_ticker]
4542

4643
def apply_strategy(self, algorithm, market_data):
4744
print(market_data["BTC/EUR-ohlcv"])

0 commit comments

Comments
 (0)