finsec.quotes module
Contents
finsec.quotes module#
- class finsec.quotes.AbstractBar(*, exchange: Exchange | None = None, start_timestamp: datetime = None, end_timestamp: datetime = None, volume: Decimal | None = None)[source]#
Bases:
AbstractQuote
- class finsec.quotes.AbstractQuote(*, exchange: Exchange | None = None)[source]#
Bases:
BaseModel
- class finsec.quotes.AbstractSnapshot(*, exchange: Exchange | None = None, timestamp: datetime = None)[source]#
Bases:
AbstractQuote
- class finsec.quotes.HLS(*, exchange: Exchange | None = None, start_timestamp: datetime = None, end_timestamp: datetime = None, volume: Decimal | None = None, high: Decimal = None, low: Decimal = None, settle: Decimal = None)[source]#
Bases:
AbstractBar
- class finsec.quotes.LevelOneQuote(*, exchange: Exchange | None = None, timestamp: datetime = None, bid: Decimal = None, ask: Decimal = None, bid_sz: Size = None, ask_sz: Size = None, last: Decimal | None = None, last_sz: Size | None = None, last_time: datetime | None = None)[source]#
Bases:
AbstractSnapshot
- ask_sz: Size#
- bid_sz: Size#
- class finsec.quotes.OHLC(*, exchange: Exchange | None = None, start_timestamp: datetime = None, end_timestamp: datetime = None, volume: Decimal | None = None, open: Decimal = None, high: Decimal = None, low: Decimal = None, close: Decimal = None, open_interest: Decimal | None = None)[source]#
Bases:
AbstractBar