#include <fastmm/config/config.hpp>
◆ max_order_qty
| std::string fastmm::RiskSection::max_order_qty |
◆ max_order_notional
| std::string fastmm::RiskSection::max_order_notional |
◆ max_position
| std::string fastmm::RiskSection::max_position |
◆ max_open_orders
| int fastmm::RiskSection::max_open_orders = 0 |
◆ price_collar_bps
| int fastmm::RiskSection::price_collar_bps = 0 |
◆ fat_finger_bps
| int fastmm::RiskSection::fat_finger_bps = 0 |
◆ stale_md_ms
| int fastmm::RiskSection::stale_md_ms = 0 |
◆ max_loss
| std::string fastmm::RiskSection::max_loss |
◆ max_loss_period
| std::string fastmm::RiskSection::max_loss_period = "total" |
The span max_loss is a budget for: "total" (every session since the kill file was cleared) or "utc_day" (from 00:00 UTC; a new day measures net PnL from zero again).
◆ max_gross_notional
| std::string fastmm::RiskSection::max_gross_notional |
◆ max_net_notional
| std::string fastmm::RiskSection::max_net_notional |
◆ orders_per_sec
| int fastmm::RiskSection::orders_per_sec = 0 |
◆ burst
| int fastmm::RiskSection::burst = 0 |
◆ stp
| bool fastmm::RiskSection::stp = true |
◆ max_feed_lag_ms
| int fastmm::RiskSection::max_feed_lag_ms = 0 |
◆ fill_cluster_names
| int fastmm::RiskSection::fill_cluster_names = 0 |
The fill-cluster guard (core/fill_cluster.hpp): names 0 = off.
◆ fill_cluster_window_ms
| int fastmm::RiskSection::fill_cluster_window_ms = 500 |
◆ fill_cluster_hold_ms
| int fastmm::RiskSection::fill_cluster_hold_ms = 500 |
◆ hazard
[[risk.hazard]]: the hazard groups (core/hazard.hpp); none: off.
◆ check_balance
| bool fastmm::RiskSection::check_balance = true |
refuse what the venue's balance cannot cover
◆ allow_unlimited
| bool fastmm::RiskSection::allow_unlimited = false |
A keyed fastmm-live session starts without max_position (or max_order_notional) and max_loss only with this set.
◆ reduce_only
| bool fastmm::RiskSection::reduce_only = false |
The session starts in reduce-only mode for every instrument (fastmm-ctl reduce-only off ends it).
◆ underlying
| UnderlyingSpec fastmm::RiskSection::underlying |
[risk.underlying.
<BASE>] max_net: net position per base asset over every instrument, base units.