private void AnalysOPI1(OrderbookPublicInformation data) { if (data != null) { OrderbookPublicInformation orderbookPublic = CurrentExchange.GetOrderbookPublic("USD", 4); a2.BeginInvoke(orderbookPublic, null, null); lstOrderbookPublicInformation.Add(orderbookPublic); } }
private void AnalysOPI2(OrderbookPublicInformation data) { if (data != null) { OrderbookPublicInformation orderbookPublic = CurrentExchange.GetOrderbookPublic("BTCUSD", 4); lstOrderbookPublicInformation.Add(orderbookPublic); Debug.WriteLine(lstOrderbookPublicInformation.Count); } }