Skip to content

Interval


enum backtide.data.Interval

The time resolution of a single Bar.

Variants map to the canonical durations supported across providers.

  • 1m
  • 5m
  • 15m
  • 30m
  • 1h
  • 4h
  • 1d
  • 1w


See Also

Bar

A single OHLCV candle for one symbol at one interval.

Instrument

A tradeable financial instrument.

InstrumentType

The category an Instrument belongs to.


Methods

is_intraday Whether the interval is smaller than one day.
minutes Minutes in this interval.


method backtide.datais_intraday()

Whether the interval is smaller than one day.

Returns

bool

If interval is intraday.



method backtide.dataminutes()

Minutes in this interval.

Returns

int

Number of minutes.