Stop loss
Stop loss attaches a stop order to the entry, as a bracket, to limit the loss. Turn it on to choose its Stop type (stop market, stop limit or trailing stop) and where it is placed: a percent or dollar distance from the entry, an exact price, or a dollar loss on the whole position. A trailing stop uses a Stop loss trail percent or Stop loss trail amount instead.
It is ignored if the broker or exchange does not support bracket orders. For a market order a relative stop is worked out from a quote, since the fill price is not known. A stop loss in a signal is used only when signal values are allowed for it (Allow signal override next to the stop loss settings, or the global Signal overrides). In a signal's JSON it is the stopLoss object.
How the stop is worked out, one kind per signal:
Percent from the entry:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"percent": 10
}
}
Dollar amount from the entry:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"amount": 10
}
}
Exact stop price:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"stopPrice": 90
}
}
Stop limit (exact stop price and limit price; a limit price needs a stop price):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop_limit",
"stopPrice": 90,
"limitPrice": 89
}
}
PnL amount (a dollar loss on the whole position):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"pnlAmount": 100
}
}
Trailing stop (a trail amount or a trail percent, exactly one):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "trailing_stop",
"trailAmount": 5
}
}
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "trailing_stop",
"trailPercent": 2
}
}
Every value must be greater than zero. A percent and an amount cannot be sent together, nor a relative value (percent or amount) with an exact price, and a PnL amount cannot be combined with any other kind or with a trailing stop.
Ready to put 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.