pub struct IndividualComboPosition {Show 20 fields
pub acct_id: Option<String>,
pub asset_class: Option<String>,
pub avg_cost: Option<f64>,
pub avg_price: Option<f64>,
pub con_exch_map: Option<Vec<Value>>,
pub conid: Option<i32>,
pub contract_desc: Option<String>,
pub currency: Option<String>,
pub exchs: Option<Value>,
pub exercise_style: Option<String>,
pub expiry: Option<String>,
pub mkt_price: Option<f64>,
pub mkt_value: Option<f64>,
pub multiplier: Option<f64>,
pub position: Option<f64>,
pub put_or_call: Option<IndividualComboPositionPutOrCall>,
pub realized_pnl: Option<f64>,
pub strike: Option<String>,
pub und_conid: Option<i32>,
pub unrealized_pnl: Option<f64>,
}Fields§
§acct_id: Option<String>IB accountId of an account with a position in the requested conid.
asset_class: Option<String>Asset class of the requested instrument.
avg_cost: Option<f64>The account’s average cost for its position.
avg_price: Option<f64>The account’s average price for its position.
con_exch_map: Option<Vec<Value>>§conid: Option<i32>IB contract ID for the instrument.
contract_desc: Option<String>Human-readable description of the instrument.
currency: Option<String>Currency in which the instrument trades.
exchs: Option<Value>§exercise_style: Option<String>Style of exercise for options.
expiry: Option<String>Expiration of instrument, if applicable.
mkt_price: Option<f64>Current market price of the instrument, in the instrument’s currency.
mkt_value: Option<f64>Current market value of the account’s position in the instrument, in the instrument’s currency.
multiplier: Option<f64>Instrument’s multiplier, if applicable.
position: Option<f64>Size of position in units of instrument.
put_or_call: Option<IndividualComboPositionPutOrCall>The right of an options contract, if applicable.
realized_pnl: Option<f64>Realized PnL for the instrument in the instrument’s currency.
strike: Option<String>Strike price, if applicable. Returned as string.
und_conid: Option<i32>Contract ID of underlying instrument, if applicable.
unrealized_pnl: Option<f64>Unrealized PnL for the instrument in the account.
Trait Implementations§
Source§impl Clone for IndividualComboPosition
impl Clone for IndividualComboPosition
Source§fn clone(&self) -> IndividualComboPosition
fn clone(&self) -> IndividualComboPosition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IndividualComboPosition
impl Debug for IndividualComboPosition
Source§impl Default for IndividualComboPosition
impl Default for IndividualComboPosition
Source§impl<'de> Deserialize<'de> for IndividualComboPosition
impl<'de> Deserialize<'de> for IndividualComboPosition
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 IndividualComboPosition
impl PartialEq for IndividualComboPosition
impl StructuralPartialEq for IndividualComboPosition
Auto Trait Implementations§
impl Freeze for IndividualComboPosition
impl RefUnwindSafe for IndividualComboPosition
impl Send for IndividualComboPosition
impl Sync for IndividualComboPosition
impl Unpin for IndividualComboPosition
impl UnsafeUnpin for IndividualComboPosition
impl UnwindSafe for IndividualComboPosition
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