Ignore:
Timestamp:
09/17/26 00:36:39 (13 days ago)
Author:
Stefan <trsunovstefan@…>
Branches:
main
Children:
4438e45
Parents:
35bcb41
Message:

Remove volatility from Phase 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/db/schema_creation.sql

    r35bcb41 r9e6d8a2  
    261261    avg_price            numeric,
    262262    market_return_pct    numeric,
    263     price_volatility     numeric,
    264263    participating_users  bigint
    265264)
    … …  
    281280            COUNT(*)         AS trade_count,
    282281            AVG(price)       AS avg_price,
    283             STDDEV(price)    AS price_volatility,
    284282            MAX(first_price) AS first_price,
    285283            MAX(last_price)  AS last_price
    … …  
    300298        ROUND(ms.avg_price, 6)                                                            AS avg_price,
    301299        ROUND((ms.last_price - ms.first_price) / NULLIF(ms.first_price, 0) * 100, 2)      AS market_return_pct,
    302         ROUND(COALESCE(ms.price_volatility, 0), 6)                                        AS price_volatility,
    303300        COALESCE(p.participating_users, 0)                                                AS participating_users
    304301    FROM market_stats ms
Note: See TracChangeset for help on using the changeset viewer.