cramer-algo-trader  by fireship-io

Cloud function for AI-driven algorithmic stock trading

created 3 years ago
300 stars

Top 89.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an AI-driven algorithmic trading system that leverages GPT-3 to predict stock picks based on Jim Cramer's public statements, executing trades via the Alpaca API. It's designed for developers and traders interested in exploring AI-powered investment strategies.

How It Works

The system operates as a scheduled Firebase Cloud Function. It scrapes Jim Cramer's stock recommendations, processes them using OpenAI's GPT-3 for sentiment analysis and prediction, and then interfaces with the Alpaca brokerage API to execute trades based on these predictions. This approach aims to automate a complex trading strategy by translating human sentiment into actionable market decisions.

Quick Start & Requirements

  • Install dependencies via npm install.
  • Requires Node.js, an Alpaca API key, and an OpenAI API key.
  • Deployment to Firebase Cloud Functions is the primary execution method.
  • Official tutorial available on YouTube: https://www.youtube.com/watch?v=91h_210_43Y

Highlighted Details

  • Integrates GPT-3 for sentiment analysis and prediction.
  • Utilizes Alpaca for brokerage API integration and trade execution.
  • Deploys as a serverless Firebase Cloud Function.
  • Focuses on replicating Jim Cramer's stock-picking strategy.

Maintenance & Community

The project is associated with Fireship.io, a popular developer education platform. Further community engagement or roadmap details are not explicitly provided in the README.

Licensing & Compatibility

The repository is licensed under the MIT License, permitting commercial use and modification.

Limitations & Caveats

This project is presented as a demonstration and educational tool, not a production-ready trading system. Trading involves significant risk, and the accuracy of AI predictions is not guaranteed. The reliance on specific external APIs (Alpaca, OpenAI) means changes to those services could break functionality.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Travis Fischer Travis Fischer(Founder of Agentic), and
2 more.

ai-hedge-fund by virattt

1.2%
39k
AI-powered hedge fund proof-of-concept for educational use
created 8 months ago
updated 3 days ago
Feedback? Help us improve.