AccountSummaryTags

Struct AccountSummaryTags 

Source
pub struct AccountSummaryTags {}
Expand description

Constants for account summary tags used in account summary requests. These tags define which account information fields to retrieve.

Implementations§

Source§

impl AccountSummaryTags

Source

pub const ACCOUNT_TYPE: &'static str = "AccountType"

Identifies the account type (e.g. cash, margin, IRA).

Source

pub const NET_LIQUIDATION: &'static str = "NetLiquidation"

Net liquidation value of the account including cash and positions.

Source

pub const TOTAL_CASH_VALUE: &'static str = "TotalCashValue"

Total cash across currencies converted to the base currency.

Source

pub const SETTLED_CASH: &'static str = "SettledCash"

Settled cash available for trading.

Source

pub const ACCRUED_CASH: &'static str = "AccruedCash"

Accrued cash such as interest or dividends due.

Source

pub const BUYING_POWER: &'static str = "BuyingPower"

Maximum capital available to open new positions.

Source

pub const EQUITY_WITH_LOAN_VALUE: &'static str = "EquityWithLoanValue"

Equity with loan value after margin calculations.

Source

pub const PREVIOUS_EQUITY_WITH_LOAN_VALUE: &'static str = "PreviousEquityWithLoanValue"

Equity with loan value recorded on the previous trading day.

Source

pub const GROSS_POSITION_VALUE: &'static str = "GrossPositionValue"

Gross market value of all positions.

Source

pub const REQ_T_EQUITY: &'static str = "RegTEquity"

Regulation-T equity available in the account.

Source

pub const REQ_T_MARGIN: &'static str = "RegTMargin"

Regulation-T margin requirement.

Source

pub const SMA: &'static str = "SMA"

Special Memorandum Account value as defined by Regulation-T.

Source

pub const INIT_MARGIN_REQ: &'static str = "InitMarginReq"

Initial margin requirement for current positions.

Source

pub const MAINT_MARGIN_REQ: &'static str = "MaintMarginReq"

Maintenance margin requirement for current positions.

Source

pub const AVAILABLE_FUNDS: &'static str = "AvailableFunds"

Funds currently available for trading.

Source

pub const EXCESS_LIQUIDITY: &'static str = "ExcessLiquidity"

Excess liquidity above maintenance requirements.

Source

pub const CUSHION: &'static str = "Cushion"

Cushion percentage representing excess liquidity scaled by equity.

Source

pub const FULL_INIT_MARGIN_REQ: &'static str = "FullInitMarginReq"

Full initial margin requirement across all related accounts.

Source

pub const FULL_MAINT_MARGIN_REQ: &'static str = "FullMaintMarginReq"

Full maintenance margin requirement across all related accounts.

Source

pub const FULL_AVAILABLE_FUNDS: &'static str = "FullAvailableFunds"

Full funds available for trading across all related accounts.

Source

pub const FULL_EXCESS_LIQUIDITY: &'static str = "FullExcessLiquidity"

Full excess liquidity across all related accounts.

Source

pub const LOOK_AHEAD_NEXT_CHANGE: &'static str = "LookAheadNextChange"

Estimated time of the next margin change event.

Source

pub const LOOK_AHEAD_INIT_MARGIN_REQ: &'static str = "LookAheadInitMarginReq"

Projected initial margin requirement at the next change.

Source

pub const LOOK_AHEAD_MAINT_MARGIN_REQ: &'static str = "LookAheadMaintMarginReq"

Projected maintenance margin requirement at the next change.

Source

pub const LOOK_AHEAD_AVAILABLE_FUNDS: &'static str = "LookAheadAvailableFunds"

Projected funds available for trading at the next change.

Source

pub const LOOK_AHEAD_EXCESS_LIQUIDITY: &'static str = "LookAheadExcessLiquidity"

Projected excess liquidity at the next change.

Source

pub const HIGHEST_SEVERITY: &'static str = "HighestSeverity"

Highest pending warning severity for the account.

Source

pub const DAY_TRADES_REMAINING: &'static str = "DayTradesRemaining"

Day trades remaining before hitting the PDT limit.

Source

pub const LEVERAGE: &'static str = "Leverage"

Effective account leverage based on net liquidation.

Source

pub const LEDGER: &'static str = "$LEDGER"

Returns cash balance data in the account’s base currency only. Available since TWS Build 956 / IB Gateway 956.

For currency-specific queries, use the literal string format "$LEDGER:CURRENCY" where CURRENCY is replaced with the actual currency code (e.g., "$LEDGER:USD", "$LEDGER:EUR", "$LEDGER:HKD").

Source

pub const LEDGER_ALL: &'static str = "$LEDGER:ALL"

Returns aggregated cash balance data across all accounts and currencies. Available since TWS Build 956 / IB Gateway 956.

Source

pub const ALL: &'static [&'static str]

Convenience slice containing every supported account summary tag.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.