40 throw std::runtime_error
42 "Threshold for tracking best bids " 43 "or offers can't be a negative value. " 81 threshold_ = other.threshold_;
82 enabled_ = other.enabled_;
93 , threshold_(), enabled_(false)
134 "BBO Threshold Enable",
181 "BBO Threshold Settings",
182 &BboThreshold::assignNoControl,
193 ONIXS_CONFLATEDUDP_EXPORTED
202 ONIXS_CONFLATEDUDP_EXPORTED
231 return price_.
group();
252 , numberOfOrders_(group)
264 : price_(other.price_)
265 , quantity_(other.quantity_)
266 , numberOfOrders_(other.numberOfOrders_)
306 numberOfOrders()
const 308 return numberOfOrders_;
315 return numberOfOrders_;
360 "Direct BBO Tracking Settings",
361 &DirectBboTracking::assignNoControl,
371 ONIXS_CONFLATEDUDP_EXPORTED
385 toStr(str, tracking);
403 BboTracking bboTracking_;
420 return bboTracking_.group();
442 : maintain_(false), bboTracking_(group)
454 : maintain_(other.maintain_)
455 , bboTracking_(other.bboTracking_)
503 BboTracking& bboTracking()
522 "Base Book Management Settings",
523 &BaseBookManagement::assignNoControl,
571 Base::assignNoControl(other);
582 Depth defaultDepth = 0)
618 return defaultDepth_;
653 "Fixed Depth Book Management Settings",
654 &FixedDepthBookManagement::assignNoControl,
690 ONIXS_CONFLATEDUDP_EXPORTED
704 toStr(str, strategy);
758 updateNotification_ =
759 other.updateNotification_;
768 , directBooks_(&group(), 10)
769 , updateNotification_(
786 , updateNotification_(
787 other.updateNotification_)
815 updateNotification()
const 817 return updateNotification_;
828 "Update Notification",
845 "Book Management Settings",
846 &BookManagement::assignNoControl,
856 ONIXS_CONFLATEDUDP_EXPORTED
870 toStr(str, settings);
A real number with floating exponent.
Parameters affecting book management machinery.
UInt32 Base
Integral type used as basement for constants.
bool enabled() const
Indicates whether tracking is enabled.
FixedDepthBookManagement< DirectBboTracking, MbpBookDepth > DirectBookManagement
Management and tracking parameters for direct books.
Int32 & numberOfOrders()
Updates total number of orders.
void throwBadBboThreshold()
Raises exception on invalid best bid/offer threshold value.
Defines book update notification strategies.
UInt8 MbpBookDepth
Market by price order book depth type.
Mantissa mantissa() const
Returns mantissa of given decimal.
Defines tracking for BBO in direct books.
void assignNoControl(const BboThreshold &other)
Handler's configuration settings.
const Decimal & price() const
#define ONIXS_CONFLATEDUDP_LTWT_CLASS_DECL(name)
Encapsulates price level concept.
const SettingGroup & group() const
Defines tracking attributes for a particular BBO parameter.
#define ONIXS_CONFLATEDUDP_LTWT_STRUCT
std::string toStr(const BookManagement &settings)
Serializes book management settings into string.
Base services for settings grouped by a certain criteria.
Int64 quantity() const
Quantify for the given price.
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
bool value(Number &number, const MultiContainer &container, Tag tag)
const Decimal & threshold() const
Threshold for the parameter being tracked.
ONIXS_CONFLATEDUDP_EXPORTED bool thresholdExceeded(const Decimal &, Int64, Int64)
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN