Join us live for TradersPost Tutor Sessions today at 1pm EST. Join us to learn, ask questions, and level up your automation game. Watch on YouTube
Strategy Field

Option type

The option type setting allows you to control the type of option contract you want to trade. The option type can be set to one of the following values:

  • Both: Buys long calls on action=buy and buys long puts on action=sell. This approach involves buying call options when expecting the underlying asset to rise and buying put options when expecting it to fall.
  • Calls: Buys long calls on action=buy and sells short calls on action=sell. This means buying call options when expecting the asset to rise and selling (writing) call options when expecting it to fall.
  • Puts: Buys long puts on action=buy and sells short puts on action=sell. This involves buying put options when expecting the asset to rise and selling (writing) put options when expecting it to fall.
  • You can check the "Invert puts" checkbox if you want to invert the logic for puts so that action=buy will sell short puts and action=sell will buy long puts. This is useful if your strategy is running on the underlying chart but you are buying and selling put options instead of shares.

You can override the configured default option type by providing the optionType field in the webhook payload. The field accepts one of the following values: both, call, or put.

{
    "ticker": "TSLA",
    "action": "buy",
    "optionType": "call"
}

You also have the ability to send the full option contract symbol in the ticker parameter instead of using the option chain scanning functionality. This example will override all the options settings in the strategy settings:

{
    "ticker": "AAPL 210121C325",
    "action": "buy"
}

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now