pub struct ContractDetails {Show 65 fields
pub contract: Contract,
pub market_name: String,
pub min_tick: f64,
pub order_types: String,
pub valid_exchanges: String,
pub price_magnifier: i32,
pub under_con_id: i32,
pub long_name: String,
pub contract_month: String,
pub industry: String,
pub category: String,
pub subcategory: String,
pub time_zone_id: String,
pub trading_hours: String,
pub liquid_hours: String,
pub ev_rule: String,
pub ev_multiplier: f64,
pub sec_id_list: Vec<TagValue>,
pub aggregate_group: i32,
pub under_symbol: String,
pub under_sec_type: String,
pub market_rule_ids: String,
pub cusip: String,
pub issue_date: String,
pub ratings: String,
pub bond_type: String,
pub coupon: f64,
pub coupon_type: String,
pub convertible: bool,
pub callable: bool,
pub puttable: bool,
pub desc_append: String,
pub next_option_date: String,
pub next_option_type: String,
pub next_option_partial: bool,
pub bond_notes: String,
pub real_expiration_date: String,
pub stock_type: String,
pub min_size: Decimal,
pub size_increment: Decimal,
pub suggested_size_increment: Decimal,
pub fund_name: String,
pub fund_family: String,
pub fund_type: String,
pub fund_front_load: String,
pub fund_back_load: String,
pub fund_back_load_time_interval: String,
pub fund_management_fee: String,
pub fund_closed: bool,
pub fund_closed_for_new_investors: bool,
pub fund_closed_for_new_money: bool,
pub fund_notify_amount: String,
pub fund_minimum_initial_purchase: String,
pub fund_minimum_subsequent_purchase: String,
pub fund_blue_sky_states: String,
pub fund_blue_sky_territories: String,
pub fund_distribution_policy_indicator: String,
pub fund_asset_type: String,
pub ineligibility_reason_list: Vec<IneligibilityReason>,
pub event_contract1: String,
pub event_contract_description1: String,
pub event_contract_description2: String,
pub min_algo_size: Decimal,
pub last_price_precision: Decimal,
pub last_size_precision: Decimal,
}Expand description
Contract details returned by TWS.
Fields§
§contract: ContractContract.
market_name: StringMarket name.
min_tick: f64Minimum tick.
order_types: StringSupported order types.
valid_exchanges: StringValid exchanges.
price_magnifier: i32Price magnifier.
under_con_id: i32Underlying conId.
long_name: StringLong name.
contract_month: StringContract month.
industry: StringIndustry.
category: StringCategory.
subcategory: StringSubcategory.
time_zone_id: StringTime zone id.
trading_hours: StringTrading hours.
liquid_hours: StringLiquid hours.
ev_rule: StringEconomic value rule.
ev_multiplier: f64Economic value multiplier.
sec_id_list: Vec<TagValue>Security identifiers returned by TWS.
aggregate_group: i32Market-data aggregation group.
under_symbol: StringUnderlying symbol.
under_sec_type: StringUnderlying security type.
market_rule_ids: StringMarket rule ids.
cusip: StringCUSIP.
issue_date: StringIssue date.
ratings: StringRatings.
bond_type: StringBond type.
coupon: f64Coupon.
coupon_type: StringCoupon type.
convertible: boolConvertible flag.
callable: boolCallable flag.
puttable: boolPuttable flag.
desc_append: StringDescription append.
next_option_date: StringNext option date.
next_option_type: StringNext option type.
next_option_partial: boolNext option partial flag.
bond_notes: StringBond notes.
real_expiration_date: StringReal expiration date.
stock_type: StringStock type.
min_size: DecimalMinimum order size.
size_increment: DecimalOrder-size increment.
suggested_size_increment: DecimalSuggested order-size increment.
fund_name: StringFund name.
fund_family: StringFund family.
fund_type: StringFund type code.
fund_front_load: StringFund front load.
fund_back_load: StringFund back load.
fund_back_load_time_interval: StringFund back-load interval.
fund_management_fee: StringFund management fee.
fund_closed: boolWhether the fund is closed.
fund_closed_for_new_investors: boolWhether the fund is closed to new investors.
fund_closed_for_new_money: boolWhether the fund is closed to new money.
fund_notify_amount: StringFund notification amount.
fund_minimum_initial_purchase: StringMinimum initial purchase.
fund_minimum_subsequent_purchase: StringMinimum subsequent purchase.
fund_blue_sky_states: StringBlue-sky states.
fund_blue_sky_territories: StringBlue-sky territories.
fund_distribution_policy_indicator: StringDistribution policy indicator.
fund_asset_type: StringAsset type.
ineligibility_reason_list: Vec<IneligibilityReason>Ineligibility reasons.
event_contract1: StringFirst event contract.
event_contract_description1: StringFirst event contract description.
event_contract_description2: StringSecond event contract description.
min_algo_size: DecimalMinimum algorithmic order size.
last_price_precision: DecimalLast-price precision.
last_size_precision: DecimalLast-size precision.
Trait Implementations§
Source§impl Clone for ContractDetails
impl Clone for ContractDetails
Source§fn clone(&self) -> ContractDetails
fn clone(&self) -> ContractDetails
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more