blob: 1b2eb0df943a2e474798ad9ac97da4e18127f918 (
plain)
1
2
3
4
5
6
7
8
|
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
|