Skip to content

Commit fe3bd16

Browse files
committed
Fix context reference
1 parent b67ce56 commit fe3bd16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/app/algorithm/test_trade_price_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class StrategyOne(TradingStrategy):
1313
interval = 2
1414
market_data_sources = ["BTC/EUR-ohlcv", "BTC/EUR-ticker"]
1515

16-
def apply_strategy(self, algorithm, market_data):
16+
def apply_strategy(self, context, market_data):
1717
pass
1818

1919

@@ -22,7 +22,7 @@ class StrategyTwo(TradingStrategy):
2222
interval = 2
2323
market_data_sources = ["BTC/EUR-ohlcv", "BTC/EUR-ticker"]
2424

25-
def apply_strategy(self, algorithm, market_data):
25+
def apply_strategy(self, context, market_data):
2626
pass
2727

2828

0 commit comments

Comments
 (0)