/AI_stock_trading

Use AI to trade stocks

Primary LanguagePythonApache License 2.0Apache-2.0

AI_stock_trading

This repo has the Pytorch implementation to perform AI based trade in live environment. It uses Python API from Alpaca and deploys the model in AWS cloud environment.

To follow along, please check the Medium article: 24x5 Stock Trading Agent to predict stock prices with Deep Learning with deployment.

Architecture

  1. Connect Alpaca brokerage account
  2. Get historical data using polygon API
  3. Train a simple AI model using AWS cloud
  4. Deploy the model in AWS Sagemaker
  5. Trade in real-time

Results

Results after buying and selling

Author

Shyam BV

GITHUB

BLOG