Skip to content

Commit

Permalink
can use long only constraint in dynamic optimisation now
Browse files Browse the repository at this point in the history
  • Loading branch information
rob committed Nov 6, 2023
1 parent af7ceee commit 562aeb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_data_and_calculate_for_code(
no_trade = False
else:
no_trade = instrument_code in input_data.no_trade_keys
if input_data.long_only is arg_not_supplied:
if input_data.long_only_keys is arg_not_supplied:
long_only = False
else:
long_only = instrument_code in input_data.long_only_keys
Expand Down

0 comments on commit 562aeb6

Please sign in to comment.