|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
Running portfolio state tracked by BacktestEngine. More...
#include <event_backtester.hpp>
Public Member Functions | |
| double | gross_notional (const std::map< std::string, double > &last_prices) const |
| Current gross notional exposure. | |
Public Attributes | |
| double | cash = 0.0 |
| std::map< std::string, double > | positions |
| symbol -> net quantity | |
| std::vector< double > | equity_curve |
| Equity snapshot after each fill. | |
Running portfolio state tracked by BacktestEngine.
Definition at line 106 of file event_backtester.hpp.
|
inline |
Current gross notional exposure.
Definition at line 112 of file event_backtester.hpp.
| double srfm::event_bt::Portfolio::cash = 0.0 |
Definition at line 107 of file event_backtester.hpp.
| std::vector<double> srfm::event_bt::Portfolio::equity_curve |
Equity snapshot after each fill.
Definition at line 109 of file event_backtester.hpp.
| std::map<std::string,double> srfm::event_bt::Portfolio::positions |
symbol -> net quantity
Definition at line 108 of file event_backtester.hpp.