kopia lustrzana https://github.com/fabston/TradingView-Webhook-Bot
Readme update
rodzic
1b63bb5946
commit
4bb027e480
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 TheDevFab
|
Copyright (c) 2020 vsnz
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
29
README.md
29
README.md
|
@ -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">
|
<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://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/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/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/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/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>
|
<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/TheDevFab/TradingView-Webhook-Bot/stargazers"><img src="https://img.shields.io/github/stars/TheDevFab/TradingView-Webhook-Bot?style=social" alt="GitHub stars"></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/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/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/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/watchers"><img src="https://img.shields.io/github/watchers/vsnz/TradingView-Webhook-Bot?style=social" alt="GitHub watchers"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<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)
|
- 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
|
- Twitter Support using the [tweepy](https://github.com/tweepy/tweepy) libary
|
||||||
- Email Support using [smtplib](https://docs.python.org/3/library/smtplib.html)
|
- 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)
|
- 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/TheDevFab/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/)
|
- 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
|
## Installation
|
||||||
> ⚠️ Best to run the bot on a VPS. I can recommend [Hetzner](https://hetzner.cloud/?ref=tQ1NdT8zbfNY).
|
> ⚠️ 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. Create your virtual environment `python3 -m venv TradingView-Webhook-Bot`
|
||||||
1. Activate it `source TradingView-Webhook-Bot/bin/activate && 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. 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)
|
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/)
|
- 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`
|
- 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.
|
||||||

|

|
||||||
|
|
||||||
## How can I help?
|
## How can I help?
|
||||||
All kinds of contributions are welcome!
|
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!
|
||||||
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).
|
|
||||||
|
Thanks again for your support, it is much appreciated! 🙏
|
|
@ -1,6 +1,6 @@
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
# Plugin Name : TradingView-Webhook-Bot #
|
# Plugin Name : TradingView-Webhook-Bot #
|
||||||
# Author Name : TheDevFab #
|
# Author Name : vsnz #
|
||||||
# File Name : config.py #
|
# File Name : config.py #
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
# Plugin Name : TradingView-Webhook-Bot #
|
# Plugin Name : TradingView-Webhook-Bot #
|
||||||
# Author Name : TheDevFab #
|
# Author Name : vsnz #
|
||||||
# File Name : handler.py #
|
# File Name : handler.py #
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
|
|
||||||
|
|
2
main.py
2
main.py
|
@ -1,6 +1,6 @@
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
# Plugin Name : TradingView-Webhook-Bot #
|
# Plugin Name : TradingView-Webhook-Bot #
|
||||||
# Author Name : TheDevFab #
|
# Author Name : vsnz #
|
||||||
# File Name : main.py #
|
# File Name : main.py #
|
||||||
# ----------------------------------------------- #
|
# ----------------------------------------------- #
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,3 @@ waitress
|
||||||
python-telegram-bot
|
python-telegram-bot
|
||||||
discord-webhook
|
discord-webhook
|
||||||
tweepy
|
tweepy
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue