Source/NFX/Financial/Market/SecDb/SecDBFileReader.cs
/// <summary>
/// Gets stream data per candle header index skipping the specified seconds count from data start
/// </summary>
Gets stream data per candle header index skipping the specified seconds count from data start
Gets stream data per candle header index skipping the specified seconds count from data start
public IEnumerable<StreamSample> GetStreamData(CandleHeader header, int skipSeconds = 0)
      {
        var candle = GetCandleData(header, skipSeconds).FirstOrDefault();
        if (!candle.IsAssigned) return Enumerable.Empty<StreamSample>();
        return workWithFile<enumerateStreamDataArgs, IEnumerable<StreamSample>>(
                                 enumerateStreamData,
                                 new enumerateStreamDataArgs
                                 {
                                   Candle = candle
                                 });
      }
public IEnumerable < StreamSample > GetStreamData ( CandleHeader header , int skipSeconds = 0 ) { var candle = GetCandleData ( header , skipSeconds ) . FirstOrDefault ( ) ; if ( ! candle . IsAssigned ) return Enumerable . Empty < StreamSample > ( ) ; return workWithFile < enumerateStreamDataArgs , IEnumerable < StreamSample > > ( enumerateStreamData , new enumerateStreamDataArgs { Candle = candle } ) ; }
Gets stream data per candle header index skipping the specified seconds count from data start
Gets stream data per candle header index skipping the specified seconds count from data start
header
CandleHeader
skipSeconds
int