Gekko Forum
Telegram notifications workaround (Binance only) - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Custom Systems (https://forum.gekko.wizb.it/forum-21.html)
+--- Thread: Telegram notifications workaround (Binance only) (/thread-57388.html)



Telegram notifications workaround (Binance only) - bishop - 07-18-2018

Currently Gekko supports Telegram notifications via CLI only.

I'm running tradebot (Web UI) during a week now, and wanted to be notified about live trades.

The solutions (Binance only) is the following: https://github.com/andresilvasantos/bitprophet

As soon as you have BitProphet installed, open node_modules/bitprophet/bitprophet.js and find the following string:

Code:
chatBot.sendMessage(emojiStr + " " + oType + type + " - " + vars.pairs[symbol].chatName() + "\t" + side + " "+

            quantityFixed + "@" + exchUtils.fixPrice(symbol, price) + fill)

 Replace it with:

Code:
if((vars.pairs[symbol].chatName()=="#SNT/ETH")&&(type=="Traded")){
chatBot.sendMessage(emojiStr + " " + oType + type + " - " + vars.pairs[symbol].chatName() + "\t" + side + " "+
            quantityFixed + "@" + exchUtils.fixPrice(symbol, price) + fill)}
}

Where "#SNT/ETH" is pair your are trading and want to be notified about.

After that run BitProphet as a service, similar to: https://github.com/askmike/gekko/wiki/Gekko-Background-Service-With-Systemd 

Hope it would be helpful not only for me  Wink


RE: Telegram notifications workaround (Binance only) - buysmartfitness - 01-20-2021

I made an exchanging/request following/cautions framework for Binance utilizing Telegram for notices. I trust you think that its helpful. Inform me as to whether you need assistance setting it up.