Skip to content
المشاريع

moondevonyt/Harvard-Algorithmic-Trading-with-AI

عرض على GitHub

حول

التداول الخوارزمي في Harvard

الأعمال والمالية

كيف تُقاس هذه الأرقام

481 نجمة219 التفرعات +1 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١
خلال 7 أيام
+١
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…