|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
Dense-by-id table built at startup; symbol lookup is a sorted FlatMap keyed by (venue, symbol). More...
#include <fastmm/core/instrument.hpp>
Classes | |
| struct | Key |
Public Member Functions | |
| Result< InstrumentId, InstrumentError > | add (const Instrument &inst) noexcept |
| std::size_t | size () const noexcept |
| bool | contains (InstrumentId id) const noexcept |
| const Instrument & | get (InstrumentId id) const noexcept |
| Instrument & | get (InstrumentId id) noexcept |
| const Instrument & | operator[] (InstrumentId id) const noexcept |
| const Instrument * | find (VenueId venue, std::string_view symbol) const noexcept |
| const Instrument * | begin () const noexcept |
| const Instrument * | end () const noexcept |
| const Instrument * | data () const noexcept |
| SettlementMix | settlement_mix () const noexcept |
| Two instruments settle alike when they name the same settlement currency, linear or inverse (Deribit's inverse BTC-PERPETUAL and its BTC-quoted options both settle in BTC); an unnamed currency only matches another unnamed one of the same kind. | |
| void | clear () noexcept |
Dense-by-id table built at startup; symbol lookup is a sorted FlatMap keyed by (venue, symbol).
Ids are the insertion index.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Two instruments settle alike when they name the same settlement currency, linear or inverse (Deribit's inverse BTC-PERPETUAL and its BTC-quoted options both settle in BTC); an unnamed currency only matches another unnamed one of the same kind.
|
inlinenoexcept |