The provided quantityType action is invalid. The risk_percent quantityType can only be used when the action field is set to buy, sell, reverse, or add.
This message indicates that an invalid quantityType and action combination was provided in the request. The risk_percent quantity type can only be used with the following actions: buy, sell, reverse, or add. Any other action used in conjunction with risk_percent will be considered invalid, and the request will not be processed.
Invalid risk_percent example:
{
"ticker": "AAPL",
"action": "exit",
"quantityType": "risk_percent",
"quantity": 1
}
Valid risk_percent example:
{
"ticker": "AAPL",
"action": "buy",
"quantityType": "risk_percent",
"quantity": 1,
"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.