Skip to content

ThisIsntTheWay/buy-the-dip

Repository files navigation

Buy the dip

Are you tired of missing out on juicy dips when you're...

  • ...sleeping?
  • ...at work?
  • ...not checking the prices for 5 minutes?

Do you want to outsource your DCA strategy to a computer?

Then this bot is for you!

It is very simple and follows the true tried-and-tested investment strategy as preached by yours truly:

What exactly does this thing do?

Basically, the bot monitors user-defined tickers on various exchanges for a price change within a given timeframe.

At the start of said timeframe, the bot saves the current price of all tickers it is monitoring.
Every few seconds, the bot will pull prices for each ticker and compares them to the starting price.
A price change (in %) will then get calculated in each loop.

If this percentage is below a user-defined threshold, then the bot will attempt to buy the ticker.
Once the timeframe ends, a new starting price gets set and the cycle repeats.

Important: The timeframe starts at the very moment the bot runs.
It is not getting the price data of the last n seconds/hours/whatever, because the bot does not acquire historical price data.

Features

  • Multi exchange support
    • Binance
    • Kraken
    • Coinbase pending
  • Discord integration
  • Extensive configuration

Installation and usage

Please refer to the wiki for installation and usage of this bot.

ToDo

  • Implement support for binance
  • Implement support for kraken
    • Investigate API errors
  • Implement support for coinbase
  • Implement buy logic
  • Add "tiered" dip mode
  • Add discord integration
  • Add sqlite db