Giter Site home page Giter Site logo

thebiggoldeneagle / tradingview-webhooks-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robswc/tradingview-webhooks-bot

0.0 0.0 0.0 13.14 MB

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

Home Page: http://www.robswc.me

License: GNU General Public License v3.0

Python 100.00%

tradingview-webhooks-bot's Introduction

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 <dependency>
  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!

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.