FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::HazardSection Struct Reference

One [[risk.hazard]] table (core/hazard.hpp). More...

#include <fastmm/config/config.hpp>

Public Attributes

std::string name
 
std::vector< std::string > instruments
 Members: a symbol, "venue:symbol" or a group of [strategy.groups].
 
std::map< std::string, double > weights
 "venue:symbol" or "symbol" = weight; a member not listed weighs 1.
 
std::string side = "both"
 "bid" | "ask" | "both"
 
double threshold = 0.0
 
double half_life_ms = 20.0
 
int hold_ms = 500
 
bool prints = true
 
std::string mode = "pull"
 "pull" | "log"
 

Detailed Description

One [[risk.hazard]] table (core/hazard.hpp).

Member Data Documentation

◆ name

std::string fastmm::HazardSection::name

◆ instruments

std::vector<std::string> fastmm::HazardSection::instruments

Members: a symbol, "venue:symbol" or a group of [strategy.groups].

◆ weights

std::map<std::string, double> fastmm::HazardSection::weights

"venue:symbol" or "symbol" = weight; a member not listed weighs 1.

◆ side

std::string fastmm::HazardSection::side = "both"

"bid" | "ask" | "both"

◆ threshold

double fastmm::HazardSection::threshold = 0.0

◆ half_life_ms

double fastmm::HazardSection::half_life_ms = 20.0

◆ hold_ms

int fastmm::HazardSection::hold_ms = 500

◆ prints

bool fastmm::HazardSection::prints = true

◆ mode

std::string fastmm::HazardSection::mode = "pull"

"pull" | "log"