Telegram notifications workaround (Binance only)
#1
Question 
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/Ge...th-Systemd 

Hope it would be helpful not only for me  Wink
  Reply
#2
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.
  Reply
#3
Wow, this is really interesting reading. I am glad I found this and got to read it. Great job on this content. I like it. Face mask
  Reply


Forum Jump:


Users browsing this thread: