exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
event_encoding.cpp File Reference
#include "server/matching_engine/fuzzing/event_encoding.hpp"
#include "common/util/overloads.hpp"
#include "server/common/model/event/amend_limit_order_event.hpp"
#include "server/common/model/event/cancel_limit_order_event.hpp"
#include "server/common/model/event/new_limit_order_event.hpp"
#include "server/common/model/event/new_market_order_event.hpp"
#include "server/common/model/side.hpp"
#include "server/common/model/time_in_force.hpp"
#include "server/common/model/value_object/account_id.hpp"
#include "server/common/model/value_object/price.hpp"
#include "server/common/model/value_object/quantity.hpp"
#include <boost/uuid/uuid.hpp>
#include <algorithm>
#include <array>
#include <cstddef>
#include <filesystem>
#include <fstream>
#include <ios>
#include <optional>
#include <stdexcept>
#include <string>
#include <variant>
Include dependency graph for event_encoding.cpp:

Namespaces

namespace  exchange
namespace  exchange::server

Functions

std::vector< Event > exchange::server::decodeEvents (std::span< const uint8_t > bytes, std::span< const SecurityId > securities)
std::vector< uint8_t > exchange::server::encodeEvents (std::span< const Event > events, std::span< const SecurityId > securities)
void exchange::server::serializeEventsIntoSeedsDirectory (const std::unordered_map< std::string, std::span< const Event > > &seeds)