Skip to content
Proyectos

moondevonyt/Harvard-Algorithmic-Trading-with-AI

Ver en GitHub

Acerca de

Trading algorítmico de Harvard

Negocios y finanzas

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
+1
in 7 days
+1
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Harvard Algorithmic Trading with AI

Video Tutorial

The RBI System: Research, Backtest, Implement

Welcome to the Harvard Algorithmic Trading with AI repository. This open-source project teaches students how to become algorithmic traders by following a systematic approach to automating trading strategies.

Why Algorithmic Trading?

Most traders face two major challenges:

  • Emotional decision-making leading to poor trades
  • Time waste staring at screens all day with little to no profit

This project is built on the hypothesis shared by Jim Simons (who built a $30 billion net worth): the only way to trade effectively is with robots.

The RBI System Explained

1. Research (R)

Research is the foundation of algorithmic trading. Before writing a single line of code, you must:

  • Study proven trading strategies
  • Understand market behaviors
  • Analyze what works for different market conditions
  • Build a solid hypothesis

2. Backtest (B)

Backtesting validates your strategy against historical data:

  • Test your strategy against OHLCV (Open, High, Low, Close, Volume) data
  • Evaluate performance metrics
  • Refine parameters
  • Avoid survivorship bias

3. Implement (I)

Only after successful research and backtesting should you:

  • Code your strategy
  • Set up proper risk management
  • Deploy with careful monitoring
  • Scale gradually

What This Repository Contains

  • Step-by-step guides for each stage of the RBI system
  • Code examples and templates
  • Resources for data collection and analysis
  • AI integration techniques for strategy enhancement
  • Case studies and lessons learned

Learning From Mistakes

I'll share personal stories of rushing to implementation without proper research and backtesting, resulting in significant losses. These cautionary tales will emphasize why the RBI system exists and how to avoid common pitfalls.

Important Note

While historical performance can provide confidence in a strategy, past results never guarantee future performance. The RBI system is designed to maximize your probability of success, not to eliminate risk entirely.

Getting Started

[More content to be added as the project develops]

Resources

Tools I Use

  • Cursor - AI-powered IDE where all coding for this project takes place
  • Flow Pro - Voice-to-text AI tool used for documentation and code comments

Prerequisites

Python Packages

  • pandas - super important to learn its like excel for python
  • backtesting.py - this is how i backtest
  • yfinance - this is where we get free daily data
  • talib - indicators for finance
  • ccxt - if you want to connect to other exchanges other than hyperliquid

Explorar proyectos relacionados

Cargando…