![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
An account's positions and per-currency totals at one point in time. More...
#include <algotradelib/src/core/types.hpp>
Public Attributes | |
| std::vector< HoldingPosition > | positions_ |
| Every position row; one instrument may appear in more than one. | |
| std::vector< HoldingsTotals > | totals_ |
| One totals row per currency held. | |
| std::chrono::system_clock::time_point | received_at_ |
| When this process received the snapshot (brokers do not timestamp holdings). | |
| SellableBasis | sellable_basis_ |
| What the rows' sellable_quantity_ figures cover (unless a row carries its own). | |
An account's positions and per-currency totals at one point in time.
| std::vector<HoldingPosition> algotradelib::HoldingsSnapshot::positions_ |
Every position row; one instrument may appear in more than one.
Definition at line 1347 of file types.hpp.
Referenced by algotradelib::mock::Market::holdings().
| std::chrono::system_clock::time_point algotradelib::HoldingsSnapshot::received_at_ |
When this process received the snapshot (brokers do not timestamp holdings).
Definition at line 1351 of file types.hpp.
Referenced by algotradelib::mock::Market::holdings().
| SellableBasis algotradelib::HoldingsSnapshot::sellable_basis_ |
What the rows' sellable_quantity_ figures cover (unless a row carries its own).
Defaults to unestablished, so an adapter that fills sellable quantities without stating this has its sells refused.
Definition at line 1358 of file types.hpp.
Referenced by algotradelib::mock::Market::holdings().
| std::vector<HoldingsTotals> algotradelib::HoldingsSnapshot::totals_ |
One totals row per currency held.
Definition at line 1349 of file types.hpp.
Referenced by algotradelib::mock::Market::holdings().