Skip to content

Cryptocurrency trading 24/7 based on technical analysis and hosted on AWS using Terraform.

Notifications You must be signed in to change notification settings

liamhartley/cryptotradingbot

Repository files navigation

Crypto Trading Bot

Contents

  1. Introduction
  2. Template Architecture
  3. Trading Strategies
  4. Usage
  5. Future Improvements
  6. How to Contribute
  7. Further Reading
  8. Donations

Introduction

A project to automatically run technical analysis strategies on AWS to trade cryptocurrencies whilst you sleep.

This project aims to have multiple trading strategies that can all be deployed into AWS using Terraform.

You can watch YouTube videos about the project here

Project Architecture

Repository Structure

  • cloud_infrastructure: this folder contains all the infrastructure as code in order to deploy trading strategies.
  • trading_strategies: each folder within trading_strategies contains all the code required to backtest, optimise and develop your trading logic. The "app" logic is what gets deployed in the generic setup.
  • trading_tools: generic pieces of code that can be used across multiple trading strategies.

Generic Trading Architecture Overview (may differ between trading strategies)

  • The cloud infrastructure is deployed and managed using infrastructure as code. In this example terraform deploys all the infrastructure into AWS.
  • Cloudwatch (AWS) is the trigger which kicks off the Lambda Function (AWS) at a pre-defined frequency.
  • The Lambda function contains the trading strategy to execute trades.
  • Every decision that the Lambda takes is logged into to Cloudwatch for auditing.

Trading Strategies

Usage

Please see each trading strategies README for specific usage instructions:

Future Improvements

Creation of more trading strategies.

Please contribute any trading strategies back into this repository.

How to Contribute

Branch or fork off from the project to create a new feature and open a PR against master when complete.

Please feel free to reach out to me to check if a feature isn't already in development or raise issues on GitHub.

In the future I would love to see all sorts of strategies in this repo!

Further Reading

Acknowledgements

Donations

If this project helped you learn Python or has helped you make some money then I would love any tips in crypto!

  • BTC: 36icgLxqAfFTuuruU7v1GQmFpUHjKnzJa8
  • ETH: 0xd084F627630Cb8C24895fAc531447256BD17b05e
  • USDC: 0xd084F627630Cb8C24895fAc531447256BD17b05e
  • DOGE: DS7JRhMmL9RdXruqz5ubDaR3R8SNtoUi6i

Alternatively you can buy me a coffee!