FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
order.hpp File Reference

Order: the OMS's 128-byte record for one order across its lifetime. More...

#include "fastmm/core/enums.hpp"
#include "fastmm/core/fixed_point.hpp"
#include "fastmm/core/strong_id.hpp"
#include "fastmm/core/time.hpp"
#include <cstdint>
#include <limits>
#include <type_traits>

Go to the source code of this file.

Classes

struct  fastmm::Order
 
struct  fastmm::OrderTimes
 When the order's working leg (the order, or its latest replacement once acknowledged) was sent and accepted. More...
 
struct  fastmm::QuoteContext
 
struct  fastmm::OrderTrail
 How an order came to be where it was when something happened to it: kept by the OMS next to Order (Oms::trail), for an open order and for a recently terminal one, and copied into the record of each fill (FillRecord). More...
 
struct  fastmm::NewOrderRequest
 
struct  fastmm::LimitOrder
 Chainable builder returned by NewOrderRequest::limit(); converts to NewOrderRequest. More...
 

Namespaces

namespace  fastmm
 

Functions

constexpr bool fastmm::value_stated (float v) noexcept
 

Variables

constexpr std::size_t fastmm::kQuoteContextSize = 4
 The numbers a strategy publishes about its quotes on one side of an instrument (StrategyContext::quote_context): the fair value it priced them from, a quote's distance from it, a signal.
 
constexpr float fastmm::kNoValue = std::numeric_limits<float>::quiet_NaN()
 What an order or a quote level is worth when the strategy did not say ([capacity], core/capacity_price.hpp).
 

Detailed Description

Order: the OMS's 128-byte record for one order across its lifetime.