public TradeArray GetTradeArray(string series, DateTime datetime1, DateTime datetime2) { TradeArray trades = new TradeArray(); if (this.file.Series[series] != null) { foreach (Trade trade in this.file.Series[series].GetArray(datetime1, datetime2)) trades.Add(trade); } return trades; }
public TradeArray this[Instrument instrument] { get { TradeArray tradeArray = this.arrayList[instrument] as TradeArray; if (tradeArray == null) { tradeArray = new TradeArray(); this.arrayList.Add(instrument, tradeArray); } return tradeArray; } }
public static TradeArray GetHistoricalTrades(IHistoricalDataProvider provider, Instrument instrument, DateTime datetime1, DateTime datetime2) { ArrayList arrayList = DataManager.r6ZT8iFUv(provider, instrument, DataManager.EDataSeries.Trade, datetime1, datetime2, -1L); TradeArray tradeArray = new TradeArray(); foreach (Trade trade in arrayList) tradeArray.Add(trade); return tradeArray; }
public TradeSeriesEnumerator(TradeArray series) { this.series = series; this.enumerator = series.GetEnumerator(); }
public TradeSeries() { this.series = new TradeArray(); }
internal TradeSeries(TradeArray series) { this.series = series; }
public TradeArrayEventArgs(TradeArray array) : base() { this.TradeArray = array; }