investfly.models.marketdata.Bar

class BarInterval(builtins.str, enum.Enum):

Enum to represent BarInterval

ONE_MINUTE = <BarInterval.ONE_MINUTE: 'ONE_MINUTE'>
FIVE_MINUTE = <BarInterval.FIVE_MINUTE: 'FIVE_MINUTE'>
FIFTEEN_MINUTE = <BarInterval.FIFTEEN_MINUTE: 'FIFTEEN_MINUTE'>
THIRTY_MINUTE = <BarInterval.THIRTY_MINUTE: 'THIRTY_MINUTE'>
SIXTY_MINUTE = <BarInterval.SIXTY_MINUTE: 'SIXTY_MINUTE'>
ONE_DAY = <BarInterval.ONE_DAY: 'ONE_DAY'>
def getMinutes(self) -> int:
class Bar(builtins.dict):
symbol: str
barinterval: BarInterval
date: datetime.datetime
open: float
close: float
high: float
low: float
volume: int
class BarsGroup:
BarsGroup(barInterval: BarInterval)
barInterval
bars: List[Bar]
def addBars(self, bars: List[Bar]):
def addBar(self, bar: Bar):
def size(self) -> int: