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

A minute of one account's capacity price ([capacity], core/capacity_price.hpp): the actions priced, those refused below their price and those that would have been (observe), and the price paid. More...

#include <fastmm/core/record_stream.hpp>

Public Attributes

RecordHeader hdr
 
std::uint32_t decided
 64 actions priced
 
std::uint32_t sent
 68 new orders and replaces sent
 
std::uint32_t priced_out_new
 72
 
std::uint32_t priced_out_move
 76
 
std::uint32_t observed_new
 80 would have been priced out
 
std::uint32_t observed_move
 84
 
std::uint32_t peak_used
 88 the most orders in one window
 
CapacityMode mode
 92
 
std::uint8_t pad0_ [3]
 
double price_min
 96 quote currency
 
double price_max
 104
 
double price_mean
 112
 
double floor
 120 L, the value of a minimum-notional order
 
double day_price
 128 the account's and the strategy's day prices
 
std::uint8_t pad_ [56]
 -> 192
 

Detailed Description

A minute of one account's capacity price ([capacity], core/capacity_price.hpp): the actions priced, those refused below their price and those that would have been (observe), and the price paid.

hdr.venue is the account; hdr.engine_ts the end of the minute.

Member Data Documentation

◆ hdr

RecordHeader fastmm::CapacityRecord::hdr

◆ decided

std::uint32_t fastmm::CapacityRecord::decided

64 actions priced

◆ sent

std::uint32_t fastmm::CapacityRecord::sent

68 new orders and replaces sent

◆ priced_out_new

std::uint32_t fastmm::CapacityRecord::priced_out_new

72

◆ priced_out_move

std::uint32_t fastmm::CapacityRecord::priced_out_move

76

◆ observed_new

std::uint32_t fastmm::CapacityRecord::observed_new

80 would have been priced out

◆ observed_move

std::uint32_t fastmm::CapacityRecord::observed_move

84

◆ peak_used

std::uint32_t fastmm::CapacityRecord::peak_used

88 the most orders in one window

◆ mode

CapacityMode fastmm::CapacityRecord::mode

92

◆ pad0_

std::uint8_t fastmm::CapacityRecord::pad0_[3]

◆ price_min

double fastmm::CapacityRecord::price_min

96 quote currency

◆ price_max

double fastmm::CapacityRecord::price_max

104

◆ price_mean

double fastmm::CapacityRecord::price_mean

112

◆ floor

double fastmm::CapacityRecord::floor

120 L, the value of a minimum-notional order

◆ day_price

double fastmm::CapacityRecord::day_price

128 the account's and the strategy's day prices

◆ pad_

std::uint8_t fastmm::CapacityRecord::pad_[56]

-> 192