Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
coinbase_trade_encoder.cpp File Reference
#include "coinbase_trade_encoder.hpp"
#include <common/order.hpp>
#include <common/types.hpp>
#include <utils/timestamp.hpp>
#include <string>
Include dependency graph for coinbase_trade_encoder.cpp:

Go to the source code of this file.

Namespaces

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

Functions

json slick::sim::md_publisher::encode_market_trade (const char *product_id, const TradeSummary &summary)
 One executed trade, as a "type":"update" event.
json slick::sim::md_publisher::encode_market_trades (const char *product_id, const char *event_type, const MDTrade *trades, uint32_t num_trades, bool newest_first)
 A run of trades as a single event of the given type.