exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
exchange::server::Trade Struct Reference

#include <trade.hpp>

Collaboration diagram for exchange::server::Trade:

Public Types

enum class  TradeResult : uint8_t { AGGRESSOR_FILLED , RESTING_FILLED , BOTH }

Public Attributes

const OrderId aggressorId
const OrderId restingId
const Price price
const Quantity quantity
const Quantity remainingRestingQuantity
const Side aggressorSide
const TradeResult result

Member Enumeration Documentation

◆ TradeResult

enum class exchange::server::Trade::TradeResult : uint8_t
strong
Enumerator
AGGRESSOR_FILLED 
RESTING_FILLED 
BOTH 

Member Data Documentation

◆ aggressorId

const OrderId exchange::server::Trade::aggressorId

◆ aggressorSide

const Side exchange::server::Trade::aggressorSide

◆ price

const Price exchange::server::Trade::price

◆ quantity

const Quantity exchange::server::Trade::quantity

◆ remainingRestingQuantity

const Quantity exchange::server::Trade::remainingRestingQuantity

◆ restingId

const OrderId exchange::server::Trade::restingId

◆ result

const TradeResult exchange::server::Trade::result

The documentation for this struct was generated from the following file:
  • server/common/include/server/common/collections/orderbook/trade.hpp