cramer-algo-trader  by fireship-io

Cloud function for AI-driven algorithmic stock trading

Created 3 years ago
298 stars

Top 89.2% 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
0 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.