Bar

class hokohoko.entities.Bar(symbol_id: Union[int, int64], open: Union[float, float32], high: Union[float, float32], low: Union[float, float32], close: Union[float, float32], volume: Union[float, float32], start: Union[int, int64], end: Union[int, int64])

Bases: tuple

Contains foreign exchange data for a single Symbol over a period of time.

Create new instance of Bar(symbol_id, open, high, low, close, volume, start, end)

property symbol_id

An integer representation of the symbol. [numpy.int64]

property open

The exchange rate for this symbol at the open of this Bar. [numpy.float32]

property high

The highest exchange rate seen for this symbol during this Bar. [numpy.float32]

property low

The lowest exchange rate seen for this symbol during this Bar. [numpy.float32]

property close

The exchange rate for this symbol at the close of this Bar. [numpy.float32]

property volume

The relative trade volume during this Bar. [numpy.float32]

property start

The UTC timestamp at the start of this Bar. [numpy.int64]

property end

The UTC timestamp at the end of this Bar. [numpy.int64]