akhilmeena / Crypto-Trading-Bot-with-Tradingview-Binance-Heroku-and-Telegram

Crypto Trading Bot with Tradingview, Binance API, Heroku and Telegram API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Trading Bot by Bzzman

Architecture

Trading Bot Architecture

About Project

Work in progress. This bot does automated trading operations with Binance. You need a Binance account to start trading. Then when you connect the API keys, trading will be automated using the real time data provided by Tradingview webhooks. You need to pick an indicator and set alerts. The bot will do the trading for you. After each operation, you'll get notifications via Telegram. Crypto trading is highly volatile. This project doesn't possess any trading advise. Trade carefully.

Features

  • Real time data from Tradingview using webhooks
  • Automated market buy and sell operations.
  • Telegram notifications when an operation gets executed.
  • User interface on progress.

How To Use

Required Libs

pip install python-binance
pip install Flask

Deploying Python Flask App to Heroku

Useful documentation by Heroku

My explaination

Useful terminal commands after deployment:

  • After making a change on production: git add . + git commit -am "your message"
  • Pushing the app to the cloud: git push heroku master
  • Checking for logs: heroku logs --tail

Setting Up Telegram Bot

To build a bot for Telegram, you need to talk to BotFather and follow the simple steps. He will give you a token to start a chat with your bot.

Setting Up the Tradingview Webhook

webhook

To allow webhooks in Tradingview, you need to upgrade your account to Pro version. (A small price to pay for salvation:) )

Related Links

Inspiration and useful resources:

Personal Information

Eyüp Barlas eyupbarlas2134@gmail.com For more projects, click here.

About

Crypto Trading Bot with Tradingview, Binance API, Heroku and Telegram API

License:MIT License


Languages

Language:Python 90.2%Language:HTML 9.8%