# -*- coding: utf-8 -*- """Price-related schemas.""" from pydantic import BaseModel class Price(BaseModel): open: float close: float high: float low: float volume: int time: str class PriceResponse(BaseModel): ticker: str prices: list[Price]