Back to Webhook Messages
Webhook Messages

Invalid Extended Hours

The provided extendedHours value is invalid. The extendedHours field must be a boolean true or false value and can only be used with the stocks asset class.

This message indicates that an invalid value for extendedHours was provided in the request. TradersPost requires that the extendedHours parameter be specified as a boolean value, either true or false. Any other value will be considered invalid and the request will not be processed.

Invalid extendedHours example:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "extendedHours": "yes"
}

Valid extendedHours example:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "extendedHours": true
}

Ready to put Invalid Extended Hours 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.