Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
slick::trader::PriceLevel Struct Reference

#include <slick-trader/events/level2_update_event.hpp>

Collaboration diagram for slick::trader::PriceLevel:

Public Member Functions

 PriceLevel ()
 PriceLevel (price_t p, qty_t q, Side s)

Public Attributes

price_t price
qty_t quantity
uint32_t num_orders = std::numeric_limits<uint32_t>::max()
Side side

Detailed Description

Definition at line 13 of file level2_update_event.hpp.

Constructor & Destructor Documentation

◆ PriceLevel() [1/2]

slick::trader::PriceLevel::PriceLevel ( )
inline

Definition at line 19 of file level2_update_event.hpp.

References slick::trader::BUY, price, quantity, and side.

◆ PriceLevel() [2/2]

slick::trader::PriceLevel::PriceLevel ( price_t p,
qty_t q,
Side s )
inline

Definition at line 20 of file level2_update_event.hpp.

References price, quantity, and side.

Member Data Documentation

◆ num_orders

uint32_t slick::trader::PriceLevel::num_orders = std::numeric_limits<uint32_t>::max()

Definition at line 16 of file level2_update_event.hpp.

◆ price

price_t slick::trader::PriceLevel::price

Definition at line 14 of file level2_update_event.hpp.

Referenced by PriceLevel(), and PriceLevel().

◆ quantity

qty_t slick::trader::PriceLevel::quantity

Definition at line 15 of file level2_update_event.hpp.

Referenced by PriceLevel(), and PriceLevel().

◆ side

Side slick::trader::PriceLevel::side

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