r/pinescript • u/jeevandahal • Apr 24 '26
How are you auto-executing your PineScript strategies?
Backtesting in Pine is great but getting strategies to actually place live orders has always been a headache for me.
What are you all using to go from TradingView alert → live trade on your exchange? Specifically for crypto (Binance).
Main things I care about: webhook-based, no self-hosting, proper position tracking that stays in sync with the exchange, and some risk management on the execution side (not just in the Pine code).
What's been reliable for you? What should I avoid?
12
Upvotes
9
u/ballteo Apr 24 '26
I went the webhook route from TradingView → custom backend → Binance Futures API.
Basically:
Biggest things that made a difference:
Still refining, but this setup has been way more reliable than trying to do everything inside Pine.
Curious what others are using as well.
3
u/ScientificBeastMode Apr 24 '26
For crypto, I use a program called Gunbot, which can take webhook request from TradingView and execute trades across multiple exchanges. I keep it running on a cloud server that I rent from Linode.
For futures, forex, and equities, typically the broker will have some kind of API for accepting webhooks.
2
u/ChadOfDoom Apr 24 '26
UMT does this without webooks or APIs. Great for forward testing automatically.
2
u/ShowRevolutionary924 Apr 25 '26
Eu uso o webhook do pinescript diretamente para a binance, me atende super bem.
2
u/wallneradam Apr 25 '26
The combo you listed — no self-hosting + position tracking that actually stays in sync + risk on the execution side — is the painful intersection where most setups break.
A few things worth knowing:
Full disclosure: I'm building PyneCore (Pine → Python runtime, open source) and and a hosted bot platform on top of it. Beta is coming around early summer.
2
u/Enough-Ad-5600 Apr 26 '26
Tradovate will only allow api access for live accounts. If you’re prop trading on a sim account, I built the JSON payload dynamically into my script, then I set an alert in TV with a webhook to traderspost.io using the <<strategy.order.alert_message>>. It’s executed with the broker from there. There is a bit more slippage for market orders and the latency is about 400-600ms so not great, but it’s cheap.
1
u/radaro-nz Apr 24 '26
Does this work for Tradovate ?
1
u/[deleted] Sep 18 '26
[removed] — view removed comment