Skip to content
Robert S.W. Carroll edited this page Sep 25, 2022 · 8 revisions

Tradingview-webhooks-bot

tradingview-webhooks-bot (TVWB) is a trading bot, written in python, that allows users to place trades with tradingview's webhook alerts. TVWB operates on an action/event-based architecture, allowing users to easily extend and incorporate custom features.


Getting Started

Video Tutorials

For those that prefer video tutorials, I've uploaded a few (work in progress), you can check them out on the Video Tutorials Wiki page!

Dependencies

Downloading

tradingview-webhooks-bot can be downloaded as a zip or cloned via git (recommended).

Installing Required Libraries

Once you have downloaded tradingview-webhooks-bot, run the following command

pip install -r requirements.txt

within the tradingview-webhooks-bot directory.

This will install all the required libraries for tradingview-webhooks-bot to run properly.

If you're familiar with python and pip, its recommended to use pipenv for this step!

Getting the bot running

In order for the tradingview-webhooks-bot to work, it will need to be running on a computer with open ports.
There are multiple ways to achieve this. The recommended method is to run the bot on a server, i.e. AWS, Google Cloud, VPS, etc. If you do not have one of these, it is possible to use ngrok. Below are guides on how to get the bot running using either method. Since the bot is built with Flask, any method to deploy a flask app will work.

Usage

I would highly recommend visiting the Getting Started wiki page and following the Simple Webhook Event tutorial. This will get you familiar with tradingview-webhooks-bot, enough to then create your own stuff!

If anyone wants to volunteer to create more tutorials/documentation, please let me know - Thanks!

Interface

The interface is a new way to use the tradingview-webhooks-bot to its full potential. The interface is an optional GUI that allows for an easier management of webhook alerts. Interface usage is explained in more detail on the wiki page.


Contributing

For fans of TVWB, please consider contributing to the project! At the moment, we need more documentation. Please let me know in a discussion or DM if you want to add some documentation or learning materials.

Thanks!

For support getting the bot up and running, please use Discussions and hopefully someone can help :)

There's also a new discord! https://discord.gg/wrjuSaZCFh

I'm also available for quick questions on Twitter and available for consulting for more serious inquiries.

Clone this wiki locally