|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
A perpetual funding payment the venue booked on the account's position in hdr.instrument (EventType::Funding). More...
#include <fastmm/core/messages.hpp>
Public Attributes | |
| EventHeader | hdr |
| Notional | amount |
| 64 | |
| ExecId | funding_id |
| 72 -> 113 | |
| FixedString< 8 > | asset |
| 113 -> 122 | |
| std::uint8_t | flags |
| 122 kReplayed | |
| std::uint8_t | pad_ [5] |
| -> 128 | |
Static Public Attributes | |
| static constexpr std::uint8_t | kReplayed = 1U << 0 |
| From the venue's history (Venue::request_executions), not the private stream. | |
A perpetual funding payment the venue booked on the account's position in hdr.instrument (EventType::Funding).
amount is signed, in asset (the settlement currency): negative paid, positive received. hdr.exch_ts is the venue's time of the payment. funding_id is the venue's id of it (Binance tranId, Bybit execId); the engine and the gateway book one id per instrument once, so the private stream and a replay from the venue's history may both deliver it.
|
staticconstexpr |
From the venue's history (Venue::request_executions), not the private stream.
| EventHeader fastmm::FundingMsg::hdr |
| Notional fastmm::FundingMsg::amount |
64
| ExecId fastmm::FundingMsg::funding_id |
72 -> 113
| FixedString<8> fastmm::FundingMsg::asset |
113 -> 122
| std::uint8_t fastmm::FundingMsg::flags |
122 kReplayed
| std::uint8_t fastmm::FundingMsg::pad_[5] |
-> 128