Tradingview-go is a crypto-trading bot triggered by tradingview webhook Currently support binance order and futures.
- A
Pro
member of Tradingview (in order to send webhook)
git clone https://github.com/nathan-tw/tradingview-go.git
cd tradingview-go
docker build -t tradingview-go .
docker run -p 8080:8080 --env BINANCE_API_KEY=$YOUR_API_KEY --env BINANCE_API_SECRET=$YOUR_API_SECRET -e PASSPHRASE=$PASSPHRASE -it tradingview-go
git clone https://github.com/nathan-tw/tradingview-go.git
cd tradingview-go
rm -rf .git
Add environment variables (heroku as example).
{
"passphrase": "Your_PassPhrase_self_defined",
"time": "{{timenow}}",
"exchange": "{{exchange}}",
"ticker": "{{ticker}}"
}
git init
git add .
git commit -m "initial commit"
heroku git:remote your_app
git push heroku master
After pasting your webhook url, paste the contents of tradingview_webhook_payload_format.txt
to the message block.
filled the webhook block
with
Your_Domain/binance_futures_webhook
for futures trading strategyYour_Domain/binance_webhook
for spot trading strategy
Copy and paste the contents of tradingview_webhook_payload_format.txt
to message block
You're good to go now!