Files
evotraders/shared/schema/price.py
2026-03-30 17:46:44 +08:00

19 lines
279 B
Python

# -*- 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]