hschickdevs / Telegram-Crypto-Alerts

The most popular open-source cryptocurrency alerting tool for Telegram! Providing alerts for simple price movements from Binance and technical indicators from Taapi.io.
MIT License
69 stars 14 forks source link

Alarm Trigger = Only Once/Every Time #30

Open abtahizadeh opened 9 months ago

abtahizadeh commented 9 months ago

@hschickdevs Thanks for this fantastic bot

Alarm is trigger once, It will be deleted after notification Please add an option to make an alarm always used. (every time) For example, when the price of Bitcoin reach 37500 to warn every time Until the alarm is removed. (of course, to prevent spam, you can set a minute limit, if the price is still 37500 every x minutes) can set an expiration date like TradingView for Alarms.

alarm

hschickdevs commented 9 months ago

Hi @abtahizadeh! Thank you so much for the contribution and suggestion. I will definitely take this into account.

I love this idea. Would you rather this be an optional parameter when creating each alert, or a global parameter that you can set in the config which applies to all alerts?

abtahizadeh commented 9 months ago

Hello @hschickdevs

I think both options are effective. For example the command line be added after which any added alarm will be permanent Of course, your opinion is more important for the command text

/alarms expire 0 (never) /alarms expire 2d (2days) /alarms expire 1w (1week)

or

/newalert BTC/USDT PRICE ABOVE 35700 NoExpire

hschickdevs commented 9 months ago

This is great advice @abtahizadeh !

I will update the issue once this is implemented. Stay tuned!

abtahizadeh commented 9 months ago

Thank you @hschickdevs I think this issue should be taken into consideration for example, when the price is in that range Alert every 5 , 15 minutes or 1 hour (Warning that the price is still 37500) Because the robot may give a repeated warning whenever that price is reached

hschickdevs commented 9 months ago

@abtahizadeh yea, we can do it this way! There are many ways to handle this issue

abtahizadeh commented 2 months ago

Hello @hschickdevs Not specified when you can add this feature?

hschickdevs commented 2 months ago

Hello again @abtahizadeh, I apologize as I've been very busy with my full-time work. I will try to add this feature this coming weekend (July 5-7). Thank you for your patience.

abtahizadeh commented 2 months ago

Hello again @hschickdevs,Thank you I hope you find an opportunity to add this feature.

hschickdevs commented 1 month ago

Writing this here for notes, this issue has been raised by another user of the bot. Here are their ideas:

for indicator alerts:

for simple price checks (percentage):

for simple price checks (absolut): -i guess only one shot alert makes sense here

you could also define a new parameter on alert creation like "trigger" to be able to set to: