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
impl AccountSummaryTags
Sourcepub const ACCOUNT_TYPE: &'static str = "AccountType"
pub const ACCOUNT_TYPE: &'static str = "AccountType"
Identifies the account type (e.g. cash, margin, IRA).
Sourcepub const NET_LIQUIDATION: &'static str = "NetLiquidation"
pub const NET_LIQUIDATION: &'static str = "NetLiquidation"
Net liquidation value of the account including cash and positions.
Sourcepub const TOTAL_CASH_VALUE: &'static str = "TotalCashValue"
pub const TOTAL_CASH_VALUE: &'static str = "TotalCashValue"
Total cash across currencies converted to the base currency.
Sourcepub const SETTLED_CASH: &'static str = "SettledCash"
pub const SETTLED_CASH: &'static str = "SettledCash"
Settled cash available for trading.
Sourcepub const ACCRUED_CASH: &'static str = "AccruedCash"
pub const ACCRUED_CASH: &'static str = "AccruedCash"
Accrued cash such as interest or dividends due.
Sourcepub const BUYING_POWER: &'static str = "BuyingPower"
pub const BUYING_POWER: &'static str = "BuyingPower"
Maximum capital available to open new positions.
Sourcepub const EQUITY_WITH_LOAN_VALUE: &'static str = "EquityWithLoanValue"
pub const EQUITY_WITH_LOAN_VALUE: &'static str = "EquityWithLoanValue"
Equity with loan value after margin calculations.
Sourcepub const PREVIOUS_EQUITY_WITH_LOAN_VALUE: &'static str = "PreviousEquityWithLoanValue"
pub const PREVIOUS_EQUITY_WITH_LOAN_VALUE: &'static str = "PreviousEquityWithLoanValue"
Equity with loan value recorded on the previous trading day.
Sourcepub const GROSS_POSITION_VALUE: &'static str = "GrossPositionValue"
pub const GROSS_POSITION_VALUE: &'static str = "GrossPositionValue"
Gross market value of all positions.
Sourcepub const REQ_T_EQUITY: &'static str = "RegTEquity"
pub const REQ_T_EQUITY: &'static str = "RegTEquity"
Regulation-T equity available in the account.
Sourcepub const REQ_T_MARGIN: &'static str = "RegTMargin"
pub const REQ_T_MARGIN: &'static str = "RegTMargin"
Regulation-T margin requirement.
Sourcepub const SMA: &'static str = "SMA"
pub const SMA: &'static str = "SMA"
Special Memorandum Account value as defined by Regulation-T.
Sourcepub const INIT_MARGIN_REQ: &'static str = "InitMarginReq"
pub const INIT_MARGIN_REQ: &'static str = "InitMarginReq"
Initial margin requirement for current positions.
Sourcepub const MAINT_MARGIN_REQ: &'static str = "MaintMarginReq"
pub const MAINT_MARGIN_REQ: &'static str = "MaintMarginReq"
Maintenance margin requirement for current positions.
Sourcepub const AVAILABLE_FUNDS: &'static str = "AvailableFunds"
pub const AVAILABLE_FUNDS: &'static str = "AvailableFunds"
Funds currently available for trading.
Sourcepub const EXCESS_LIQUIDITY: &'static str = "ExcessLiquidity"
pub const EXCESS_LIQUIDITY: &'static str = "ExcessLiquidity"
Excess liquidity above maintenance requirements.
Sourcepub const CUSHION: &'static str = "Cushion"
pub const CUSHION: &'static str = "Cushion"
Cushion percentage representing excess liquidity scaled by equity.
Sourcepub const FULL_INIT_MARGIN_REQ: &'static str = "FullInitMarginReq"
pub const FULL_INIT_MARGIN_REQ: &'static str = "FullInitMarginReq"
Full initial margin requirement across all related accounts.
Sourcepub const FULL_MAINT_MARGIN_REQ: &'static str = "FullMaintMarginReq"
pub const FULL_MAINT_MARGIN_REQ: &'static str = "FullMaintMarginReq"
Full maintenance margin requirement across all related accounts.
Sourcepub const FULL_AVAILABLE_FUNDS: &'static str = "FullAvailableFunds"
pub const FULL_AVAILABLE_FUNDS: &'static str = "FullAvailableFunds"
Full funds available for trading across all related accounts.
Sourcepub const FULL_EXCESS_LIQUIDITY: &'static str = "FullExcessLiquidity"
pub const FULL_EXCESS_LIQUIDITY: &'static str = "FullExcessLiquidity"
Full excess liquidity across all related accounts.
Sourcepub const LOOK_AHEAD_NEXT_CHANGE: &'static str = "LookAheadNextChange"
pub const LOOK_AHEAD_NEXT_CHANGE: &'static str = "LookAheadNextChange"
Estimated time of the next margin change event.
Sourcepub const LOOK_AHEAD_INIT_MARGIN_REQ: &'static str = "LookAheadInitMarginReq"
pub const LOOK_AHEAD_INIT_MARGIN_REQ: &'static str = "LookAheadInitMarginReq"
Projected initial margin requirement at the next change.
Sourcepub const LOOK_AHEAD_MAINT_MARGIN_REQ: &'static str = "LookAheadMaintMarginReq"
pub const LOOK_AHEAD_MAINT_MARGIN_REQ: &'static str = "LookAheadMaintMarginReq"
Projected maintenance margin requirement at the next change.
Sourcepub const LOOK_AHEAD_AVAILABLE_FUNDS: &'static str = "LookAheadAvailableFunds"
pub const LOOK_AHEAD_AVAILABLE_FUNDS: &'static str = "LookAheadAvailableFunds"
Projected funds available for trading at the next change.
Sourcepub const LOOK_AHEAD_EXCESS_LIQUIDITY: &'static str = "LookAheadExcessLiquidity"
pub const LOOK_AHEAD_EXCESS_LIQUIDITY: &'static str = "LookAheadExcessLiquidity"
Projected excess liquidity at the next change.
Sourcepub const HIGHEST_SEVERITY: &'static str = "HighestSeverity"
pub const HIGHEST_SEVERITY: &'static str = "HighestSeverity"
Highest pending warning severity for the account.
Sourcepub const DAY_TRADES_REMAINING: &'static str = "DayTradesRemaining"
pub const DAY_TRADES_REMAINING: &'static str = "DayTradesRemaining"
Day trades remaining before hitting the PDT limit.
Sourcepub const LEVERAGE: &'static str = "Leverage"
pub const LEVERAGE: &'static str = "Leverage"
Effective account leverage based on net liquidation.
Sourcepub const LEDGER: &'static str = "$LEDGER"
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").
Sourcepub const LEDGER_ALL: &'static str = "$LEDGER:ALL"
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.