|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
The replay feed's state. More...
#include <common/control_messages.hpp>
Public Attributes | |
| ControlHeader | header |
| uint8_t | venue |
| common/types.hpp Venue. | |
| FeedState | state |
| char | feed [32] |
| The feed's name, as configured. | |
| uint64_t | begin_ns |
| The configured window and the capture time reached, nanoseconds since the epoch. | |
| uint64_t | end_ns |
| uint64_t | current_ns |
| uint16_t | progress_permille |
| 0-1000 through the window, by capture time. | |
| double | speed |
| The configured replay speed; 0 is unpaced. | |
| char | message [96] |
| Free text, NUL-terminated. The reason, in ERROR. Cut to fit; CLI status reports more of it. | |
The replay feed's state.
Sent to a client when it connects, whenever the state changes, and about once a second while the feed is working (progress).
Definition at line 92 of file control_messages.hpp.
| uint64_t slick::sim::FeedStatusMessage::begin_ns |
The configured window and the capture time reached, nanoseconds since the epoch.
The published market data is stamped with the wall clock, so this is the only place the capture's own time is reported.
Definition at line 100 of file control_messages.hpp.
| uint64_t slick::sim::FeedStatusMessage::current_ns |
Definition at line 102 of file control_messages.hpp.
| uint64_t slick::sim::FeedStatusMessage::end_ns |
Definition at line 101 of file control_messages.hpp.
| char slick::sim::FeedStatusMessage::feed[32] |
The feed's name, as configured.
Definition at line 96 of file control_messages.hpp.
| ControlHeader slick::sim::FeedStatusMessage::header |
Definition at line 93 of file control_messages.hpp.
| char slick::sim::FeedStatusMessage::message[96] |
Free text, NUL-terminated. The reason, in ERROR. Cut to fit; CLI status reports more of it.
Definition at line 106 of file control_messages.hpp.
| uint16_t slick::sim::FeedStatusMessage::progress_permille |
0-1000 through the window, by capture time.
Definition at line 103 of file control_messages.hpp.
| double slick::sim::FeedStatusMessage::speed |
The configured replay speed; 0 is unpaced.
Definition at line 104 of file control_messages.hpp.
| FeedState slick::sim::FeedStatusMessage::state |
Definition at line 95 of file control_messages.hpp.
| uint8_t slick::sim::FeedStatusMessage::venue |
Definition at line 94 of file control_messages.hpp.