| | |
| | | #include <iostream> |
| | | #include <queue> |
| | | #include <string> |
| | | #include <unordered_map> |
| | | #include <vector> |
| | | |
| | | namespace book |
| | |
| | | std::ostream& operator<<(std::ostream& out, const Level& a); |
| | | |
| | | struct Book { |
| | | std::vector<Level> bidSide; |
| | | std::vector<Level> askSide; |
| | | std::unordered_map<std::string, Level> bidSide; |
| | | std::unordered_map<std::string, Level> askSide; |
| | | ProductTypeEnum productType; |
| | | std::string product; |
| | | int stationId; |
| | |
| | | double aggFee; |
| | | double pasFee; |
| | | double broFee; |
| | | double bomPrice; |
| | | |
| | | Book(); |
| | | Book(ProductTypeEnum productType, std::string product, int stationId, |