SystemSelf reportedCryptoPythonbinancebybitcryptocryptocurrencytrading

Tradingview-Webhook-Bot

A Trading bot built using Flask & Python to that is designed to be hosted for free on Heroku, this bot can accept webhooks from Tradingview and place trades on multiple crypto exchanges.

System Structure

Data Used
BinanceBybitOHLCV/호가/체결 데이터
Rules / Strategy

저장소별 전략/실행 조건 확인 필요

Execution

거래소 API 기반 자동 주문 실행

Editor Summary

저장소 설명과 공개 메타데이터 기준으로 Python 기반 구현, 암호화폐 거래 봇, 거래소 API/프레임워크, TradingView 웹훅 성격의 프로젝트로 파악했습니다. 확인 근거는 README, 저장소 토픽, 저장소 설명, GitHub 지표, 파이프라인 필드이며, 주요 데이터는 Binance, Bybit, OHLCV/호가/체결 데이터입니다. 전략/실행 조건은 저장소별 문서와 코드 확인이 필요하며, 실행 방식은 "거래소 API 기반 자동 주문 실행"라고 보수적으로 기록했습니다. GitHub 지표는 별 193개, 포크 65개입니다.

RepositoryCryptoGnome/Tradingview-Webhook-Bot
CreatorCryptoGnome
Stars / Forks★ 193 / 65
Last Updated2023-07-17
Snapshot Date2026-07-08 (README below is a copy from this date)

This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.

README

Gnome-YT

This is a tradingview webhook designed to be free & open source. This bot is written using Python & Flask and is designed to run a free heroku server. It will allow you to create custom alerts in tradingview and send them to your own private webhook server that can place trades on your account via the api.

Support can be requested in our Discord:

https://discord.gg/Qb9unmxD6D

Current Exchanges

Help keep this tool free by creating a new account using our referral links below:

Tradingview

Create Bybit Account

Create Binance Futures Account

Video Tutorial:

https://youtu.be/VX68RrMvM5Q

How to Webhook Server on Heroku

1.) Clone Project to Desktop

2.) Create a Heroku Account

Heroku was free, now costs only $7 but is worth it... you are investing you money here and you want to do it right.

3.) Edit config.json to add your own api keys & add a custom key to protect the server.

You need to create new keys on Bybit & give them the correct acess to trade and see token balance 4.) Open a terminal in the cloned directory:

5.) Install Heroku CLI so you can work connect you your webserver.

https://cli-assets.heroku.com/heroku-x64.exe

6.) Submit the following lines into the terminal and press ENTER after each one to procces the code:

git init

heroku login

heroku create --region eu tv-trader-yourservernamehere

git add .

git commit -m "Initial Commit"

git push heroku master

Anytime you need to make a change to the code or the API keys, you can push a new build to Heroku:

git add .

git commit -m "Update"

git push heroku master

How to send alerts from TradingView to your new Webserver

After starting you server, you shoudl see an address that will allow you to access it like below:

https://tv-trader-gnome.herokuapp.com/webhook

You will want to add this when you create a new alert like show below:

image

You will then want to create you syntax based on the format shownb below and place it in the alert msg field

image

Now when your alerts fire off they should go strait to your server and get proccessed on the exchange almost instantly!

TradingView Alerts Format

{
	"key": "678777",
	"exchange": "bybit",
	"symbol": "ETHUSD",
	"type": "Market",
	"side": "Buy",
	"qty": "1",
	"price": "1120",
	"close_position": "False",
	"cancel_orders": "True",
	"order_mode": "Both",
	"take_profit_percent": "1",
	"stop_loss_percent": "0.5"
}

Constant Settings Keys
key unique key that protects your webhook server
exchange bybit, binacne-futures
symbol Exchange Specific ** See Below for more
side Buy or Sell
type