SPARK-1574 Add space for implied book
This commit is contained in:
1 parent
293dddc54f
commit
6d7fbe5c84
9 files changed
+71
-34
No files matched your search
@@ -80,7 +80,9 @@ struct MDConsumerGroup {
|
||||
labels.push_back({ "type", SecurityType_Name(symbol.type()).substr(13) /*SECURITYTYPE_*/ });
|
||||
labels.push_back({ "exch", Venue_Name(symbol.exchange()).substr(6) /*VENUE_*/ });
|
||||
stats.publish(
|
||||
std::make_shared<metrics::LazyCounterMetricL>("spark_md_book_updates", [=]() { return std::max(channel.bbo_count(), channel.depth_count()); }, labels));
|
||||
std::make_shared<metrics::LazyCounterMetricL>("spark_md_book_updates", [=]() {
|
||||
return channel.direct_count() + channel.implied_count();
|
||||
}, labels));
|
||||
stats.publish(
|
||||
std::make_shared<metrics::LazyCounterMetricL>("spark_md_security_count", [=]() { return channel.security_count(); }, labels));
|
||||
stats.publish(
|
||||
|
||||
Reference in new issue
Block a user