ATS
An algorithmic trading system completely written in C++
Trade.h
Go to the documentation of this file.
1 
8 #ifndef ATS_TRADE_H
9 #define ATS_TRADE_H
10 
11 namespace ats {
12 
16  class Trade {
17  private:
18  long id;
19  double price;
20  double quantity;
21  double quoteQty;
22  long time;
23  bool isBuyerMaker;
24  bool isBestMatch;
25  public:
36  Trade(long id_, double price_, double quantity_, double quoteQty_, long time_,
37  bool isBuyerMaker_, bool isBestMatch_);
38  };
39 
40 
41 } // ats
42 
43 #endif //ATS_TRADE_H
Class representing a trade executed on an exchange.
Definition: Trade.h:16
Trade(long id_, double price_, double quantity_, double quoteQty_, long time_, bool isBuyerMaker_, bool isBestMatch_)
Constructor for Trade class.
Definition: Trade.cpp:10
Namespace for the algorithmic trading system.
Definition: BinanceExchangeManager.cpp:8