|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
#include <fastmm/strategies/hedge_executor.hpp>
Public Attributes | |
| std::string_view | name = "hedge" |
| log prefix | |
| std::uint32_t | tag = 0 |
| user_tag of hedge orders | |
| std::uint32_t | derisk_tag = 0 |
| user_tag of de-risk orders | |
| Duration | retry = milliseconds(200) |
| after a hedge that filled nothing | |
| int | max_failures = 5 |
| within failure_window: bench, or halt on the last one | |
| Duration | failure_window = milliseconds(60000) |
| Duration | uncertain_hold = milliseconds(5000) |
| Duration | stale {} |
| a hedge book older than this is unusable; 0: never | |
| Duration | bench = milliseconds(60000) |
| how long a failing instrument sits out | |
| Duration | derisk_after {} |
| 0: never de-risk | |
| Qty | derisk_step {} |
| base units per de-risk order; 0: the whole residual | |
| Duration | derisk_interval = milliseconds(1000) |
| Ratio | derisk_tolerance {} |
| std::string_view fastmm::HedgeExecutor::Config::name = "hedge" |
log prefix
| std::uint32_t fastmm::HedgeExecutor::Config::tag = 0 |
user_tag of hedge orders
| std::uint32_t fastmm::HedgeExecutor::Config::derisk_tag = 0 |
user_tag of de-risk orders
| Duration fastmm::HedgeExecutor::Config::retry = milliseconds(200) |
after a hedge that filled nothing
| int fastmm::HedgeExecutor::Config::max_failures = 5 |
within failure_window: bench, or halt on the last one
| Duration fastmm::HedgeExecutor::Config::failure_window = milliseconds(60000) |
| Duration fastmm::HedgeExecutor::Config::uncertain_hold = milliseconds(5000) |
| Duration fastmm::HedgeExecutor::Config::stale {} |
a hedge book older than this is unusable; 0: never
| Duration fastmm::HedgeExecutor::Config::bench = milliseconds(60000) |
how long a failing instrument sits out
| Duration fastmm::HedgeExecutor::Config::derisk_after {} |
0: never de-risk
| Qty fastmm::HedgeExecutor::Config::derisk_step {} |
base units per de-risk order; 0: the whole residual
| Duration fastmm::HedgeExecutor::Config::derisk_interval = milliseconds(1000) |
| Ratio fastmm::HedgeExecutor::Config::derisk_tolerance {} |