pull/8/head
sixBit 2020-07-25 14:15:04 +02:00
rodzic 30665e8051
commit 257b5cdfb0
2 zmienionych plików z 15 dodań i 15 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 sixBit
Copyright (c) 2020 fspranger
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/sixbit/TradingView-Webhook-Bot" target="_blank"><img src="https://i.imgur.com/ubEoI7w.png"></a></p>
<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://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/sixBit/TradingView-Webhook-Bot/blob/master/LICENSE"><img src="https://img.shields.io/github/license/sixbit/TradingView-Webhook-Bot?style=plastic" alt="GitHub license"></a>
<a href="https://github.com/sixBit/TradingView-Webhook-Bot/issues"><img src="https://img.shields.io/github/issues/sixbit/TradingView-Webhook-Bot?style=plastic" alt="GitHub issues"></a>
<a href="https://github.com/sixBit/TradingView-Webhook-Bot/pulls"><img src="https://img.shields.io/github/issues-pr/sixbit/TradingView-Webhook-Bot?style=plastic" alt="GitHub pull requests"></a>
<br /><a href="https://github.com/sixBit/TradingView-Webhook-Bot/stargazers"><img src="https://img.shields.io/github/stars/sixbit/TradingView-Webhook-Bot?style=social" alt="GitHub stars"></a>
<a href="https://github.com/sixBit/TradingView-Webhook-Bot/network/members"><img src="https://img.shields.io/github/forks/sixbit/TradingView-Webhook-Bot?style=social" alt="GitHub forks"></a>
<a href="https://github.com/sixBit/TradingView-Webhook-Bot/watchers"><img src="https://img.shields.io/github/watchers/sixbit/TradingView-Webhook-Bot?style=social" alt="GitHub watchers"></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>
</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/sixBit/TradingView-Webhook-Bot/blob/master/config.py)
- Whitelisted words can be easily added in [`config.py`](https://github.com/sixBit/TradingView-Webhook-Bot/blob/master/config.py)
- 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)
- 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/sixBit/TradingView-Webhook-Bot/issues/new) and I might implement it.
> 💡 Got a feature idea? Open an [issue](https://github.com/fspranger/TradingView-Webhook-Bot/issues/new) and I might implement it.
## Installation
> ⚠️ Best to run the bot on a VPS. I can recommend [vultr](https://sixbit.io/vultr).
1. Clone this repository `git clone https://github.com/sixBit/TradingView-Webhook-Bot.git`
> ⚠️ 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`
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/sixBit/TradingView-Webhook-Bot/blob/master/config.py)
1. Edit and update [`config.py`](https://github.com/fspranger/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/sixBit/TradingView-Webhook-Bot/issues/new).
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).