Hello,
I want to control leverage and limit it to never go above 1 while using order_value.
I know that most commonly this: context.target_pct_per_stock = 1.0 / len(context.stocks) is used when we have a list of stocks and are using order_target_percent but haven't found a way to limit leverage using order_value.
Apologies if this was a silly question.