Skip to content

Cryptocurrency Trading Bot | minimal loss, high profit

Notifications You must be signed in to change notification settings

rodonguyen/Bittracker2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitTracker

A trading bot utilising SuperTrend Algorithm.

At its core, the Supertrend calculates an upperbound and lower bound and use them as threshold to buy/sell. Due to the trending nature of cryptocurrency, trailing stop for orders is analysed (by me) and proved to be suitable and bring great profit (great enough to cancel out multiple lost trades).

However, it's not efficient during sideway + volatile period. Therefore, you can consider to turn the bot off for time like this.

Here is a demo screenshot of Supertrend Indicator in TradingView. Buy is placed at the end of red line and Sell is placed at the end of green line.
tradingview-supertrend

Code modified from youtube. com/ watch?v=1PEyddA1y5E

View here
Go to these sections:

  • Analyse backtest result distribution, pick top configs with highest risk-adjusted returns
  • Backtest result and analysis

Blogs 🔗

I'm in the process of writing blogs to share about BitTracker, you can read it here: A Trading Bot for Cryptocurrency - BitTracker (P.1)

drawing

Dependencies

  • Pandas
  • CCXT

Instruction

Class SupertrendBot (supertrend.py) is used to initiate bot's configuration and has necessary functions to run your bot and trade with the Exchanges. Quickly read through the __init__ of this class to get an idea on what to include in its object initiation.

An example of a bot is bot_matic.py.

Workflow

About

Cryptocurrency Trading Bot | minimal loss, high profit

Resources

Stars

Watchers

Forks