Need help with tradingview-webhooks-bot?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

robswc
165 Stars 67 Forks GNU General Public License v3.0 9 Commits 18 Opened issues

Description

a bot that can execute trades based on tradingview webhook alerts!

Services available

!
?

Need anything else?

Contributors list

No Data

demopic

Tradingview-webhooks-bot

tradingview-webhooks-bot is a trading bot, written in python that allows users to place trades with tradingview's webhook alerts.


Quickstart Using Pipenv

Pipenv is a tool that helps users set virtual environments and install dependencies with ease. There are many benefits to creating a virtual environment, especially for those that haev other projects running on the same server.

Install pipenv and initiate virtual environment

  1. Install pipenv
    sudo apt install pipenv
  2. Once pipenv is installed, I recommend that you get familiar with it.
  3. Navigate to the folder where you cloned the repo. You should see
    Pipfile
    and
    Pipfile.lock
    files.
  4. Run command
    pipenv install
  5. The dependencies required to get started should now be installed. Check by running command
    pipenv graph
    - You should see flask and ccxt.
  6. If you want to install any other dependencies, or if you get an error that you're missing a depedency, simply use command
    pipenv install 
  7. Starting the virtual environment:
    pipenv shell
  8. Starting the flask app:
    python webhook-bot.py

There you go! Nice and simple Python version and virtualenv management.

Using ngrok for webook data retrieval

Many people are having difficulties with their server properly receiving webhook data from TradingView. The easiest way to get started quickly without ripping your hair out from trying to figure out what's wrong, ngrok can be used to receive the signals. Create a free account, unless you want your server to go down every 8 hours. Navigate to the downloads page, and select your download to match your machine. For example, I am on Ubuntu:

wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip

Quick Start Guide

Here is a quick start guide! Once everything is set up, you can use this guide to get started!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.