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

[venues. More...

#include <fastmm/config/config.hpp>

Public Attributes

bool configured = false
 the table is present
 
std::string placement = "balance"
 
std::int64_t reduce_accounts = 1
 
std::string spill = "never"
 
double spill_at = 0.8
 
std::int64_t plan_interval_s = 30
 
double plan_lookback_h = 1.0
 
std::int64_t plan_max_moves = 3
 
std::map< std::string, std::string > homes
 symbol -> pool account
 
std::string sweep = "false"
 "false" | "true" | "auto"
 
std::int64_t sweep_delay_ms = 3000
 
std::int64_t sweep_dust_s = 3600
 
std::int64_t sweep_retry_s = 30
 

Detailed Description

[venues.

<primary>.pool]: how the pool whose primary this venue is places each instrument's position (core/pool_homes.hpp). Config::pool_homes() makes it typed.

Member Data Documentation

◆ configured

bool fastmm::PoolSection::configured = false

the table is present

◆ placement

std::string fastmm::PoolSection::placement = "balance"

◆ reduce_accounts

std::int64_t fastmm::PoolSection::reduce_accounts = 1

◆ spill

std::string fastmm::PoolSection::spill = "never"

◆ spill_at

double fastmm::PoolSection::spill_at = 0.8

◆ plan_interval_s

std::int64_t fastmm::PoolSection::plan_interval_s = 30

◆ plan_lookback_h

double fastmm::PoolSection::plan_lookback_h = 1.0

◆ plan_max_moves

std::int64_t fastmm::PoolSection::plan_max_moves = 3

◆ homes

std::map<std::string, std::string> fastmm::PoolSection::homes

symbol -> pool account

◆ sweep

std::string fastmm::PoolSection::sweep = "false"

"false" | "true" | "auto"

◆ sweep_delay_ms

std::int64_t fastmm::PoolSection::sweep_delay_ms = 3000

◆ sweep_dust_s

std::int64_t fastmm::PoolSection::sweep_dust_s = 3600

◆ sweep_retry_s

std::int64_t fastmm::PoolSection::sweep_retry_s = 30