This message indicates that stopLoss.pnlAmount was sent together with another stop loss price mode in the same request. Portfolio PnL stop loss must be used alone: you cannot combine pnlAmount with stopLoss.percent, stopLoss.amount, stopLoss.stopPrice, or stopLoss.limitPrice.
Invalid example (PnL plus percent):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"pnlAmount": 100,
"percent": "5"
}
}
Valid example (PnL only):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"pnlAmount": 100
}
}
Valid example (relative percent only):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"percent": "5"
}
}
Free 7-day trial
Set-up in 3 minutes
Paper account for testing
Your browser didn't send the information this action needs.
That usually means a privacy tool, ad blocker, or other browser extension changed the page before you clicked. Nothing is wrong with your account.
What to try: allow this site in your ad blocker or privacy extension, use a private window with extensions turned off, or reload the page and try again.
Still stuck? Contact support and we can help.