|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
State one match() call carries through its fills. More...
#include <matching_engine/match_common.hpp>
Public Attributes | |
| MatchingEngine & | engine |
| OrderBook & | book |
| slick::sim::time_t | event_time |
| uint64_t | seq_num |
| std::vector< TradeSummaryInfo > | summaries {} |
| price_t | last_fill_price = NULL_PRICE |
| size_t | legs_hint = 0 |
| Legs a summary started at the current level may reach, aggressor included. | |
State one match() call carries through its fills.
Definition at line 235 of file match_common.hpp.
| OrderBook& slick::sim::engine::detail::MatchContext::book |
Definition at line 237 of file match_common.hpp.
Referenced by slick::sim::engine::detail::fillResting(), and slick::sim::engine::detail::fillRestingFromFeed().
| MatchingEngine& slick::sim::engine::detail::MatchContext::engine |
Definition at line 236 of file match_common.hpp.
Referenced by slick::sim::engine::detail::fillResting(), and slick::sim::engine::detail::fillRestingFromFeed().
| slick::sim::time_t slick::sim::engine::detail::MatchContext::event_time |
Definition at line 238 of file match_common.hpp.
Referenced by slick::sim::engine::detail::fillResting(), slick::sim::engine::detail::fillRestingFromFeed(), and slick::sim::engine::detail::recordTrade().
| price_t slick::sim::engine::detail::MatchContext::last_fill_price = NULL_PRICE |
Definition at line 241 of file match_common.hpp.
Referenced by slick::sim::engine::detail::recordTrade().
| size_t slick::sim::engine::detail::MatchContext::legs_hint = 0 |
Legs a summary started at the current level may reach, aggressor included.
Pro-rata fills every order on a level at once, so it sets this to size the summary's Trades once; FIFO leaves it 0.
Definition at line 245 of file match_common.hpp.
Referenced by slick::sim::engine::detail::recordTrade().
| uint64_t slick::sim::engine::detail::MatchContext::seq_num |
Definition at line 239 of file match_common.hpp.
Referenced by slick::sim::engine::detail::fillResting(), and slick::sim::engine::detail::fillRestingFromFeed().
| std::vector<TradeSummaryInfo> slick::sim::engine::detail::MatchContext::summaries {} |
Definition at line 240 of file match_common.hpp.
Referenced by slick::sim::engine::detail::recordTrade().