Algos now go through an orderly shutdown phase.

During which they can still process child updates.
This commit is contained in:
Pedro Pinto committed 2019-07-15 10:59:13 -04:00
1 parent 8553229119
commit 830b590e5b
4 files changed
+114 -9

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ struct Proxy : public IAlgoServices {
Price price() const { return Price(0); }
Quantity quantity() const { return Quantity(0); }
Quantity total_fills() const { return Quantity(0); }
bool is_shutting_down() const {return false;}
void subscribe_book(SecurityKey){};
void unsubscribe_book(SecurityKey) {}
void subscribe_child_change(OrderKey) {}