|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
#include <common/types.hpp>#include <common/market_data.hpp>#include <nlohmann/json.hpp>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | slick::sim::md_publisher::L2Diff |
Namespaces | |
| namespace | slick |
| namespace | slick::sim |
| namespace | slick::sim::md_publisher |
Typedefs | |
| using | slick::sim::md_publisher::L2Levels = std::vector<std::pair<price_t, qty_t>> |
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) |
Variables | |
| constexpr uint32_t | slick::sim::md_publisher::L2_PUBLISH_DEPTH = 20 |