SPARK-701 Allow cancel of child orders in ladder

This commit is contained in:
John Colvin committed 2018-03-20 14:32:46 -04:00
1 parent 3f9ce2fa11
commit da3956764c
1 file changed
+1 -1
@@ -94,7 +94,7 @@ namespace mbts.spark {
public bool has_phantom_price => !double.IsNaN(_phantom_price);
public ICommand shatter_command => new DelegateCommand(() => _execute_command(model.order_gateway.crack_order(_order.Key).ignore) , () => !has_parent);
public ICommand cancel_command => new DelegateCommand(() => _execute_command(_cancel_order), () => !has_parent);
public ICommand cancel_command => new DelegateCommand(() => _execute_command(_cancel_order));
public ICommand modify_command => new DelegateCommand(() => _execute_command(() => _bus.post(SparkTags.ShowModifyOrderTag, _order.Key)), () => !has_parent);
public event Action command_executed;
void _execute_command(Action action) {