Skip to content

Izem0/trading-bot

Repository files navigation

Trading bot

Description

This trading bot is designed to automate crypto trading. I actually use that program.

Here is how it works: I have a database where I put some configurations details needed to execute a trade: which exchange to use, exchange API KEY, market(s) to trade, market(s) weights (ex. BTCUSDT weight=60%, ETHUSDT weight=40%) and which trading strategy.

Then every day at midnight UTC, the program pulls market data (namely close price), compute buy/sell signals based on the strategy and executes the trade if a signal is found. A mail is then sent with the order details. Orders are saved in the database. I also have a routine that is triggered every day to get and store the balance of the users in the database.

The program is hosted on AWS as a lambda function using a Docker image.

Features

  • Automated trading based on user-defined portfolio configurations (which markets to trade with which weights ex. BTCUSDT weight=60%, ETHUSDT weight=40%)
  • Support for multiple cryptocurrency exchanges (currently Binance, Bybit and Kucoin)
  • Integration with various trading strategies (strategies are defined in strategies.py, in this repo I use strategies.py.example for demonstration purposes, I do not share my personal trading strategies 😃)
  • Automated email notifications when an order is placed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published