#include <fastmm/strategies/hedge_executor.hpp>
◆ name
| std::string_view fastmm::HedgeExecutor::Config::name = "hedge" |
◆ tag
| std::uint32_t fastmm::HedgeExecutor::Config::tag = 0 |
◆ derisk_tag
| std::uint32_t fastmm::HedgeExecutor::Config::derisk_tag = 0 |
user_tag of de-risk orders
◆ retry
after a hedge that filled nothing
◆ max_failures
| int fastmm::HedgeExecutor::Config::max_failures = 5 |
within failure_window: bench, or halt on the last one
◆ failure_window
◆ uncertain_hold
◆ stale
| Duration fastmm::HedgeExecutor::Config::stale {} |
a hedge book older than this is unusable; 0: never
◆ bench
how long a failing instrument sits out
◆ derisk_after
| Duration fastmm::HedgeExecutor::Config::derisk_after {} |
◆ derisk_step
| Qty fastmm::HedgeExecutor::Config::derisk_step {} |
base units per de-risk order; 0: the whole residual
◆ derisk_interval
◆ derisk_tolerance
| Ratio fastmm::HedgeExecutor::Config::derisk_tolerance {} |
◆ band
| Notional fastmm::HedgeExecutor::Config::band {} |
Bands, quote currency at the hedge instrument's mid: hedge once the residual is worth band, then until it is worth less than flat (0: any residual; until it rounds under the lot).
◆ flat
| Notional fastmm::HedgeExecutor::Config::flat {} |
◆ maker
| bool fastmm::HedgeExecutor::Config::maker = false |
Maker mode: a post-only order at the hedge's own touch instead of an IOC.
It follows the touch at most every repeg, is placed again when its leaves are resize off the residual (0: never), and what it leaves after resting taker_after crosses (0: never).
◆ repeg
◆ resize
| Notional fastmm::HedgeExecutor::Config::resize {} |
◆ taker_after
| Duration fastmm::HedgeExecutor::Config::taker_after {} |