Changed limit enforcing to use fills to seed limiter.
This commit is contained in:
1 parent
7f7e1b8483
commit
4875a6db25
4 files changed
+78
-38
No files matched your search
@@ -118,7 +118,8 @@ void NativeOrder::on_init_recovered(OrderRecord const &rec,
|
||||
me->definition = def;
|
||||
me->state = rec.state();
|
||||
me->sec = serv.sec_db.resolve(SecurityKey(def.security_key()));
|
||||
|
||||
me->previous_position_contribution = Quantity(rec.state().filled_quantity());
|
||||
|
||||
auto const &native_state = get_native_state(me->state);
|
||||
switch (me->state.status()) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user