feat: add PriceHistoryResponse schema

This commit is contained in:
counterweight 2025-12-22 15:42:31 +01:00
parent 7339858a02
commit 3f3822f7c0
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -276,6 +276,22 @@ class RandomNumberOutcomeResponse(BaseModel):
created_at: datetime
# =============================================================================
# Price History Schemas
# =============================================================================
class PriceHistoryResponse(BaseModel):
"""Response model for a price history record."""
id: int
source: str
pair: str
price: float
timestamp: datetime
created_at: datetime
# =============================================================================
# Meta/Constants Schemas
# =============================================================================