The provided quantityType is invalid for the specified action. The quantityType field can only be used when the action field is set to buy, sell, reverse, exit, or add.
This message indicates that an invalid action was provided for the specified quantityType in the request. TradersPost requires that the quantityType parameter can only be used with the following actions: buy, sell, reverse, exit, or add. Any other action used in conjunction with a quantityType will be considered invalid, and the request will not be processed.
Example invalid quantityType action:
{
"ticker": "AAPL",
"action": "cancel",
"quantityType": "percent_of_equity",
"quantity": 50
}
Since action=cancel, the percent_of_equity is not relevant when canceling open orders, so the request will not be processed. You can opt into order canceling for that signal by sending "cancel": true or "action": "cancel" in your webhook/signal JSON when needed (for example, when using take profit or stop loss with your entry).
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.