From 0bef191acd5a77544852e6a3daae2df05bd34a31 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 19 Jan 2022 11:20:45 +0000 Subject: [PATCH] Reformat and change send to x-www-form-urlencoded --- book.hpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/book.hpp b/book.hpp index 04de3a7..61a68d5 100644 --- a/book.hpp +++ b/book.hpp @@ -43,8 +43,8 @@ std::ostream& operator<<(std::ostream& out, const Level& a); struct Book { - std::unordered_map<std::string, Level> bidSide; - std::unordered_map<std::string, Level> askSide; + std::vector<Level> bidSide; + std::vector<Level> askSide; ProductTypeEnum productType; std::string product; int stationId; @@ -53,6 +53,7 @@ double aggFee; double pasFee; double broFee; + double bomPrice; Book(); Book(ProductTypeEnum productType, std::string product, int stationId, -- Gitblit v1.9.3