Open tr0lldermort opened 3 years ago
+1
I've actually put in a request for such a feature a month ago:
ARS could send critical messages like LS limit reached or GB stopped working, etc. to a separate telegram channel. I keep the bot channel muted for obvious reasons but I'd like to get an alert if anything requiring attention happens and that could be possible with a second TG channel.
aha so you did :) ty for mentioning it!
Description
A number of users have mentioned that a second TG bot would be useful to split out function and/or alert messages; an additional feed could be made available for this purpose. If the devs still dislike the idea though, this req. can just be closed.
Messages can be split into three categories:
Message Categories
Warning Warning messages only appear when there is a problem. An example of this would be:
Function Function messages are not periodic, they are triggered by certain events such as a close, a change in PPP index, or a liquidation spread reached. Examples of these are:
Summary This is the periodic summary sent out by ARS and looks like this:
Setting up TG in ARS
A simple way to configure the two TG bots would be to modify the USR_VARS.ini file as follows:
Where a user can put any combination of Warning, Function and/or Summary in either of the TG_CATEGORIES fields. If TG_CATEGORIES is left blank, no messages get sent automatically to that feed.