|
Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
|
An instrument is identified by both venue and name. More...
#include <common/symbol_manager.hpp>
Public Member Functions | |
| bool | operator== (const SymbolKey &other) const noexcept |
Public Attributes | |
| Venue | venue |
| symbol_name_t | name |
An instrument is identified by both venue and name.
Using the name alone would make instruments with the same ticker on different venues collide: the second Symbol would be unreachable, and lookups would return the first.
Definition at line 15 of file symbol_manager.hpp.
|
inlinenoexcept |
Definition at line 19 of file symbol_manager.hpp.
| symbol_name_t slick::sim::SymbolKey::name |
Definition at line 17 of file symbol_manager.hpp.
Referenced by operator==().
| Venue slick::sim::SymbolKey::venue |
Definition at line 16 of file symbol_manager.hpp.
Referenced by operator==().