Skip to main content

Module accounts

Module accounts 

Source
Expand description

Describes items present in an account.

§Account Management

Account summary and updates, positions, PnL, managed accounts and family codes, financial-advisor configuration, user info, soft-dollar tiers, server time, server log level and third-party verification.

Modules§

types
Domain types for the accounts module

Structs§

AccountMultiValue
Key/value pair returned for a specific account/model code pair.
AccountPortfolioValue
Aggregated valuation details for a single contract within the account.
AccountSummary
Account information as it appears in the TWS’ Account Summary Window
AccountSummarySnapshot
The latest account summary values, keyed by account, tag and currency.
AccountSummarySnapshots
Complete account summary snapshots from Client::account_summary_snapshots.
AccountSummaryTags
Constants for account summary tags used in account summary requests. These tags define which account information fields to retrieve.
AccountUpdateTime
Timestamp wrapper for account update streams.
AccountValue
Single account value update emitted by the API.
FaConfig
Financial Advisor configuration data returned by Client::request_fa.
FamilyCode
Family code assigned to a group of accounts.
PnL
Aggregated profit and loss metrics for the entire account.
PnLSingle
Real-time profit and loss metrics for a single position.
Position
Open position held within the account.
PositionMulti
Position scoped to a specific account and model code.
ReplaceFaResult
Confirmation returned by Client::replace_fa.
UserInfo
User identity information returned by Client::user_info.
VerificationChallenge
API verification data returned by Client::verify_request.
VerificationResult
Result of a Client::verify_message call.

Enums§

AccountSummaryResult
Result of an account summary request emitted by the Client.
AccountUpdate
Account update events delivered while streaming high-level account data.
AccountUpdateMulti
Account update events scoped to an account/model code pair.
FaDataType
Financial Advisor configuration data type.
PositionUpdate
Messages emitted while streaming position updates.
PositionUpdateMulti
Messages emitted while streaming model-code scoped position updates.
ServerLogLevel
Server-side log verbosity level for TWS API diagnostics.