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, CashAction, Code, DeliveredReceived, InOut, LongShort, OpenClose,
17    OptionAction, OrderType, PutCall, Reorg, ToFrom, TradeType, TransferType,
18};
19pub use extended::{
20    // Account info
21    AccountInformation,
22    AssetSummary,
23    // Cash
24    CashReportCurrency,
25    // Dividends and interest
26    ChangeInDividendAccrual,
27    // NAV and equity
28    ChangeInNAV,
29    // Position changes
30    ChangeInPositionValue,
31    ClientFee,
32    ClientFeesDetail,
33    // Miscellaneous
34    DebitCardActivity,
35    EquitySummaryByReportDateInBase,
36    FIFOPerformanceSummaryUnderlying,
37    // FX
38    FxLot,
39    FxTransaction,
40    HardToBorrowDetail,
41    InterestAccrualsCurrency,
42    MTDYTDPerformanceSummary,
43    // Performance summaries
44    MTMPerformanceSummaryUnderlying,
45    OpenDividendAccrual,
46    OptionEAE,
47    Order,
48    // Prior period
49    PriorPeriodPosition,
50    // Securities lending
51    SLBActivity,
52    SLBFee,
53    SalesTax,
54    // Statement of funds
55    StatementOfFundsLine,
56    // Summaries
57    SymbolSummary,
58    // Interest details
59    TierInterestDetail,
60    // Trading
61    TradeConfirm,
62    TradeTransfer,
63    // Transfers
64    Transfer,
65    // Fee details
66    UnbundledCommissionDetail,
67    UnsettledTransfer,
68};
69pub use trade_confirmation::TradeConfirmationStatement;