|
Longbridge OpenAPI C++ SDK
|
#include <types.hpp>
Public Attributes | |
| std::string | symbol |
Option contract code, in ticker.region format. More... | |
| Date | expiry_date |
| Expiry date, in US Eastern time. More... | |
| Decimal | strike_price |
| Strike price. More... | |
| OptionDirection | direction |
| Contract direction. More... | |
| OptionExpiryCycleType | option_type |
| Special expiration cycle of the contract. More... | |
| OptionStandardAttr | standard_attr |
| int32_t | days_to_expiry |
A single option contract of an option chain
Every contract is an independent entry: calls and puts are not paired, so a strike price that is listed on one side only yields a single entry.
| int32_t longbridge::quote::OptionChainContract::days_to_expiry |
Number of days remaining until the option expires, 0 on the expiry day and negative once expired
| OptionDirection longbridge::quote::OptionChainContract::direction |
Contract direction.
| Date longbridge::quote::OptionChainContract::expiry_date |
Expiry date, in US Eastern time.
| OptionExpiryCycleType longbridge::quote::OptionChainContract::option_type |
Special expiration cycle of the contract.
| OptionStandardAttr longbridge::quote::OptionChainContract::standard_attr |
Whether the contract is a legacy contract left over from a corporate action
| Decimal longbridge::quote::OptionChainContract::strike_price |
Strike price.
| std::string longbridge::quote::OptionChainContract::symbol |
Option contract code, in ticker.region format.