pull/15/head
vzns 2020-11-18 09:20:43 +01:00
rodzic 1b63bb5946
commit 4bb027e480
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7DF2CD11394B933C
6 zmienionych plików z 20 dodań i 21 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 TheDevFab
Copyright (c) 2020 vsnz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

Wyświetl plik

@ -1,13 +1,13 @@
<p align="center"><a href="https://github.com/TheDevFab/TradingView-Webhook-Bot" target="_blank"><img src="https://i.imgur.com/ubEoI7w.png"></a></p>
<p align="center"><a href="https://github.com/vsnz/TradingView-Webhook-Bot" target="_blank"><img src="https://i.imgur.com/ubEoI7w.png"></a></p>
<p align="center">
<a href="https://www.python.org/downloads/release/python-380/"><img src="https://img.shields.io/badge/python-3.8-blue.svg?style=plastic" alt="Python version"></a>
<a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/TheDevFab/TradingView-Webhook-Bot?style=plastic" alt="GitHub license"></a>
<a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/issues"><img src="https://img.shields.io/github/issues/TheDevFab/TradingView-Webhook-Bot?style=plastic" alt="GitHub issues"></a>
<a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/pulls"><img src="https://img.shields.io/github/issues-pr/TheDevFab/TradingView-Webhook-Bot?style=plastic" alt="GitHub pull requests"></a>
<br /><a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/stargazers"><img src="https://img.shields.io/github/stars/TheDevFab/TradingView-Webhook-Bot?style=social" alt="GitHub stars"></a>
<a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/network/members"><img src="https://img.shields.io/github/forks/TheDevFab/TradingView-Webhook-Bot?style=social" alt="GitHub forks"></a>
<a href="https://github.com/TheDevFab/TradingView-Webhook-Bot/watchers"><img src="https://img.shields.io/github/watchers/TheDevFab/TradingView-Webhook-Bot?style=social" alt="GitHub watchers"></a>
<a href="https://github.com/vsnz/TradingView-Webhook-Bot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/vsnz/TradingView-Webhook-Bot?style=plastic" alt="GitHub license"></a>
<a href="https://github.com/vsnz/TradingView-Webhook-Bot/issues"><img src="https://img.shields.io/github/issues/vsnz/TradingView-Webhook-Bot?style=plastic" alt="GitHub issues"></a>
<a href="https://github.com/vsnz/TradingView-Webhook-Bot/pulls"><img src="https://img.shields.io/github/issues-pr/vsnz/TradingView-Webhook-Bot?style=plastic" alt="GitHub pull requests"></a>
<br /><a href="https://github.com/vsnz/TradingView-Webhook-Bot/stargazers"><img src="https://img.shields.io/github/stars/vsnz/TradingView-Webhook-Bot?style=social" alt="GitHub stars"></a>
<a href="https://github.com/vsnz/TradingView-Webhook-Bot/network/members"><img src="https://img.shields.io/github/forks/vsnz/TradingView-Webhook-Bot?style=social" alt="GitHub forks"></a>
<a href="https://github.com/vsnz/TradingView-Webhook-Bot/watchers"><img src="https://img.shields.io/github/watchers/vsnz/TradingView-Webhook-Bot?style=social" alt="GitHub watchers"></a>
</p>
<p align="center">
@ -31,19 +31,19 @@ All alerts can be instantly sent to Telegram, Discord, Twitter and/or Email.
- Discord Support using [webhooks](https://support.discord.com/hc/de/articles/228383668-Webhooks-verwenden)
- Twitter Support using the [tweepy](https://github.com/tweepy/tweepy) libary
- Email Support using [smtplib](https://docs.python.org/3/library/smtplib.html)
- Alert channels can be enabled or disabled in [`config.py`](https://github.com/TheDevFab/TradingView-Webhook-Bot/blob/master/config.py)
- Whitelisted words can be easily added in [`config.py`](https://github.com/TheDevFab/TradingView-Webhook-Bot/blob/master/config.py)
- Alert channels can be enabled or disabled in [`config.py`](https://github.com/vsnz/TradingView-Webhook-Bot/blob/master/config.py)
- Whitelisted words can be easily added in [`config.py`](https://github.com/vsnz/TradingView-Webhook-Bot/blob/master/config.py)
- TradingView `{{close}}`, `{{exchange}}` etc. variables support. Read more [here](https://www.tradingview.com/blog/en/introducing-variables-in-alerts-14880/)
> 💡 Got a feature idea? Open an [issue](https://github.com/TheDevFab/TradingView-Webhook-Bot/issues/new) and I might implement it.
> 💡 Got a feature idea? Open an [issue](https://github.com/vsnz/TradingView-Webhook-Bot/issues/new) and I might implement it.
## Installation
> ⚠️ Best to run the bot on a VPS. I can recommend [Hetzner](https://hetzner.cloud/?ref=tQ1NdT8zbfNY).
1. Clone this repository `git clone https://github.com/TheDevFab/TradingView-Webhook-Bot.git`
1. Clone this repository `git clone https://github.com/vsnz/TradingView-Webhook-Bot.git`
1. Create your virtual environment `python3 -m venv TradingView-Webhook-Bot`
1. Activate it `source TradingView-Webhook-Bot/bin/activate && TradingView-Webhook-Bot`
1. Install all requirements `pip install -r requirements.txt`
1. Edit and update [`config.py`](https://github.com/TheDevFab/TradingView-Webhook-Bot/blob/master/config.py)
1. Edit and update [`config.py`](https://github.com/vsnz/TradingView-Webhook-Bot/blob/master/config.py)
1. Setup TradingView alerts as shown [here](https://i.imgur.com/71UYTcu.png)
- TradingViews variables like `{{close}}`, `{{exchange}}` etc. work as well. More can be found [here](https://www.tradingview.com/blog/en/introducing-variables-in-alerts-14880/)
- Your webhook url would be `http://<YOUR-IP>/webhook`
@ -56,5 +56,6 @@ All alerts can be instantly sent to Telegram, Discord, Twitter and/or Email.
![Webhook Bot](https://i.imgur.com/vZA42cc.png)
## How can I help?
All kinds of contributions are welcome!
The most basic way to show your support is to `⭐️ star` the project, or to raise [`🐞issues`](https://github.com/TheDevFab/TradingView-Webhook-Bot/issues/new).
All kinds of contributions are welcome 🙌! The most basic way to show your support is to `⭐️ star` the project, or raise [`🐞 issues`](https://github.com/vsnz/TradingView-Webhook-Bot/issues/new). You can also buy me some [☕️ coffee](https://www.buymeacoffee.com/vsnz) to help keep me productive!
Thanks again for your support, it is much appreciated! 🙏

Wyświetl plik

@ -1,6 +1,6 @@
# ----------------------------------------------- #
# Plugin Name : TradingView-Webhook-Bot #
# Author Name : TheDevFab #
# Author Name : vsnz #
# File Name : config.py #
# ----------------------------------------------- #

Wyświetl plik

@ -1,6 +1,6 @@
# ----------------------------------------------- #
# Plugin Name : TradingView-Webhook-Bot #
# Author Name : TheDevFab #
# Author Name : vsnz #
# File Name : handler.py #
# ----------------------------------------------- #

Wyświetl plik

@ -1,6 +1,6 @@
# ----------------------------------------------- #
# Plugin Name : TradingView-Webhook-Bot #
# Author Name : TheDevFab #
# Author Name : vsnz #
# File Name : main.py #
# ----------------------------------------------- #

Wyświetl plik

@ -2,6 +2,4 @@ flask
waitress
python-telegram-bot
discord-webhook
tweepy
tweepy