Skip to content

feat: add modular BTC and TSLA evidence monitor - #1494

Closed
MAD42CAP wants to merge 5 commits into
TraderAlice:devfrom
MAD42CAP:feature/market-evidence-monitor
Closed

MAD42CAP wants to merge 5 commits into
TraderAlice:devfrom
MAD42CAP:feature/market-evidence-monitor

Conversation

@MAD42CAP

@MAD42CAP MAD42CAP commented Sep 12, 2026

Copy link
Copy Markdown

Summary

  • add a read-only, modular Market Evidence Monitor for BTC and TSLA
  • reuse OpenAlice BarService for separately attributed daily/hourly bars with explicit fallback health
  • add evidence-chain analysis, competing hypotheses, confirmation/invalidation, semantic de-duplication, evaluation, alerts and scan receipts
  • add a responsive /market/evidence dashboard with deterministic demo data, CSV/JSON export and opt-in browser notifications
  • persist compact observations while storing only the latest chart series separately
  • add a loopback-only live acceptance command with a read-only default and explicit --scan mode
  • quantize continuously moving derivatives values at decision scale and retain last valid context through provider outages

Product boundary

This increment never reads trading accounts and never submits, stages, approves or cancels orders. It organizes observable evidence; it does not claim to identify a market actor's intent.

Verification

  • pnpm exec tsc --noEmit
  • cd ui && pnpm exec tsc -b
  • monitor plus live-acceptance closure: 18/18 passed
  • pnpm market-monitor:preview -- --check
  • pnpm market-monitor:acceptance -- --help
  • full production build completed successfully
  • isolated Linux runtime passed read-only and live-scan acceptance for BTC and TSLA
  • live BTC exercised healthy, timeout-with-retained-context and recovery transitions
  • live TSLA exercised duplicate suppression and a meaningful new-news transition

The broader host-dependent suites reach PTY, Unix-socket, installer and temporary-Git tests that cannot run in the managed container. No Market Monitor test failed. Native desktop/narrow-window and long-window scheduling acceptance remain to be performed on macOS before this draft is marked ready.

macOS acceptance

  1. Run pnpm dev.
  2. In a second terminal, run pnpm market-monitor:acceptance for read-only checks.
  3. Run pnpm market-monitor:acceptance -- --scan to exercise BTC and TSLA evidence scans.
  4. Inspect dist/market-monitor-acceptance.json, then observe scheduling and alert de-duplication for 24–72 hours.

Review state

Draft only. Do not merge until macOS live-data acceptance and the planned 24–72 hour duplicate/alert observation pass are complete.

@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

@MAD42CAP is attempting to deploy a commit to the luokerenx4's Team Team on Vercel.

A member of the Team first needs to authorize it.

@MAD42CAP MAD42CAP closed this Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant