SuperAI_Forecast / backend /api_models.py
Thang6822
Update Kronos Platform v6.1.0: Complete backend refactor and frontend UI optimization
a721dfa
raw
history blame contribute delete
264 Bytes
from __future__ import annotations
from typing import List
from pydantic import BaseModel, Field
class SwitchRequest(BaseModel):
symbol: str
interval: str
class WatchlistRequest(BaseModel):
symbols: List[str] = Field(min_length=1, max_length=50)