Back to Webhook Messages
Webhook Messages

Resize Requires Quantity

The quantity field is required when the action is resize. A valid numeric value (0 or greater) must be provided for the quantity so the position can be resized to that target.

This message indicates that the resize action was sent without a quantity. When action is resize, TradersPost adjusts your open position to a target quantity, so a quantity is required. The value must be 0 or greater — a target of 0 flattens the full position.

Invalid resize example (missing quantity):

{
    "ticker": "SPY",
    "action": "resize"
}

Valid resize example:

{
    "ticker": "SPY",
    "action": "resize",
    "quantity": 4
}

Ready to put Resize Requires Quantity to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.