Skip to content

Commit 07f69f2

Browse files
committed
Refactor data sources
1 parent 7b8b718 commit 07f69f2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/coinbase_trading_bot/coinbase.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
class CoinBaseTradingStrategy(TradingStrategy):
3737
time_unit = TimeUnit.SECOND
3838
interval = 5
39-
market_data_sources = [
40-
"BTC/EUR-ohlcv",
41-
"BTC/EUR-ticker"
42-
]
39+
market_data_sources = [coinbase_btc_eur_ticker, coinbase_btc_eur_ohlcv_2h]
4340

4441
def apply_strategy(self, algorithm, market_data):
4542
pass

0 commit comments

Comments
 (0)