Strategy Field

Dollar amount

The Dollar amount method sets position size from a target notional dollar amount.

How it's calculated

  • Quantity = dollar amount ÷ entry price

Example

  • quantity = 1000 ($1000), entry price = $100
  • 1000 ÷ 100 = 10 shares

Configure this in your strategy under Quantity calculation methodDollar amount, or override it in a webhook by sending quantityType=dollar_amount with quantity as the dollar amount.

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

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now