Source/NFX/Financial/Market/SecDb/SecDBFileReader.cs
/// <summary>
/// Tries to find a candle stream by resolution and returns stream data starting from the specified UTC start time
/// </summary>
Tries to find a candle stream by resolution and returns stream data starting from the specified UTC start time
Tries to find a candle stream by resolution and returns stream data starting from the specified UTC start time
public IEnumerable<StreamSample> GetStreamData(uint resolutionSec, DateTime startTimeUTC)
      {
        var hdr = GetCandleHeader(resolutionSec);
        if (!hdr.IsAssigned) return Enumerable.Empty<StreamSample>();
        return this.GetStreamData(hdr, hdr.GetSkipSecondsUntil(startTimeUTC));
      }
public IEnumerable < StreamSample > GetStreamData ( uint resolutionSec , DateTime startTimeUTC ) { var hdr = GetCandleHeader ( resolutionSec ) ; if ( ! hdr . IsAssigned ) return Enumerable . Empty < StreamSample > ( ) ; return this . GetStreamData ( hdr , hdr . GetSkipSecondsUntil ( startTimeUTC ) ) ; }
Tries to find a candle stream by resolution and returns stream data starting from the specified UTC start time
Tries to find a candle stream by resolution and returns stream data starting from the specified UTC start time
resolutionSec
uint
startTimeUTC
DateTime