Skip to content

Commit 3ec13fc

Browse files
committed
Change algorithm parameter to context
1 parent 0d4b04a commit 3ec13fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/app/algorithm/test_run_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_with_decorator(self):
124124
algorithm = Algorithm()
125125

126126
@algorithm.strategy(time_unit=TimeUnit.SECOND, interval=1)
127-
def run_strategy(algorithm, market_data):
127+
def run_strategy(context, market_data):
128128
pass
129129

130130
app.add_algorithm(algorithm)

0 commit comments

Comments
 (0)