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

#include <fastmm/core/quote_diag.hpp>

Public Attributes

std::uint32_t instrument = 0
 
std::uint8_t venue = 0
 
std::uint8_t reduce_only = 0
 reduce-only mode holds the instrument
 
std::uint8_t arm = 0
 the [ab] arm it is in: 0 none, k + 1 arm k
 
std::uint8_t own_params = 0
 parameters it holds values of its own for
 
std::uint8_t home = 0xFF
 its home's venue id in its account pool (0xFF: none)
 
std::uint8_t pieces = 0
 accounts other than the home that hold it
 
std::uint8_t pad_ [6] = {}
 
std::int64_t position_raw = 0
 
std::int64_t avg_px_raw = 0
 
std::int64_t realized_raw = 0
 
std::int64_t unrealized_raw = 0
 
std::int64_t mid_raw = 0
 0: no two-sided book
 
LiveQuoteSide sides [2]
 by Side: Buy, Sell
 

Member Data Documentation

◆ instrument

std::uint32_t fastmm::LiveQuoteInstrument::instrument = 0

◆ venue

std::uint8_t fastmm::LiveQuoteInstrument::venue = 0

◆ reduce_only

std::uint8_t fastmm::LiveQuoteInstrument::reduce_only = 0

reduce-only mode holds the instrument

◆ arm

std::uint8_t fastmm::LiveQuoteInstrument::arm = 0

the [ab] arm it is in: 0 none, k + 1 arm k

◆ own_params

std::uint8_t fastmm::LiveQuoteInstrument::own_params = 0

parameters it holds values of its own for

◆ home

std::uint8_t fastmm::LiveQuoteInstrument::home = 0xFF

its home's venue id in its account pool (0xFF: none)

◆ pieces

std::uint8_t fastmm::LiveQuoteInstrument::pieces = 0

accounts other than the home that hold it

◆ pad_

std::uint8_t fastmm::LiveQuoteInstrument::pad_[6] = {}

◆ position_raw

std::int64_t fastmm::LiveQuoteInstrument::position_raw = 0

◆ avg_px_raw

std::int64_t fastmm::LiveQuoteInstrument::avg_px_raw = 0

◆ realized_raw

std::int64_t fastmm::LiveQuoteInstrument::realized_raw = 0

◆ unrealized_raw

std::int64_t fastmm::LiveQuoteInstrument::unrealized_raw = 0

◆ mid_raw

std::int64_t fastmm::LiveQuoteInstrument::mid_raw = 0

0: no two-sided book

◆ sides

LiveQuoteSide fastmm::LiveQuoteInstrument::sides[2]

by Side: Buy, Sell