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

[capacity]: the price of an order slot (core/capacity_price.hpp). More...

#include <fastmm/config/config.hpp>

Public Attributes

bool configured = false
 
std::string mode = "off"
 
std::string value = "off"
 
std::int64_t orders_10s = 0
 
std::int64_t window_ms = 10'000
 
bool fill_credit = false
 
std::int64_t orders_1d = 0
 
std::int64_t orders_per_day = 0
 
std::int64_t weight_1m = 0
 
double margin_bps = 1.0
 
double full_move_bps = 10.0
 
std::vector< std::string > venues
 empty: every venue
 

Detailed Description

[capacity]: the price of an order slot (core/capacity_price.hpp).

Config::capacity_config() makes it typed.

Member Data Documentation

◆ configured

bool fastmm::CapacitySection::configured = false

◆ mode

std::string fastmm::CapacitySection::mode = "off"

◆ value

std::string fastmm::CapacitySection::value = "off"

◆ orders_10s

std::int64_t fastmm::CapacitySection::orders_10s = 0

◆ window_ms

std::int64_t fastmm::CapacitySection::window_ms = 10'000

◆ fill_credit

bool fastmm::CapacitySection::fill_credit = false

◆ orders_1d

std::int64_t fastmm::CapacitySection::orders_1d = 0

◆ orders_per_day

std::int64_t fastmm::CapacitySection::orders_per_day = 0

◆ weight_1m

std::int64_t fastmm::CapacitySection::weight_1m = 0

◆ margin_bps

double fastmm::CapacitySection::margin_bps = 1.0

◆ full_move_bps

double fastmm::CapacitySection::full_move_bps = 10.0

◆ venues

std::vector<std::string> fastmm::CapacitySection::venues

empty: every venue