1.Position limit check for QHO and 2. QHO crash for rejected orders
This commit is contained in:
1 parent
61556eb534
commit
e8a467d5f1
2 files changed
+2
-1
No files matched your search
@@ -445,6 +445,7 @@ OrderOpResult NativeOrder::on_activate(Price p, Quantity q,
|
||||
// Early return so we skip the expensive report_state()
|
||||
// call. It is OK to spkip it because we are bound to report
|
||||
// our state once the excange aknowledges the order.
|
||||
update_working_position();
|
||||
return OrderOpResult{};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user