diff options
Diffstat (limited to 'backend/app/schemas.py')
| -rw-r--r-- | backend/app/schemas.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backend/app/schemas.py b/backend/app/schemas.py index db0076d..2ee6dac 100644 --- a/backend/app/schemas.py +++ b/backend/app/schemas.py @@ -39,6 +39,23 @@ class OverviewStats(BaseModel): beta: float | None = None +class OverviewRatios(BaseModel): + price_to_book: float | None = None + price_to_sales: float | None = None + ev_to_sales: float | None = None + ev_to_ebitda: float | None = None + gross_margin_ttm: float | None = None + operating_margin_ttm: float | None = None + net_margin_ttm: float | None = None + roe_ttm: float | None = None + roa_ttm: float | None = None + roic_ttm: float | None = None + debt_to_equity: float | None = None + current_ratio: float | None = None + dividend_yield_ttm: float | None = None + dividend_payout_ratio_ttm: float | None = None + + class Range52Week(BaseModel): low: float | None = None high: float | None = None @@ -75,6 +92,7 @@ class TickerOverview(BaseModel): quote: Quote signals: list[Signal] = Field(default_factory=list) stats: OverviewStats + ratios: OverviewRatios range_52w: Range52Week short_interest: ShortInterest meta: OverviewMeta |
