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

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...

#include <fastmm/core/order.hpp>

Public Attributes

OrderTimes times
 the working leg: sent (the order, or its last accepted replace)
 
Timestamp placed
 the first leg went out
 
Timestamp pending_sent
 the cancel or replace in flight went out; invalid: none.
 
Price placed_px
 the first leg's price
 
std::uint32_t amends = 0
 replaces the venue accepted
 
std::uint32_t pad_ = 0
 
QuoteContext context
 the side's context when the working leg went out
 
QuoteContext pending_context
 the side's context when the replace in flight went out
 

Detailed Description

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).

Engine clock throughout, so a replay reproduces it.

Member Data Documentation

◆ times

OrderTimes fastmm::OrderTrail::times

the working leg: sent (the order, or its last accepted replace)

◆ placed

Timestamp fastmm::OrderTrail::placed

the first leg went out

◆ pending_sent

Timestamp fastmm::OrderTrail::pending_sent

the cancel or replace in flight went out; invalid: none.

Kept on the terminal record: the cancel that ended the order.

◆ placed_px

Price fastmm::OrderTrail::placed_px

the first leg's price

◆ amends

std::uint32_t fastmm::OrderTrail::amends = 0

replaces the venue accepted

◆ pad_

std::uint32_t fastmm::OrderTrail::pad_ = 0

◆ context

QuoteContext fastmm::OrderTrail::context

the side's context when the working leg went out

◆ pending_context

QuoteContext fastmm::OrderTrail::pending_context

the side's context when the replace in flight went out