Jose Acosta Data Engineer Logo
HomeAbout MeServicesPortfolioBlog
ResumeLet's Talk
Back to Portfolio

Mean Reversion OU Trading Bot

Algorithmic Trading • Quantitative Finance • Automated Systems
17.89%
CAGR
2.34
Sharpe Ratio
-12.45%
Max Drawdown

Objective

Develop an automated trading bot that identifies and exploits mean-reversion opportunities in financial markets using the Ornstein-Uhlenbeck (OU) process.

Methodology

The bot continuously ingests real-time price data, estimates OU process parameters, and generates trading signals when prices deviate significantly from the modeled mean.

  • Position sizing adapts to the strength of the signal
  • All trades are simulated and visualized for performance review
  • Entire pipeline is containerized for robust, 24/7 operation

Results

The strategy consistently delivered positive results in backtesting, demonstrating robust performance across multiple assets.

Achieved a Sharpe ratio of 2.34, indicating strong risk-adjusted returns

Challenges

Key challenges encountered during development and deployment:

  • Maintaining estimator robustness during market regime shifts
  • Ensuring fault tolerance for continuous operation
  • Balancing execution speed with statistical confidence

Technologies Used

PythonPandasNumPySciPyMatplotlibyfinanceDockerJupyter/Binder/Colab
View on GitHubBack to Portfolio

Your Data Solutions Partner

Data Engineer focused on building robust data pipelines, scalable architectures, and automated workflows. Enabling teams to make smarter, data-driven decisions through reliable systems and practical engineering skills.

Useful Links

  • Portfolio
  • About Me
  • LinkedIn
  • GitHub
  • Contact

Additional Pages

  • Trading Strategies
  • Privacy Policy
  • Terms of Service

Contact

Ready to Connect?

For full-time Data Engineering opportunities or consulting projects, let's discuss how I can help build reliable data infrastructure.

Schedule CallView Services
© 2025 Jose Acosta. All rights reserved.
Design & Development by
Jose Acosta