A middleware for sending tradingview webhook alerts to a discord channel without manually converting the alert message to required JSON format in tradingview alert dialogbox for every individual ticker.
Default | Required |
---|---|
All of the below mentioned options provide an amazing free tier to begin with:
- Any cheap VPS or cloud providers compute instances like AWS EC2 or Oracle ARM
- Deployment platforms like pythonanywhere or fly.io
Generally, while using a free tier of services like repl.it and heroku they tend to sleep the service in case of inactivity, to overcome that we will be using two things:
- First, the keep_alive.py module, using multi-threading we initiate another flask app
- Second, a website monitoring or pinger services like Freshping which will keep our service awake by sending constant GET request to the root route.
pipenv install
or
pip -r requirements.txt
python app.py
This project is licensed under the MIT license