{"id":49561293,"url":"https://github.com/h-vance/algorithmic-trading-engine","last_synced_at":"2026-05-03T09:01:32.992Z","repository":{"id":354923626,"uuid":"1226024704","full_name":"h-vance/algorithmic-trading-engine","owner":"h-vance","description":"Low-latency execution framework supporting quant-driven strategies, featuring sub-10ms response times, dynamic risk parity modeling, and optimized order flow across fragmented markets.","archived":false,"fork":false,"pushed_at":"2026-05-02T20:17:48.000Z","size":29949,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T06:22:22.415Z","etag":null,"topics":["algorithmic-trading","aws","cpp","execution-engine","finance","fintech","hft","low-latency","python","redis","risk-parity","trading-bot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h-vance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-30T22:30:59.000Z","updated_at":"2026-05-03T03:59:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/h-vance/algorithmic-trading-engine","commit_stats":null,"previous_names":["harrison-vc/algorithmic-trading-app","h-vance/algorithmic-trading-engine"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/h-vance/algorithmic-trading-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-vance%2Falgorithmic-trading-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-vance%2Falgorithmic-trading-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-vance%2Falgorithmic-trading-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-vance%2Falgorithmic-trading-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h-vance","download_url":"https://codeload.github.com/h-vance/algorithmic-trading-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-vance%2Falgorithmic-trading-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32563521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithmic-trading","aws","cpp","execution-engine","finance","fintech","hft","low-latency","python","redis","risk-parity","trading-bot"],"created_at":"2026-05-03T09:01:22.784Z","updated_at":"2026-05-03T09:01:32.986Z","avatar_url":"https://github.com/h-vance.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantitative Algorithmic Trading Platform\n\nInstitutional-grade algorithmic trading platform optimized for low-latency execution on the Hyperliquid exchange. This system provides a secure, hardened, and scalable infrastructure for managing automated trading strategies with real-time risk monitoring and high-frequency execution patterns.\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white)](https://www.python.org/)\n[![React](https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=white)](https://reactjs.org/)\n[![Node.js](https://img.shields.io/badge/Node.js-339933?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=white)](https://nodejs.org/)\n[![FastAPI](https://img.shields.io/badge/FastAPI-005571?style=for-the-badge\u0026logo=fastapi\u0026logoColor=white)](https://fastapi.tiangolo.com/)\n[![Express.js](https://img.shields.io/badge/Express.js-000000?style=for-the-badge\u0026logo=expressdotjs\u0026logoColor=white)](https://expressjs.com/)\n[![Google Cloud](https://img.shields.io/badge/Google_Cloud-4285F4?style=for-the-badge\u0026logo=googlecloud\u0026logoColor=white)](https://cloud.google.com/)\n[![Hyperliquid](https://img.shields.io/badge/Hyperliquid-000000?style=for-the-badge\u0026logo=hyperliquid\u0026logoColor=white)](https://hyperliquid.xyz/)\n[![Terraform](https://img.shields.io/badge/Terraform-7B42BC?style=for-the-badge\u0026logo=terraform\u0026logoColor=white)](https://www.terraform.io/)\n[![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white)](https://www.docker.com/)\n[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)](https://www.postgresql.org/)\n[![Redis](https://img.shields.io/badge/Redis-DC382D?style=for-the-badge\u0026logo=redis\u0026logoColor=white)](https://redis.io/)\n\n## System Architecture\n\nThe platform is built as a decoupled, microservices-oriented monorepo to ensure fault tolerance and ultra-low latency.\n\n- **Web Frontend (`apps/web`)**: A high-performance React dashboard for strategy management, real-time performance tracking, and system health monitoring.\n- **Backend API (`apps/server`)**: A Node.js/TypeScript Express-based middleware layer managing authentication, strategy configuration, and coordination between the frontend and the execution layer.\n- **Execution Engine (`apps/execution-engine`)**: A specialized Python/FastAPI microservice optimized for high-frequency interaction with the Hyperliquid API, utilizing asynchronous connection pooling and circuit-breaker patterns.\n- **Shared Packages (`packages/shared`)**: Common TypeScript utilities, types, and business logic used across the Node.js components.\n\n## Institutional Hardening\n\n### Security \u0026 Access Control\n- **Least Privilege IAM**: Service accounts are scoped to specific resources (e.g., resource-level Secret Manager access) rather than project-wide roles.\n- **Edge Security**: Integrated Google Cloud Armor with pre-configured WAF rules to mitigate SQLi, XSS, and DDoS attacks.\n- **Secure Secret Management**: Automated secret handling via GCP Secret Manager with zero-exposure lifecycle policies in Terraform.\n- **Auth Guardrails**: Multi-layer authentication including wallet-based signing and staging-bypass keys for environment isolation.\n\n### Reliability \u0026 Performance\n- **Connection Optimization**: Hardened PostgreSQL connection pooling with read/write separation and SSL encryption.\n- **Fault Tolerance**: Circuit breaker patterns implemented in the execution layer to prevent cascading failures during exchange outages.\n- **Cost-Effective Compute**: Standardized on Cloud Run Gen2 for serverless efficiency, with optional C3-high-memory instance groups for extreme low-latency requirements.\n\n## Key Features\n\n- **Low-Latency Execution**: Optimized WebSocket integration with Hyperliquid for sub-millisecond order response times.\n- **Risk Management**: Real-time equity tracking, automated circuit breakers, and position-sizing safeguards.\n- **Infrastructure as Code**: Production environments defined and managed via Terraform (GCP/AWS) for repeatable, secure deployments.\n- **Observability**: Integrated health checks, performance monitoring, and centralized logging.\n\n## Technical Stack\n\n- **Languages**: TypeScript, Python 3.12+\n- **Frontend**: React, Vite, Tailwind CSS\n- **Backend**: Node.js, Express, Vitest\n- **Execution Engine**: Python, FastAPI, UV, Pytest\n- **Database**: PostgreSQL (Prisma ORM), Redis\n- **DevOps**: Docker, Terraform, Google Cloud Platform, GitHub Actions\n\n## Getting Started\n\n### Prerequisites\n- Node.js 20+ and `pnpm`\n- Python 3.12+ and `uv`\n- Docker and Docker Compose\n\n### Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/harrison-vc/algorithmic-trading-app.git\n   cd algorithmic-trading-app\n   ```\n2. Install dependencies:\n   ```bash\n   pnpm install\n   ```\n3. Set up the execution engine:\n   ```bash\n   cd apps/execution-engine\n   uv sync\n   ```\n\n### Development\n- Start the full stack in development mode:\n  ```bash\n  pnpm dev\n  ```\n- Run tests:\n  ```bash\n  pnpm test\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-vance%2Falgorithmic-trading-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh-vance%2Falgorithmic-trading-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-vance%2Falgorithmic-trading-engine/lists"}