Compare Table Manager vs Non-Table Manager
masterThe ForexConnectAPI provides two ways to handle data tables, each with different trade-offs:
Table Manager
- Mechanism: Preloads all tables into local memory as an in-memory representation of API tables.
- Features: Allows you to subscribe to table change events (updates, adding rows, or removing rows). The
SummaryTableis only accessible via the Table Manager. - Trade-off: Higher performance overhead because it constantly recalculates fields.
Non-Table Manager
- Mechanism: Captures table updates ad-hoc by implementing the
IO2GResponseListenerinterface. - Features: Provides a performance advantage for high-frequency needs.
- Trade-off: You are responsible for manually calculating certain fields, such as
PipCostorP/L(Profit/Loss).