Strategy Field

Percent of equity

This option dynamically calculates a quantity based on a desired percentage of your equity. For example, if you set the percent of equity to 10%, the strategy will calculate the quantity based on your equity so that the total value of the position is 10% of your equity.

For example, you can buy 10% of your equity worth of AAPL shares. If you have a $10000 account and the current price of AAPL is $100, the quantity will be calculated as 10.

{
    "ticker": "AAPL",
    "action": "buy",
    "quantityType": "percent_of_equity",
    "quantity": 10
}

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