from pydantic import BaseModel class Bid(BaseModel): id: int timestamp: str quantity: float price: float type: str # Could be a boolean value to represent whether the bid is a buy or sell order