This message indicates that both relative and absolute take profit values were provided in the request, which is not allowed. TradersPost requires that you specify only one type of take profit value to avoid conflicts. Providing values for both parameters will be considered invalid, and the request will not be processed.
Here is an invalid payload where both a percent and limitPrice are provided, which is not valid:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"percent": "5",
"limitPrice": 105
},
}
Here is a valid payload where only one type of take profit value is provided:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100,
"takeProfit": {
"limitPrice": 105
},
}
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.