GetPriceBarResponseDTO¶
stonepy.models.GetPriceBarResponseDTO.GetPriceBarResponseDTO
¶
Bases: ResponseModel
The response from a price bar history GET request. Contains both an array of finalized price bars, and a partial (not finalized) bar for the current period.
price_bars
class-attribute
instance-attribute
¶
price_bars: list[PriceBarDTO] | None = Field(
default=None, alias="PriceBars"
)
An array of finalized price bars, sorted in ascending order based on PriceBar.BarDate .
partial_price_bar
class-attribute
instance-attribute
¶
partial_price_bar: PriceBarDTO | None = Field(
default=None, alias="PartialPriceBar"
)
The (non-finalized) price bar data for the current period (i.e, the period that has not yet completed) .