This message indicates that both the stopLoss.amount and stopLoss.percent were provided in the request, which is not allowed. TradersPost requires that you specify only one of these values to set the stop loss. Providing values for both parameters will be considered invalid, and the request will not be processed.
Invalid stopLoss example where both amount and percent are provided:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"amount": 10,
"percent": 5
},
}
Valid stopLoss example (amount only) that will calculate a $90 stop price:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"stopLoss": {
"type": "stop",
"amount": 10
},
}
Valid stopLoss example (percent only) that will calculate a $95 stop price:
{
"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.