A custom AutoConfig filter to add trading pairs to Gunbot after a TradingView alert.
Includes:
– example addPairs job with custom filter
Features:
– Add new pairs to your gunbot config with confirmation from a TradingView alert (you do need the tradingview add-on in Gunbot)
– Automatically ignores old alerts
Tested on:
– v21
– should stay working in future versions
Setup instructions:
The included config uses binance as exchange, and BTC-AUD as placeholder pair. Replace all occurrences of the exchange and pair name in autoconfig.json in case you want to use it on another exchange or prefer to use another placeholder pair.
- Setup a disabled, but valid trading pair on your target exchange. This placeholder pair will be only used to receive strategy name alerts on, it does not trade itself.
- Use the included autoconfig.json file, or copy the filter to your own setup. Make sure to set a valid target strategy for newly added pairs.
- Create your alert on tradingview.com. Use this alert text, where your replace BTC-DOGE by the pair you want to add: STRAT_BINANCE_AUD-BTC_addBTC-DOGE+{{timenow}}
You can freely combine this method with other filter options already available in AutoConfig. Keep in mind that addPairs jobs fetch tickers each time, don’t run them more often than strictly needed.
Placeholder pair:
Alert:
Disclaimer
It’s not feasible for a free config example to test all possible things that could go wrong. Use with caution!
Enjoy!
I’d appreciate it if you do not contact me through personal messages about this free config example. Thanks!
@cnmerc (verified owner) –
I find it very interesting
Somporn Sirithanakorn (verified owner) –
For the beginner, it is very difficult. You should put the user-guide in Wiki.gunthy.
mohassan3 (verified owner) –
Nice!!
But I couldn’t configure it. I hope someone help me to set up this feature.
Danwa (verified owner) –
Works great thx
ahmeisa (verified owner) –
working very well, thank you so much.
to make it work make sure that your indicator support native TV placeholders, also make sure to turn on the TV GB in TV section
@vmfventura (verified owner) –
working as expected
Jose (verified owner) –
good