Back to Webhook Messages
Webhook Messages

Invalid Stop Loss Pnl Amount

The provided stopLoss.pnlAmount is invalid. The stopLoss.pnlAmount field must be a positive numeric value representing a portfolio PnL stop target in dollars.

This message indicates that the stopLoss.pnlAmount provided in the request is invalid. TradersPost requires that stopLoss.pnlAmount be a positive numeric value representing a portfolio PnL stop target in dollars. That value is converted into a stop price using the quantity calculated for the planned entry before the order is sent to the broker, and the symbol's point value from the quote (for example, dollar value per price point for futures, or the options contract multiplier - 100 per contract for standard equity options). Use PnL stop loss only with stopLoss.type stop or stop_limit, not trailing_stop.

This error can occur when:

  • stopLoss.pnlAmount is zero, negative, or not a number.
  • stopLoss.pnlAmount is missing or improperly formatted.

Invalid stopLoss.pnlAmount example:

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

Valid stopLoss.pnlAmount example:

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

Do not combine pnlAmount with stopLoss.percent, stopLoss.amount, stopLoss.stopPrice, or stopLoss.limitPrice in the same request. If you do, TradersPost returns an error that stopLoss.pnlAmount cannot be combined with those fields.

Ready to put Invalid Stop Loss Pnl Amount 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.