Giter Club home page Giter Club logo

dcavg's Introduction

DCAVG: Bitcoin Daily Dollar Cost Averaging (DCA)

Tool that allows you to buy Bitcoin automatically every day (or almost every day)

With this tool you will never forget to buy your daily bitcoins. Indeed, you can use it to buy Bitcoin automatically through the API of various exchanges, at the moment Binance and Coinbase Pro. The tool buys a predefined amount of Bitcoin through a "MARKET" trade for BTC-EUR.

If the EURO value of Bitcoin to buy is less than 10EURO or 0.001BTC, which are the minimum amount required to trade on Binance and Coinbase, then it postpones the purchase for the following days. It will save the amount it would have bought until it reaches at least this minimum required amount.

All the information saved daily, are stored on ./src/datasets/data.csv, and it will be possible to receive automatically a report in .xlsx format to analyze the data of purchases through a telegram bot.

Who will deploy this tool, will be able to easily manage multiple users, and configure their settings on ./src/datasets/users.csv, moreover he will need to insert his telegram keys to the ./src/telegram/secrets.py file. In this way it will be possible to integrate a bot on telegram to manage report sharing for all users.

The telegram bot must have been started by running the DCAVG_telegram_bot.py.

While to start the DCAVG bot just run ./src/DCAVG.py.


Updates

March 7, 2021

A new feature has been introduced that allows users to increase the amount of BTC to buy automatically, if the price of Bitcoin has decreased from the day before. This feature is configurable for each user in the file ./src/datasets/users.csv.

Basically if the user wants to buy 1 euro of Bitcoin per day, and the price of BTC has decreased by 10% compared to the previous day, then he will buy 1.1 euro.


I developed this tool out of personal need, I gladly accept external help to develop it further.

To do

  • Add Telegram message notification system
  • Add an automatic USDT recharge system to your account directly from FIAT and/or ERC-20 wallets.
  • Allow you to manage the purchase of Bitcoin for multiple users with centralized funds management solved with Exchange API
  • Allows you to manage the purchase of Bitcoin for multiple users with decentralized fund management

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.