pull/8/head
FabCodes 2020-08-21 09:29:28 +02:00
rodzic 339e843326
commit 8d57704b12
6 zmienionych plików z 19 dodań i 19 usunięć

2
.github/FUNDING.yml vendored
Wyświetl plik

@ -1 +1 @@
custom: ['spranger.dev/coffee']
custom: ['fabian.cx/buymeacoffee']

Wyświetl plik

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 fspranger
Copyright (c) 2020 TheDevFab
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/fspranger/TradingView-Webhook-Bot" target="_blank"><img src="https://i.imgur.com/ubEoI7w.png"></a></p>
<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://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/fspranger/TradingView-Webhook-Bot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/fspranger/TradingView-Webhook-Bot?style=plastic" alt="GitHub license"></a>
<a href="https://github.com/fspranger/TradingView-Webhook-Bot/issues"><img src="https://img.shields.io/github/issues/fspranger/TradingView-Webhook-Bot?style=plastic" alt="GitHub issues"></a>
<a href="https://github.com/fspranger/TradingView-Webhook-Bot/pulls"><img src="https://img.shields.io/github/issues-pr/fspranger/TradingView-Webhook-Bot?style=plastic" alt="GitHub pull requests"></a>
<br /><a href="https://github.com/fspranger/TradingView-Webhook-Bot/stargazers"><img src="https://img.shields.io/github/stars/fspranger/TradingView-Webhook-Bot?style=social" alt="GitHub stars"></a>
<a href="https://github.com/fspranger/TradingView-Webhook-Bot/network/members"><img src="https://img.shields.io/github/forks/fspranger/TradingView-Webhook-Bot?style=social" alt="GitHub forks"></a>
<a href="https://github.com/fspranger/TradingView-Webhook-Bot/watchers"><img src="https://img.shields.io/github/watchers/fspranger/TradingView-Webhook-Bot?style=social" alt="GitHub watchers"></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>
</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/fspranger/TradingView-Webhook-Bot/blob/master/config.py)
- Whitelisted words can be easily added in [`config.py`](https://github.com/fspranger/TradingView-Webhook-Bot/blob/master/config.py)
- 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)
- 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/fspranger/TradingView-Webhook-Bot/issues/new) and I might implement it.
> 💡 Got a feature idea? Open an [issue](https://github.com/TheDevFab/TradingView-Webhook-Bot/issues/new) and I might implement it.
## Installation
> ⚠️ Best to run the bot on a VPS. I can recommend [vultr](https://spranger.dev/vultr).
1. Clone this repository `git clone https://github.com/fspranger/TradingView-Webhook-Bot.git`
> ⚠️ Best to run the bot on a VPS. I can recommend [Hetzner](https://hetzner.com/).
1. Clone this repository `git clone https://github.com/TheDevFab/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/fspranger/TradingView-Webhook-Bot/blob/master/config.py)
1. Edit and update [`config.py`](https://github.com/TheDevFab/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`
@ -57,4 +57,4 @@ All alerts can be instantly sent to Telegram, Discord, Twitter and/or Email.
## 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/fspranger/TradingView-Webhook-Bot/issues/new). To keep me going you could also buy me a [`☕️ coffee`](https://spranger.dev/coffee). Any kind of support means a lot to me. 🙌
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). To keep me going you could also buy me a [`☕️ coffee`](http://fabian.cx/buymeacoffee). Any kind of support means a lot to me. 🙌

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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