Back to Strategy Fields
Strategy Fields

Allow signal stop loss

If you check Allow signal override next to the stop loss settings, then the stopLoss parameter in your webhook will be used if it exists. If the parameter does not exist in your webhook, then the stop loss configured in the strategy settings will be used.

Checking the global Allow signal overrides automatically checks every per-field Allow signal override checkbox (including the one next to the stop loss settings), so stopLoss is honored.

You can control stop losses with a relative dollar amount, a relative percentage, absolute stopPrice / limitPrice, or a portfolio PnL cap (pnlAmount) for stop and stop limit types. Do not mix pnlAmount with percent, amount, or absolute stop fields in the same stopLoss object. PnL stop loss does not apply to trailing stops.

In the following example, a stopLoss.stopPrice of $90 is calculated from the stopLoss.amount of $10 and the entry price of $100.

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "stopLoss": {
        "type": "stop",
        "amount": 10
    }
}

In this example, a stopLoss.stopPrice of $90 is calculated from the stopLoss.percent of 10% and the entry price of $100.

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "stopLoss": {
        "type": "stop",
        "percent": 10
    }
}

Or if you want to control the stopLoss.stopPrice directly, you can do so as well.

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "stopLoss": {
        "stopPrice": 90
    }
}

PnL-based stop loss from the webhook (stopLoss.type stop or stop_limit with pnlAmount):

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "stopLoss": {
        "type": "stop",
        "pnlAmount": 100
    }
}

Ready to put Allow signal stop loss 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.