Fixed a bug in top update

This commit is contained in:
Pedro Pinto committed 2019-07-08 14:09:37 -04:00
1 parent d297b703c7
commit 37dacff74d
2 files changed
+2

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ insert_anchor_links = "right"
- In the ladder made last trade more distinctive when overlayed on the volumn column
- In the ladder, corrected display of volume tool tip
- In the ladder, changed the consolidation of last trade to consider only the price ignoring aggressor changes
- Added an option for the Top Algo to delete itself if within N ticks from top of book
### Internal Changes
- Ensure that admin logins are always allowed to login, regardless of keycode status.
@@ -88,6 +88,7 @@ void TopAlgo::do_update(api::orderman::Update const &update) {
auto &top_update = update.custom().top();
*child_update.mutable_custom() = top_update.child();
me->top_threshold_measure = top_update.top_threshold();
me->ticks_off = top_update.ticks_off();
}
algo().update_child(me->child_key, child_update);
}