|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
Metrics (8.4) computed from the result rows: equity bars (1 s by default) and fills, and the orders' OrderStats. More...
#include "fastmm/backtest/markout.hpp"#include "fastmm/core/latency.hpp"#include "fastmm/core/time.hpp"#include <cstdint>#include <vector>Go to the source code of this file.
Classes | |
| struct | fastmm::bt::PnlDecomposition |
How the net PnL of the run splits into the parts a market maker can act on: net == spread_capture + mid_drift - fees_paid + rebates_received + residual mid_drift is the move of the mid from each fill to the end of the run, valued at the signed quantity of the fill: adverse selection plus the mark-to-market of whatever is still open. More... | |
| struct | fastmm::bt::FillQuality |
| Diagnostics of how the fills were obtained, next to the markouts. More... | |
| struct | fastmm::bt::Metrics |
| struct | fastmm::bt::MetricsInputs |
| class | fastmm::bt::OrderStats |
| The order half of the metrics, kept as a run goes: the counts of new orders, cancels and replaces, the virtual tick-to-order latency, and each new order's first fill for the fill quality's quotes filled and time to fill (a replace chain's fills count for the new order that began it, at the earliest of them). More... | |
Namespaces | |
| namespace | fastmm |
| namespace | fastmm::bt |
Functions | |
| Metrics | fastmm::bt::compute_metrics (const EquityRows &equity, const FillRows &fills, OrderStats &orders, const MetricsInputs &in) |
| Metrics | fastmm::bt::compute_metrics (const EquityRows &equity, const FillRows &fills, const OrderRows &orders, const MetricsInputs &in) |
Variables | |
| constexpr double | fastmm::bt::kMinAnnualizedDurationS = 86400.0 |
| Shortest run whose Sharpe ratio is annualised: one day. | |
Metrics (8.4) computed from the result rows: equity bars (1 s by default) and fills, and the orders' OrderStats.
Every input is an exact integer (raw 1e-8 fixed point); the doubles here are reporting-only and never feed back into the simulation.