|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
One instrument's position and the portfolio totals at the same instant. More...
#include <fastmm/core/record_stream.hpp>
Public Attributes | |
| RecordHeader | hdr |
| Position | pos |
| 64 -> 128 | |
| Notional | total_realized |
| 128 | |
| Notional | total_unrealized |
| 136 | |
| Notional | total_fees |
| 144 | |
| Notional | pnl_carry |
| 152 carried in from earlier sessions (EngineConfig::pnl_carry) | |
| Notional | funding |
| 160 this instrument's funding so far, part of pos.realized | |
| Notional | total_funding |
| 168 over every instrument, part of total_realized | |
| std::uint8_t | pad_ [16] |
| -> 192 | |
One instrument's position and the portfolio totals at the same instant.
| RecordHeader fastmm::PositionRecord::hdr |
| Position fastmm::PositionRecord::pos |
64 -> 128
| Notional fastmm::PositionRecord::total_realized |
128
| Notional fastmm::PositionRecord::total_unrealized |
136
| Notional fastmm::PositionRecord::total_fees |
144
| Notional fastmm::PositionRecord::pnl_carry |
152 carried in from earlier sessions (EngineConfig::pnl_carry)
| Notional fastmm::PositionRecord::funding |
160 this instrument's funding so far, part of pos.realized
| Notional fastmm::PositionRecord::total_funding |
168 over every instrument, part of total_realized
| std::uint8_t fastmm::PositionRecord::pad_[16] |
-> 192