ATS
An algorithmic trading system completely written in C++
Public Member Functions | Public Attributes | List of all members
ats::OrderBook Struct Reference

The OrderBook struct represents the orderbook. More...

#include <OrderManager.h>

Public Member Functions

 OrderBook (std::vector< double > bid={}, std::vector< double > bidVol={}, std::vector< double > ask={}, std::vector< double > askVol={})
 The OrderBook constructor. More...
 

Public Attributes

std::vector< double > bid
 
std::vector< double > bidVol
 
std::vector< double > ask
 
std::vector< double > askVol
 

Detailed Description

The OrderBook struct represents the orderbook.

Constructor & Destructor Documentation

◆ OrderBook()

ats::OrderBook::OrderBook ( std::vector< double >  bid = {},
std::vector< double >  bidVol = {},
std::vector< double >  ask = {},
std::vector< double >  askVol = {} 
)
inline

The OrderBook constructor.

Parameters
bidThe bid prices.
bidVolThe bid volumes.
askThe ask prices.
askVolThe ask volumes.

Member Data Documentation

◆ ask

std::vector<double> ats::OrderBook::ask

The ask prices.

◆ askVol

std::vector<double> ats::OrderBook::askVol

The ask volumes.

◆ bid

std::vector<double> ats::OrderBook::bid

The bid prices.

◆ bidVol

std::vector<double> ats::OrderBook::bidVol

The bid volumes.


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