tradingview-webhooks-bot | execute trades based on tradingview webhook alerts | Bot library
kandi X-RAY | tradingview-webhooks-bot Summary
kandi X-RAY | tradingview-webhooks-bot Summary
a bot that can execute trades based on tradingview webhook alerts!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a new action
- Copy lines from source to target
- Add an action
- Register an action
- Start the GUI
- Write the history to the log file
- Link action to an event
- Link an action to an event
- Remove an action from an event
- Unlink an action to an event
- Trigger webhook events
- Trigger this event
- Validate data
- Validate and return data
- Remove an action from settings py
- Delete action
- Import an event
- Add an event
- Create an event
- Register a link
- Validate webhook
- Get a logger
- Validate the action
- Trigger action run
- Trigger an event
- Get all logs
tradingview-webhooks-bot Key Features
tradingview-webhooks-bot Examples and Code Snippets
Community Discussions
Trending Discussions on tradingview-webhooks-bot
QUESTION
I'm trying to have alerts sent via webhook (TradingView's new feature) to a python program, and use them to make trades with Alpaca.
I tried using ngrok plus this script I found on Github:
https://github.com/Robswc/tradingview-webhooks-bot
After changing the port to 80 (no other port seems to work, I think this is on TradingView's end) I finally got something to come through:
...ANSWER
Answered 2019-Dec-27 at 20:35The NGROK url needed /webhook after it. This got me past the 405 error. The other error was caused by running it on port 80 and using http instead of https. I don't know why this is, but I basically switched it to port 5000 (default port in the Github repo) and added /webhook after the NGROK address and now it's working as it should.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tradingview-webhooks-bot
There you go! Nice and simple Python version and virtualenv management.
Install pipenv sudo apt install pipenv
Once pipenv is installed, I recommend that you get familiar with it.
Navigate to the folder where you cloned the repo. You should see Pipfile and Pipfile.lock files.
Run command pipenv install
The dependencies required to get started should now be installed. Check by running command pipenv graph - You should see flask and ccxt.
If you want to install any other dependencies, or if you get an error that you're missing a depedency, simply use command pipenv install <dependency>
Starting the virtual environment: pipenv shell
Starting the flask app: python webhook-bot.py
Here is a quick start guide! Once everything is set up, you can use this guide to get started!.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page