Back to Community
Typo in docs?

On at order_target_percent it says

order_target_value does not take into account any open orders. For

order_target_percent(sid(0), 10)
order_target_percent(sid(0), 10)
code will result in 20% of the portfolio being allocated to sid(0)
because the first call to order_target_percent will not have been
filled when the second order_target_percent call is made.

Shouldn't that be order_target_percent(sid(0), 0.1) ?