Cannot resize the open {{ openPositionSide }} {{ openPositionSymbol }} position because the target worked out to zero, and only a target you send as zero may flatten a position. A target given as an amount or a percentage is divided by the current price, so it reaches zero when that amount buys less than one whole unit, or when no price was available to divide by.
This message indicates that a resize action was rejected because the target quantity worked out to zero.
A target sent as fixed_quantity is the number itself, so it always lands where you put it. A target sent as dollar_amount or percent_of_equity is divided by the current price of what you are trading, and that division can reach zero two ways:
0.1, which rounds down to 0 unless fractional quantities are enabled on the strategy.price.Either way TradersPost rejects the signal rather than acting on the zero. This matters most when you already hold a position: a target of zero means flatten, and closing your whole position is not a reasonable answer to an amount that was merely too small, or to a missing quote.
No position order is submitted and existing take-profit, stop-loss, or other resting orders are left in place, because the open position did not change.
{
"ticker": "SPY",
"action": "resize",
"quantity": 50,
"quantityType": "dollar_amount"
}
If you see this message, check first that the amount is large enough to buy at least one unit at the current price — or enable fractional quantities on the strategy if your broker supports them. If the amount is clearly large enough, the quote is the likely cause: check that the ticker is one your broker quotes and that its market data connection is working. Sending a price in the signal also gives TradersPost a value to size against, and a fixed_quantity target takes price out of the equation entirely.
Note that a target of 0 you send yourself is always honoured and flattens the position, because it is the number you sent rather than one that had to be calculated.
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.