Back to Signal Fields
Signal Fields

Trail by

Trail by chooses how a trailing stop order measures its distance from the market price: as a dollar Amount or as a Percent. It shows when the Order type is Trailing Stop, and it chooses between the Trail amount and the Trail percent fields. Exactly one of trailAmount or trailPercent is needed in a signal: both together, or neither, is rejected. A trailing stop can be used with the Buy, Sell, Add, Resize, Exit and Reverse actions.

The stop follows the price as it moves in your favor and never moves back, and the order triggers when the price moves against you by the distance.

Amount sends a trailAmount, a dollar distance:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "trailing_stop",
    "trailAmount": 1
}

Percent sends a trailPercent, a percent distance:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "trailing_stop",
    "trailPercent": 1
}

Ready to put Trail by 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.