Webhook Message

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 automate your trading? Sign up for free today.