Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Telegram bot for notifications? #284

Closed
DeviaVir opened this issue Jun 13, 2017 · 7 comments
Closed

Telegram bot for notifications? #284

DeviaVir opened this issue Jun 13, 2017 · 7 comments

Comments

@DeviaVir
Copy link
Owner

Idea:

telegram bot

in conf.js set your telegram id
the bot will tell you when buying and selling
the bot will tell you (per period) (optionally) what the current value of your balance is
in a future version, you might interact with the telegram bot to directly tell zenbot to buy or sell

@DeF3c
Copy link

DeF3c commented Jun 13, 2017

Maybe the bot tells you how much profit what the bought price is etc.

@jclancy93
Copy link

I think we could make it more generic to allow for either Telegram or Slack, the code would be very similar since they both use webhooks. That way user could choose their preference. I would be willing to take a shot at this over the weekend

@tuxitor
Copy link
Contributor

tuxitor commented Jun 14, 2017

@jclancy93 has a good point. I want to add that the software and protocol should be open source in compliance with zenbot, at last on the client side. It should also have ready made clients for all platforms. And it should support solid and easy to use node libraries.

Other factors to consider, should it be based on:

  • p2p or central server
  • end to end encryption or client to server encryption
  • support one or many protocols
  • slim or feature rich
  • and what else?

For those interested, Wikipedia has a comparition of all sorts of IM systems here:
https://en.wikipedia.org/wiki/Comparison_of_instant_messaging_clients

@jclancy93
Copy link

I'm thinking something simple but flexible. A new variable in the conf.js file WEBHOOK_URL and you would enter whatever incoming webhook your messaging service provides. It would output at a frequency you choose (maybe a new var in conf.js for that too). The output would be the same as verbose mode or real trading mode outputs by default (currency price, rsi changes, p/l, etc.)

I think it would have the most utility for the most users this way. Encryption is an interesting thing I hadn't thought of for this. @EigilB Will definitely let you my thoughts on this as I work through this task.

@hmronline
Copy link

This would help: https://github.com/yagop/node-telegram-bot-api

@Want100Cookies
Copy link
Contributor

I implemented the telegram side here #920

@LoneWolf345
Copy link
Contributor

Telegram is now implemented. consider closing this.

@DeviaVir DeviaVir closed this as completed Mar 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants