Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
order.hpp File Reference
#include <cstdint>
#include <atomic>
#include <cassert>
#include <common/types.hpp>
Include dependency graph for order.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::utils
 Conversions between wire decimals with a constant exponent of -9 (CME PRICE9, ICE Decimal9) and the simulator's 1e-8 fixed point.

Functions

uint64_t slick::sim::utils::nextOrderId () noexcept
void slick::sim::utils::executeOrder (Order *order, price_t price, qty_t executed_quantity, time_t timestamp)