pub struct ContractInfo {Show 26 fields
pub allow_sell_long: Option<bool>,
pub category: Option<String>,
pub cfi_code: Option<String>,
pub classifier: Option<String>,
pub company_name: Option<String>,
pub con_id: Option<i32>,
pub contract_clarification_type: Option<String>,
pub contract_month: Option<String>,
pub currency: Option<String>,
pub cusip: Option<String>,
pub exchange: Option<String>,
pub expiry_full: Option<String>,
pub industry: Option<String>,
pub instrument_type: Option<String>,
pub is_zero_commission_security: Option<bool>,
pub local_symbol: Option<String>,
pub maturity_date: Option<String>,
pub multiplier: Option<String>,
pub r_t_h: Option<bool>,
pub smart_available: Option<bool>,
pub symbol: Option<String>,
pub text: Option<String>,
pub trading_class: Option<String>,
pub underlying_con_id: Option<i32>,
pub underlying_issuer: Option<String>,
pub valid_exchanges: Option<String>,
}Fields§
§allow_sell_long: Option<bool>Allowed to sell shares you own.
category: Option<String>Indicates the industry category of the instrument.
cfi_code: Option<String>Classification of Financial Instrument codes
classifier: Option<String>§company_name: Option<String>Indicates the name of the company or index.
con_id: Option<i32>Indicates the contract identifier of the given contract.
contract_clarification_type: Option<String>§contract_month: Option<String>Indicates the year and month the contract expires.
currency: Option<String>Base currency contract is traded in.
cusip: Option<String>Returns the CUSIP for the given instrument. Only used in BOND trading.
exchange: Option<String>Indicates the primary exchange for which the contract can be traded.
expiry_full: Option<String>Returns the expiration month of the contract.
industry: Option<String>Specific group of companies or businesses.
instrument_type: Option<String>Asset class of the instrument.
is_zero_commission_security: Option<bool>Indicates if the contract supports zero commission trading.
local_symbol: Option<String>Contract’s symbol from primary exchange. For options it is the OCC symbol.
maturity_date: Option<String>Indicates the final maturity date of the given contract.
multiplier: Option<String>Indicates the multiplier of the contract.
r_t_h: Option<bool>Indicates if the contract can be traded outside regular trading hours or not.
smart_available: Option<bool>Indicates if the contract can be smart routed or not.
symbol: Option<String>Underlying symbol
text: Option<String>Indicates the display name of the contract, as shown with Client Portal.
trading_class: Option<String>Designated trading class of the contract.
underlying_con_id: Option<i32>Underlying contract identifier for the requested contract.
underlying_issuer: Option<String>Indicates the issuer of the underlying.
valid_exchanges: Option<String>Comma separated list of support exchanges or trading venues.
Trait Implementations§
Source§impl Clone for ContractInfo
impl Clone for ContractInfo
Source§fn clone(&self) -> ContractInfo
fn clone(&self) -> ContractInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ContractInfo
impl Debug for ContractInfo
Source§impl Default for ContractInfo
impl Default for ContractInfo
Source§impl<'de> Deserialize<'de> for ContractInfo
impl<'de> Deserialize<'de> for ContractInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ContractInfo
impl PartialEq for ContractInfo
impl StructuralPartialEq for ContractInfo
Auto Trait Implementations§
impl Freeze for ContractInfo
impl RefUnwindSafe for ContractInfo
impl Send for ContractInfo
impl Sync for ContractInfo
impl Unpin for ContractInfo
impl UnsafeUnpin for ContractInfo
impl UnwindSafe for ContractInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
413 Payload Too Large responses. Read more