This message indicates that takeProfit.pnlAmount was sent together with another take profit mode in the same request. Portfolio PnL take profit must be used alone: you cannot combine pnlAmount with takeProfit.percent, takeProfit.amount, or takeProfit.limitPrice.
Invalid example (PnL plus relative amount):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"pnlAmount": 100,
"amount": 10
}
}
Valid example (PnL only):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"pnlAmount": 100
}
}
Valid example (relative percent only):
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"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.