Create new orders based on percentage allocations.
User API token.
Strategy ID.
An array of positions the strategy should be allocated to.
Slippage represents the percentage offset from the current bid/ask price when placing a limit order. This adjustment helps ensure that orders are more likely to fill by accounting for potential price movements.
Please note that the allocations may not sum precisely to 100%. The following calculation illustrates our approach to determining a conservative buffer for potential fees and slippage:
MaxOrderTotal = BuyingPower * 2ConservativeFeeTotal = MaxOrderTotal * (fee * 2)ConservativeSlippageTotal = MaxOrderTotal * SlippageFinalBuyingPower = BuyingPower - ConservativeFeeTotal - ConservativeSlippageTotal0 <= x <= 2Must be a multiple of 0.001Request was successful.