#include <fastmm/core/quote_manager.hpp>
◆ clear()
| void fastmm::DesiredQuotes::clear |
( |
| ) |
|
|
inlinenoexcept |
◆ account()
| VenueId fastmm::DesiredQuotes::account |
( |
Side |
s, |
|
|
std::uint32_t |
lvl |
|
) |
| const |
|
inlinenoexcept |
◆ side()
◆ empty()
| bool fastmm::DesiredQuotes::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ bid()
| bool fastmm::DesiredQuotes::bid |
( |
Price |
px, |
|
|
Qty |
qty |
|
) |
| |
|
inlinenoexcept |
Append the next level of a side (index 0 first).
A non-positive price or quantity is dropped, as is a level beyond kMaxQuoteLevels; returns whether the level was added.
◆ ask()
| bool fastmm::DesiredQuotes::ask |
( |
Price |
px, |
|
|
Qty |
qty |
|
) |
| |
|
inlinenoexcept |
◆ uncross()
| void fastmm::DesiredQuotes::uncross |
( |
Price |
tick | ) |
|
|
inlinenoexcept |
Never cross ourselves at level 0: an ask at or below the best bid moves one tick above it.
◆ bids
◆ asks
◆ bid_account
The pool account a level's order goes from (NewOrderRequest::account); invalid = the engine's automatic routing.
A resting order on another account is cancelled and placed again.
◆ ask_account