Files
spark/src/lib/md/binance/BinanceDiffDepthUpdate.h
T

30 lines
703 B
C++

#pragma once
#include "BinanceBookLevel.h"
#include <cstddef>
#include <string>
#include <vector>
namespace bts::md::binance {
class BinanceDiffDepthUpdate {
public:
// json name: e
std::string event_type;
// json name: E
std::size_t event_time;
// json name: s
std::string symbol;
// The first event whose transition is included in this update
// json name: U
std::size_t first_update_id;
// The last event whose transition is included in this update
// json name: u
std::size_t last_update_id;
// json name: b
std::vector<BinanceBookLevel> changed_bids;
// json name: a
std::vector<BinanceBookLevel> changed_asks;
};
} // namespace bts::md::binance