Back to Webhook Messages
Webhook Messages

Invalid Option Type

The provided optionType is invalid. The optionType field must be one of the following values: both, call, or put.

This message indicates that an invalid optionType was provided in the request. TradersPost requires that the optionType parameter be specified as one of the following values: both, call, or put. Any other value will be considered invalid and the request will not be processed.

Here is an example of a valid request with the optionType parameter specified correctly. This request will buy calls that are 6 months out, are in the money and are 1 strike away from at the money.

{
    "ticker": "AAPL",
    "action": "buy",
    "optionType": "call",
    "expiration": "+6 months",
    "intrinsicValue": "itm",
    "strikesAway": 1
}

Ready to put Invalid Option Type 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.