just keep checking the OB cache rather than against our local one
This commit is contained in:
1 parent
84cf2a3ad1
commit
13d054a54c
1 file changed
+1
-9
@@ -22,7 +22,6 @@ namespace mbts.spark {
|
||||
IRaiseCanExecuteChangedCommand _show_order_modify_cmd, _toggle_expanded_cmd, _cancel_cmd, _detach_command, _attach_command, _update_command, _modify_order_quantity_andor_price, _revert_prospective_order_quantity_andor_price;
|
||||
bool _is_parent, _is_expanded, _is_selected, _is_attachable, _is_detachable;
|
||||
int _depth_level;
|
||||
OrderRecordImmutable? _root_algo_record;
|
||||
SecurityImmutable? _security => order_tuple.security;
|
||||
|
||||
|
||||
@@ -105,14 +104,7 @@ namespace mbts.spark {
|
||||
public string filled_status_desc => order.filled_status_description(security.spec_or_default());
|
||||
|
||||
// Root Algo
|
||||
public OrderRecordImmutable root_algo_record {
|
||||
get {
|
||||
if (!_root_algo_record.HasValue) {
|
||||
_root_algo_record = _owner.get_root(this.order);
|
||||
}
|
||||
return _root_algo_record.Value;
|
||||
}
|
||||
}
|
||||
public OrderRecordImmutable root_algo_record => _owner.get_root(this.order);
|
||||
public CustomOrderDefinition.CustomOneofCase root_algo_order_type => root_algo_record.order_type();
|
||||
public OrderSecurityAlgoMeta root_algo_order_tuple => _owner.get_ordersecurityalgometa(root_algo_record);
|
||||
public OrderMetadata root_algo_order_metdata => _owner.get_metadata(root_algo_record);
|
||||
|
||||
Reference in new issue
Block a user