Back to Webhook Messages
Webhook Messages

Invalid Cancel After

The provided cancelAfter value is invalid. The cancelAfter field must be between 1 and 3600 seconds.

This message indicates that the cancelAfter value provided in the request is invalid. The cancelAfter field sets how many seconds after an entry or exit order is placed TradersPost should cancel it if it is still open.

The cancelAfter field must be between 1 and 3600 seconds. Any other value will be considered invalid, and the request will not be processed.

Invalid cancelAfter examples:

{
    "ticker": "AAPL",
    "action": "buy",
    "cancelAfter": 0
}
{
    "ticker": "AAPL",
    "action": "buy",
    "cancelAfter": 3601
}

Valid cancelAfter example:

{
    "ticker": "AAPL",
    "action": "buy",
    "cancelAfter": 30
}

Ready to put Invalid Cancel After 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.