Skip to main content

ib_flex/types/
mod.rs

1//! FLEX data types
2
3pub mod activity;
4pub mod common;
5pub mod extended;
6pub mod trade_confirmation;
7
8// Re-export commonly used types
9pub use activity::{
10    ActivityFlexStatement, CashTransaction, CashTransactionsWrapper, ConversionRate,
11    ConversionRatesWrapper, CorporateAction, CorporateActionsWrapper, FlexQueryResponse,
12    FlexStatementsWrapper, Position, PositionsWrapper, SecuritiesInfoWrapper, SecurityInfo, Trade,
13    TradesWrapper,
14};
15pub use common::{
16    AssetCategory, BuySell, CashTransactionType, CorporateActionType, DeliveredReceived,
17    DerivativeInfo, InOut, LevelOfDetail, LongShort, OpenClose, OptionAction, OrderType, PutCall,
18    SecurityIdType, SubCategory, ToFrom, TradeType, TransactionCode, TransferType,
19};
20pub use extended::{
21    // Account info
22    AccountInformation,
23    AssetSummary,
24    // Cash
25    CashReportCurrency,
26    // Dividends and interest
27    ChangeInDividendAccrual,
28    // NAV and equity
29    ChangeInNAV,
30    // Position changes
31    ChangeInPositionValue,
32    ClientFee,
33    ClientFeesDetail,
34    // Miscellaneous
35    DebitCardActivity,
36    EquitySummaryByReportDateInBase,
37    FIFOPerformanceSummaryUnderlying,
38    // FX
39    FxLot,
40    FxTransaction,
41    HardToBorrowDetail,
42    InterestAccrualsCurrency,
43    MTDYTDPerformanceSummary,
44    // Performance summaries
45    MTMPerformanceSummaryUnderlying,
46    OpenDividendAccrual,
47    OptionEAE,
48    Order,
49    // Prior period
50    PriorPeriodPosition,
51    // Securities lending
52    SLBActivity,
53    SLBFee,
54    SalesTax,
55    // Statement of funds
56    StatementOfFundsLine,
57    // Summaries
58    SymbolSummary,
59    // Interest details
60    TierInterestDetail,
61    // Trading
62    TradeConfirm,
63    TradeTransfer,
64    // Transfers
65    Transfer,
66    // Fee details
67    UnbundledCommissionDetail,
68    UnsettledTransfer,
69};
70pub use trade_confirmation::TradeConfirmationStatement;