public Stack stkTrades; // stack the trades so oldest at the bottom based on retrieval from iqfeed public HistoryState( GetHistory gh ) { this.gh = gh; trades = new TradeArray(); quotes = new QuoteArray(); stkTrades = new Stack(2000); dtstk = new DateTime(0); Init(); }
public void Close() { gh = null; instrument = null; bs = null; bars = null; trades = null; quotes = null; stkTrades = null; bufSock.Close(); bufSock = null; }