Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
hyperliquid_l2_diff.cpp File Reference
#include "hyperliquid_l2_diff.hpp"
#include "hyperliquid_wire_format.hpp"
#include <openssl/evp.h>
#include <zlib.h>
#include <algorithm>
#include <stdexcept>
#include <unordered_map>
#include <unordered_set>
Include dependency graph for hyperliquid_l2_diff.cpp:

Go to the source code of this file.

Namespaces

namespace  slick
namespace  slick::sim
namespace  slick::sim::md_publisher

Functions

void slick::sim::md_publisher::split_book_snapshot (const MDLevel *levels, uint32_t num_bid, uint32_t num_ask, nlohmann::json::array_t &bids, nlohmann::json::array_t &asks, L2Levels &curr_bid, L2Levels &curr_ask)
L2Diff slick::sim::md_publisher::compute_l2_diff (const L2Levels &prev_bid, const L2Levels &prev_ask, const L2Levels &curr_bid, const L2Levels &curr_ask)
std::string slick::sim::md_publisher::encode_l2_diff (const nlohmann::json &payload)