Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
slick::sim::exch::Exchange::PhantomReduction Struct Reference

Scratch for reconcilePhantomQty, reused so the reduction path allocates nothing. More...

#include <exchange/exchange.hpp>

Collaboration diagram for slick::sim::exch::Exchange::PhantomReduction:

Public Attributes

uint64_t order_id
qty_t new_qty
uint64_t priority

Detailed Description

Scratch for reconcilePhantomQty, reused so the reduction path allocates nothing.

Reducing a phantom order to zero deletes it out of the intrusive list the level exposes, so the reductions have to be chosen before any of them is applied. Single-threaded: only the exchange thread reconciles.

Definition at line 225 of file exchange.hpp.

Member Data Documentation

◆ new_qty

qty_t slick::sim::exch::Exchange::PhantomReduction::new_qty

Definition at line 227 of file exchange.hpp.

◆ order_id

uint64_t slick::sim::exch::Exchange::PhantomReduction::order_id

Definition at line 226 of file exchange.hpp.

◆ priority

uint64_t slick::sim::exch::Exchange::PhantomReduction::priority

Definition at line 228 of file exchange.hpp.


The documentation for this struct was generated from the following file: