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

Class representing a trade executed on an exchange. More...

#include <Trade.h>

Public Member Functions

 Trade (long id_, double price_, double quantity_, double quoteQty_, long time_, bool isBuyerMaker_, bool isBestMatch_)
 Constructor for Trade class. More...
 

Detailed Description

Class representing a trade executed on an exchange.

Constructor & Destructor Documentation

◆ Trade()

ats::Trade::Trade ( long  id_,
double  price_,
double  quantity_,
double  quoteQty_,
long  time_,
bool  isBuyerMaker_,
bool  isBestMatch_ 
)

Constructor for Trade class.

Parameters
id_Trade ID
price_Trade price
quantity_Trade quantity
quoteQty_Trade quote quantity
time_Trade execution time
isBuyerMaker_Flag indicating whether the buyer is the maker
isBestMatch_Flag indicating whether the trade was the best price match at the time

The documentation for this class was generated from the following files: