Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
level2_book.hpp File Reference
#include <slick-trader/events/level2_update_event.hpp>
#include <slick-trader/events/trade_event.hpp>
#include <slick-trader/utils/order_types.hpp>
#include <slick-trader/utils/types.hpp>
#include <algorithm>
#include <charconv>
#include <cmath>
#include <cstdint>
#include <functional>
#include <iterator>
#include <string>
#include <string_view>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Include dependency graph for level2_book.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  slick::trader::Level2Book
struct  slick::trader::LastTrade
class  slick::trader::Level2Streams< Client >

Namespaces

namespace  slick
namespace  slick::trader

Functions

void slick::trader::append_json_string (std::string &out, std::string_view text)
template<typename T>
void slick::trader::append_json_number (std::string &out, T value)
template<typename ForEachLevel>
void slick::trader::write_level2_message (std::string &out, std::string_view instrument, uint64_t event_time_ns, uint64_t sequence_num, bool is_snapshot, ForEachLevel &&for_each_level)
void slick::trader::write_trade_message (std::string &out, std::string_view instrument, const LastTrade &trade)