Strategy Field

Amount per position

The amount per position dynamic quantity calculation method is used to calculate a quantity based on a desired total notional dollar amount. If you want to buy $1000 worth of AAPL and the price of AAPL is currently $100, then the quantity would be calculated at 10 shares.

You can configure this in your strategy settings or you can use quantityType=amount_per_position in your webhook request to override the strategy setting.

{
    "ticker": "AAPL",
    "action": "buy",
    "quantityType": "amount_per_position",
    "quantity": 1000
}

Ready to automate your trading? Sign up for free today.