Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
coinbase_common.hpp File Reference
#include <common/order.hpp>
#include <nlohmann/json.hpp>
#include <utils/timestamp.hpp>
Include dependency graph for coinbase_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  slick
namespace  slick::sim
namespace  slick::sim::order_gateway
namespace  slick::sim::order_gateway::coinbase

Enumerations

enum class  slick::sim::order_gateway::coinbase::RoutingEffect { slick::sim::order_gateway::coinbase::Learn , slick::sim::order_gateway::coinbase::Forget , slick::sim::order_gateway::coinbase::Ignore }
 What an execution report means for the order-id -> symbol routing table. More...

Functions

constexpr RoutingEffect slick::sim::order_gateway::coinbase::routing_effect (OrderStatus status)
 Terminal reports retire routing.
std::string slick::sim::order_gateway::coinbase::dump_json (const json &value)
 nlohmann's dump() throws on invalid UTF-8.
std::string_view slick::sim::order_gateway::coinbase::to_coinbase_string (TimeInForce tif)
json slick::sim::order_gateway::coinbase::to_json (const Order &order)