Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jocon15 committed Jan 11, 2025
1 parent 2cdce05 commit d988a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StockBench/algorithm/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def __handle_or_triggers(self, triggers: List[Trigger], data_manager: DataManage
for trigger in triggers:
if trigger.indicator_symbol in key:
key_matched_with_trigger = True
# replace any rule values with indicator references with their actual value
# replace any rule values that have indicator references with their actual value
injected_rule_value = self._inject_rule_value_with_values(rule_value, triggers, current_day_index)
trigger_hit = trigger.check_trigger(key, injected_rule_value, data_manager, position, current_day_index)
if trigger_hit:
Expand Down

0 comments on commit d988a8c

Please sign in to comment.