Robô Profit - Automations & Algorithmic Trading

Imagem personagem

Technologies

TypeScript 90% JavaScript 5% Dockerfile 5%

Topics

trading-bot algorithms automation risk-management postgresql prisma typescript

Developed Robot ProfitX, an autonomous quantitative trading engine built on a monorepo structured with NPM Workspaces. The system processes incoming signals, computes price trends via native indicators, and executes trades with optimized latency.

I wrote pure TypeScript mathematical implementations of Bill Williams Fractals and the Chaos Oscillator (momentum and wick pressure), eliminating external packages. The banking state machine automates Martingale and Soros money management strategies under strict risk controls (Stop Loss, Stop Win, max exposure). Includes CQRS audit logging to map signals to trades using Correlation and Causation IDs.

Explore the native indicators implementation and the financial state machine in the GitHub repository.

Technical Highlights

Mathematical Indicators

Pure native TypeScript implementations of Bill Williams Fractals (5-candle sliding window) and the Chaos Oscillator (wick pressure), eliminating third-party packages.

Risk State Machine

Automated money management engine utilizing Martingale and Soros state machines with strict risk boundaries (Stop Loss, Stop Win, max exposure).

CQRS Signal Auditing

Robust audit trail mapping incoming signals to order execution logs using correlation and causation IDs for complete CQRS traceability.

Reverse Mirroring

Low-latency synchronization algorithm executing trades on Avalon (via SDK) and mirror-replicating them conversely on ProfitX with reverse direction.