This message indicates that the stopLoss.trailPercent provided in the request is invalid. TradersPost requires that the stopLoss.trailPercent be a valid positive number. If a trail percent such as "-5%" or "five percent" is provided, the request will not be processed.
This error can occur due to several reasons, such as:
stopLoss.trailPercent is a negative number.stopLoss.trailPercent is not a number (e.g., it contains letters or special characters).stopLoss.trailPercent is zero or improperly formatted according to the required parameters.stopLoss.trailPercent in your request is a positive number and correctly formatted to avoid this error.Invalid stopLoss.trailPercent example:
{
"ticker": "AAPL",
"action": "sell",
"orderType": "trailing_stop",
"stopLoss": {
"type": "trailing_stop",
"trailPercent": "-5%"
}
}
Valid stopLoss.trailPercent example:
{
"ticker": "AAPL",
"action": "sell",
"orderType": "trailing_stop",
"stopLoss": {
"type": "trailing_stop",
"trailPercent": "5"
}
}
In the above examples, a valid trailing stop loss order includes a positive trailPercent, ensuring clear and precise instructions for the trailing stop loss mechanism.
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.