Trusted-local desktop app for comparing Pine Script and Python strategies on the same candle data, charting both outputs side by side, and checking whether their indicators, signals, and trade behavior align.
This repository is v1 complete for trusted single-user local desktop use.
What is real today:
- Windows desktop installer with Electron + bundled FastAPI backend
- First-run demo dataset and demo replay run
- Imports, Workspace, Runs, Settings, Alignment, and Library pages
- Pine and Python charting on the same dataset
- Built-in indicator library with Pine + Python code
- Parity automation for built-in indicators
- Playwright smoke coverage for the main app routes
- Release checklist and installer smoke-test docs
What it is not:
- not a networked or multi-user service
- not a hardened untrusted-code execution platform
- not a broker-connected or exchange-connected live trading system
The authoritative summary docs are:
- V1 Final Status
- Current Status
- Production Readiness
- Testing And Verification
- Built-In Parity Summary
- Project Overview
- Architecture
- Workflow
- API Reference
- Frontend Behavior
- Backend Responsibilities
- Ollama Integration
- AI Handoff
- V2 Backlog
frontend/: Vite + React app, PineTS integration, Playwright/Vitest testsbackend/: FastAPI app, services, engines, packaging helpers, testsshared/: shared Python and TypeScript contractsdata/: local datasets, run artifacts, bridge artifacts, library entriesdocs/: human-readable project truth and handoff docs.planning/: historical planning notes and archived roadmap documents
cd "D:\python , pine script\backend"
.\run-backend.ps1Health:
http://127.0.0.1:8000/health
cd "D:\python , pine script\frontend"
npm install
npm run dev -- --host 127.0.0.1 --port 5173Main routes:
http://127.0.0.1:5173/workspace
http://127.0.0.1:5173/imports
http://127.0.0.1:5173/runs
http://127.0.0.1:5173/settings
http://127.0.0.1:5173/alignment
http://127.0.0.1:5173/library
cd "D:\python , pine script\backend"
.\run-tests.ps1cd "D:\python , pine script\frontend"
npm run buildcd "D:\python , pine script\frontend"
npm run test:paritycd "D:\python , pine script"
C:\Users\sakth\Desktop\vayu\.venv\Scripts\python.exe scripts\certify_builtins.py --strictSee the full prerequisites and command sequence in Testing And Verification.
The packaged Windows installer lives under:
dist-installer/Trading Strategy Comparator Setup 1.0.0.exe
For installer validation, use the desktop smoke-test and release checklist in:
- Deployment target is localhost-only, trusted single-user desktop
- Python strategy execution is acceptable only under that trusted-local model
- Exact Pine truth for some scripts still depends on manual bridge artifacts
- Provider-backed live market data is still future work
- V2 work is tracked in V2 Backlog