|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
Money that entered or left one account other than by its trades and funding (EventType::AccountFlow): a deposit, a withdrawal or a transfer between accounts, as the venue reported it. More...
#include <fastmm/core/messages.hpp>
Public Attributes | |
| EventHeader | hdr |
| Notional | amount |
| 64 | |
| FixedString< 8 > | asset |
| 72 -> 81 | |
| FixedString< 40 > | flow_id |
| 81 -> 122 | |
| std::uint8_t | pad_ [6] |
| -> 128 | |
Money that entered or left one account other than by its trades and funding (EventType::AccountFlow): a deposit, a withdrawal or a transfer between accounts, as the venue reported it.
amount is signed, in asset: positive in, negative out. hdr.venue is the account (a pool member's own id), hdr.exch_ts the venue's time of it; hdr.instrument is invalid. flow_id is the venue's id of it, empty when the venue gives none. The engine changes nothing for it: its balances follow the venue's absolute reports (BalanceMsg), which come with it or after it. The journal records it like any input, and a backtest with [backtest] balances_from_journal moves the simulated account by it at its time.
| EventHeader fastmm::AccountFlowMsg::hdr |
| Notional fastmm::AccountFlowMsg::amount |
64
| FixedString<8> fastmm::AccountFlowMsg::asset |
72 -> 81
| FixedString<40> fastmm::AccountFlowMsg::flow_id |
81 -> 122
| std::uint8_t fastmm::AccountFlowMsg::pad_[6] |
-> 128