chart/app/api
Chris Amow 3f677a333c Report where the snap indicator is drawn, not just what it computed
Diagnostic mode proved the arithmetic: on a 30m chart every sample snapped to
the correct bar and to exactly that bar's low, while the user still saw the
indicator sitting off the bars. That leaves the half never measured in their
browser — whether the dot is drawn where the price says it should be.

The report now carries the cursor's y, the dot's rendered y, the y the snapped
price maps to, and the y coordinates of the snapped bar's high and low. A
correctly computed answer drawn in the wrong place and a wrong answer drawn
faithfully look identical on a screenshot; these four numbers separate them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 23:32:39 -05:00
..
__init__.py Implement M1 live one-minute chart 2026-08-09 20:38:50 -05:00
deps.py Enforce CHART_AUTH_TOKEN on /api and /ws; restore /api/version for wait-deploy 2026-08-10 04:38:36 +00:00
meta.py Enforce CHART_AUTH_TOKEN on /api and /ws; restore /api/version for wait-deploy 2026-08-10 04:38:36 +00:00
routes.py Report where the snap indicator is drawn, not just what it computed 2026-08-10 23:32:39 -05:00
schwab_auth.py Add the OAuth callback endpoint at /api/qt 2026-08-10 04:45:31 -05:00
ws.py Move alert evaluation server-side so push works without a browser open 2026-08-10 00:48:03 -05:00