Skip to content

Commit

Permalink
Refactor data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
MDUYN committed Jul 1, 2024
1 parent 9064138 commit 7b8b718
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/bitvavo_trading_bot/bitvavo.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
class BitvavoTradingStrategy(TradingStrategy):
time_unit = TimeUnit.HOUR
interval = 2
market_data_sources = [
"BTC/EUR-ohlcv",
"BTC/EUR-ticker"
]
market_data_sources = [bitvavo_btc_eur_ohlcv_2h, bitvavo_btc_eur_ticker]

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

0 comments on commit 7b8b718

Please sign in to comment.