Back to Signal Fields
Signal Fields

Percent of position

The Percent of position method sizes the order as a percentage of the position you already hold in the ticker.

How it's calculated

  • Quantity = open position quantity × (percent ÷ 100)

Example

  • quantity = 50 (50%), open position = 100 shares
  • 100 × 0.50 = 50 shares

It is meant for taking part of a position off or putting part of it on, so it can only be used with the Buy, Sell, Reverse and Exit actions. It is not valid for Resize, and it is available for futures as well. The percent must be greater than zero.

In the signal form, choose Percent of position in the quantity type dropdown beside the quantity, and enter the percent in the Quantity field. Leave the dropdown on Strategy default to use the sizing the strategy subscription sets. In a signal's JSON this is quantityType percent_of_position, with the percent in quantity.

Selling part of a position, and closing part of it with Exit:

{
    "ticker": "AAPL",
    "action": "sell",
    "quantityType": "percent_of_position",
    "quantity": 50
}
{
    "ticker": "AAPL",
    "action": "exit",
    "quantityType": "percent_of_position",
    "quantity": 50
}

Ready to put Percent of position to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.