A self-optimising trading engine that adapts to market conditions in real time. Built in Go and powered by data analytics, it combines intelligent automation with disciplined risk management to deliver steady, algorithmic performance.
Driscoll Automated Forex Trader is a self-optimising, data-driven trading engine built to operate continuously in live foreign-exchange markets. Designed for precision, resilience, and consistency, it combines algorithmic grid trading with adaptive trend filtering to deliver steady, risk-managed returns under varying market conditions.
Written entirely in Go and engineered for performance, the system integrates directly with the OANDA trading API and uses Google Firestore for state persistence and analytics. It runs autonomously — ticking every second, aggregating tick data into one-minute candles, and continuously recalculating exposure, equity, and margin utilisation in real time. Each trading period is analysed, stored, and used to inform future configuration, enabling a cycle of continuous learning and refinement.
The core strategy employs a dynamic grid model, placing both long and short trades at controlled price intervals. Profits are realised through mean reversion: positions are closed only when in profit or when margin limits are approached, at which point the system intelligently unwinds the most underwater trades to restore stability. Position sizing is fully automated and scales with account balance and coverage range, ensuring leverage remains consistent and margin usage rarely exceeds defined safety thresholds.
A trend filter based on exponential moving averages (EMAs) guides directional bias, preventing new long positions in sustained downtrends and avoiding shorts in rising markets. This simple yet powerful overlay allows the grid to adapt to changing volatility regimes and directional momentum, improving both efficiency and drawdown control. The system’s modular analyser tracks volatility over time and automatically suggests optimal grid spacing, profit targets, and trade frequency parameters.
Operating live since early 2025, the trader has demonstrated reliable, incremental growth — achieving consistent weekly gains while maintaining conservative margin exposure. Its architecture allows simultaneous operation across multiple currency pairs, each independently optimised through unified sizing logic that equates risk exposure across instruments. The result is a trading system that behaves less like a traditional bot and more like an autonomous portfolio manager — disciplined, adaptive, and built for longevity.
The Driscoll Automated Forex Trader embodies the company’s broader engineering ethos: intelligent automation that learns, adapts, and performs. By merging quantitative analysis with robust software design, it stands as a modern example of how algorithmic trading can be both technically elegant and financially effective.