Skip to content

Commit afa5ab1

Browse files
committed
Fix algorithm id reference
1 parent b0e13f9 commit afa5ab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/bitvavo_trading_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
# Define your bitvavo trading strategy and register the data sources
2323
class BitvavoTradingStrategy(TradingStrategy):
24-
id = "bitvavo-trading-strategy"
24+
algorithm_id = "bitvavo-trading-strategy"
2525
time_unit = TimeUnit.SECOND
2626
interval = 10
2727
data_sources = [

examples/coinbase_trading_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Define your coinbase trading strategy and register the data sources
1919
class CoinbaseTradingStrategy(TradingStrategy):
20-
id = "coinbase-trading-strategy"
20+
algorithm_id = "coinbase-trading-strategy"
2121
time_unit = TimeUnit.SECOND
2222
interval = 10
2323
data_sources = [

0 commit comments

Comments
 (0)