The stop loss configuration is invalid. If you do not provide a relative stop loss, you must provide stopLoss.stopPrice. stopLoss.limitPrice cannot be used without stopLoss.stopPrice.
This message indicates that a stop loss value provided in the request is invalid because a stopPrice is required when using absolute stop loss fields. TradersPost requires that stopLoss.limitPrice cannot be sent without stopLoss.stopPrice. Without a stopPrice, the request will not be processed.
This error can occur due to several reasons, such as:
stopLoss.limitPrice is set without stopLoss.stopPrice.stopPrice for absolute stop loss orders.stopPrice whenever you send an absolute stop loss limit price.Invalid stopLoss example where limitPrice is set without stopPrice:
{
"ticker": "AAPL",
"action": "sell",
"orderType": "stop_limit",
"stopLoss": {
"type": "stop_limit",
"limitPrice": 95
}
}
Valid stopLoss value example:
{
"ticker": "AAPL",
"action": "sell",
"orderType": "stop",
"stopLoss": {
"type": "stop",
"stopPrice": 95
}
}
In the above examples, a valid stop loss order includes a stopPrice when using absolute stop loss fields, ensuring clear and precise instructions for when the stop loss order should be triggered.
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.