#include <OnixS/CME/MDH/BookManagement.h>
Public Member Functions | |
| BboThreshold (const SettingGroup *group=nullptr) | |
| BboThreshold (const BboThreshold &other) | |
| ~BboThreshold ()=default | |
| bool | enabled () const noexcept |
| BboThreshold & | enabled (bool value) |
| const Messaging::Decimal & | threshold () const noexcept |
| BboThreshold & | threshold (const Messaging::Decimal &value) |
| BboThreshold & | operator= (const BboThreshold &other) |
Protected Member Functions | |
| const SettingGroup & | group () const |
| void | assignNoControl (const BboThreshold &other) |
Friends | |
| class | MboBboTracking |
| class | ImpliedBboTracking |
| class | DirectBboTracking |
A threshold is inactive until enabled explicitly. When active, it is used by the corresponding BBO tracking object to decide whether a change in price, quantity, or number of orders is large enough to raise a BBO-specific update.
Definition at line 46 of file BookManagement.h.
|
inline |
Initializes disabled tracking for a BBO attribute.
| group | Optional settings group used to validate and control assignments. When null, the setting is not associated with a group. |
Definition at line 53 of file BookManagement.h.
|
inline |
Copies threshold settings from another instance.
| other | Source settings. |
Definition at line 65 of file BookManagement.h.
|
default |
Finalizes the threshold settings.
|
inlineprotected |
Re-initializes the instance as a copy of the other one and bypassing assignment control.
Definition at line 163 of file BookManagement.h.
|
inlinenoexcept |
Indicates whether this threshold is active.
Definition at line 80 of file BookManagement.h.
|
inline |
Enables or disables this threshold.
| value | True to test the tracked attribute against this threshold. |
| `std::runtime_error` | If the setting belongs to a handler that is processing market data or being configured from another source. |
Definition at line 91 of file BookManagement.h.
|
inlineprotected |
Instance of a group which the given set of settings belongs to.
Definition at line 156 of file BookManagement.h.
|
inline |
Copies threshold settings from another instance.
| other | Source settings. |
| std::runtime_error | If the setting belongs to a handler that is processing market data or being configured from another source. |
Definition at line 136 of file BookManagement.h.
|
inlinenoexcept |
Returns the relative threshold for the tracked attribute.
Definition at line 102 of file BookManagement.h.
|
inline |
Updates the relative threshold for the tracked attribute.
| value | New non-negative threshold value. |
| std::runtime_error | If value is negative. |
| std::runtime_error | If the setting belongs to a handler that is processing market data or being configured from another source. |
Definition at line 114 of file BookManagement.h.
|
friend |
Lets grouping and value assignment control functioning.
Definition at line 151 of file BookManagement.h.
|
friend |
Lets grouping and value assignment control functioning.
Definition at line 148 of file BookManagement.h.
|
friend |
Lets grouping and value assignment control functioning.
Definition at line 145 of file BookManagement.h.