preflight_put_debit_spread
Estimate the cost of a bear put spread before placing the order. Specify the put options to buy and sell, quantity, and limit price to preview the net debit.
Instructions
Estimate costs for a Bear Put Spread (put debit spread) before placing it.
Buy a higher-strike put, sell a lower-strike put. Pays a net debit. Does NOT place an order.
Args: sell_contract_osi: OSI symbol of the put to sell (lower strike). buy_contract_osi: OSI symbol of the put to buy (higher strike). quantity: Number of spreads. limit_price: Net debit to pay per spread (positive = debit paid). time_in_force: DAY or GTD. Default is DAY. expiration_time: Required when time_in_force is GTD. ISO 8601 format. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sell_contract_osi | Yes | ||
| buy_contract_osi | Yes | ||
| quantity | Yes | ||
| limit_price | Yes | ||
| time_in_force | No | DAY | |
| expiration_time | No | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |