Skip to content

Trade data model: tape, trade prints, and per-price volume #37

Closed

Description

@joeblau

Part of the percept.one parity roadmap. Prerequisite for footprint charts.

Problem

No tick/trade records (price, size, side) — only mid-price ticks folded into bars.

Work

  • Trade { time, price, size, side } type + subscribeTrades(symbol, onTrade) datafeed channel
  • Trade aggregation store keyed by (bar, price) for footprint use
  • Optional: time & sales pane, trade-print markers on the chart

Completion audit

Verified on main in merged PR #41: Trade { time, price, size, side }, pushTrade/subscribeTrades, and a bounded (bar, price) aggregation store. Optional trade-print markers are implemented; a separate time-and-sales pane was not required. Covered by packages/chart/test/trades.test.ts.

Validation: the existing main suite passed 1,849 tests with 100% line, branch and function coverage; PR #41 main coverage and documentation workflows both passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    order-flowOrder flow / book / depth features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions