Source/NFX/Financial/Market/SecDb/SecDBFileReader.cs
/// <summary>
/// Returns candle data at the specified resolution skipping the first specified number of seconds
/// </summary>
Returns candle data at the specified resolution skipping the first specified number of seconds
Returns candle data at the specified resolution skipping the first specified number of seconds
public IEnumerable<CandleData> GetCandleData(CandleHeader header, int skipSeconds = 0)
      {
        if (!header.IsAssigned || header.File!=this)
          throw new FinancialException(StringConsts.ARGUMENT_ERROR+"GetCandleData(!header.IsAssigned | wrong)");
        return workWithFile<enumerateCandleDataArgs, IEnumerable<CandleData>>(
                                 enumerateCandleData,
                                 new enumerateCandleDataArgs
                                 {
                                   Header = header,
                                   SkipSeconds = skipSeconds
                                 });
      }
public IEnumerable < CandleData > GetCandleData ( CandleHeader header , int skipSeconds = 0 ) { if ( ! header . IsAssigned || header . File != this ) throw new FinancialException ( StringConsts . ARGUMENT_ERROR + " " ) ; return workWithFile < enumerateCandleDataArgs , IEnumerable < CandleData > > ( enumerateCandleData , new enumerateCandleDataArgs { Header = header , SkipSeconds = skipSeconds } ) ; }
Returns candle data at the specified resolution skipping the first specified number of seconds
Returns candle data at the specified resolution skipping the first specified number of seconds
header
CandleHeader
<not_specific>
skipSeconds
int
<not_specific>