Class TDBRunner.BarsGenerator

  • All Implemented Interfaces:
    deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage>, deltix.util.concurrent.AbstractCursor, deltix.util.lang.Disposable, java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    TDBRunner

    public static class TDBRunner.BarsGenerator
    extends TDBRunner.BaseGenerator<deltix.qsrv.hf.pub.InstrumentMessage>
    • Field Detail

      • instrumentType

        public deltix.qsrv.hf.pub.InstrumentType instrumentType
    • Constructor Detail

      • BarsGenerator

        public BarsGenerator​(java.util.GregorianCalendar calendar,
                             int interval,
                             long count,
                             java.lang.String... tickers)
    • Method Detail

      • next

        public boolean next()
      • getDouble

        public double getDouble​(int max,
                                int precision)
      • isAtEnd

        public boolean isAtEnd()