internal

D3: flush settled 1m oracle bars + trigger incremental coarse rollup

Per-minute cron flush: drains settled minute bars from the accumulator into price_bars, then re-derives the affected 15m/1h/4h/1d windows.

pg_cron schedule: every minute. Dead-man 2x = 120s. FOUNDER-GATED to have effect: PYTH_LIVE_ROLLUP_ENABLED must be True; until then the accumulator stays empty and this flush is a no-op.

post/internal/cron/pyth-live-flush

Headers

x-internal-secretstring nullable

Response

Successful Response

object required

Changes

Changed in 1 of the 7 revisions of this API.13

  • b7c4b36e1fa113See the full diff
    • removed the optional property detail from the response with the 422 status

      response-optional-property-removed

    • added the required property details to the response with the 422 status

      response-required-property-added

    • added the required property error to the response with the 422 status

      response-required-property-added

    • added the required property message to the response with the 422 status

      response-required-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog