Exemple #1
0
 public void Setup()
 {
     tradeSet              = new GenericObservableHashSet <Trade>(new IdentifiedEqualityComparer());
     tradeSet.OnItemAdded += Update_LastTradeId;
 }
Exemple #2
0
 public TradingDataContext()
 {
     this.Trades = new GenericObservableHashSet <Trade>(new IdentifiedEqualityComparer());
     this.Bars   = new GenericObservableList <Bar>();
     this.Orders = new GenericObservableHashSet <Order>(new IdentifiedEqualityComparer());
 }