-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement] [QOL] Spam Alerts #38
Comments
|
I agree, let it trigger only if the percentage is higher than the previous one and keeping the MIN_ALERT_INTERVAL parameter for the user to decide the silence time. I really think that would be an optimal solution to the problem. Please let me know when it is implemented to test it. Thank you very much @brianleect |
@Juanjacinto123 could take a look at the newest version. The way spam is filtered has been changed to consider variation in % using the alertSkipThreshold set at a default of 0.75 % . It should fit your needs in avoiding the blocking of important information. Note: there is a minor bug for first initialization of TDP atm where it is all 0% for this version. Should be fixed within the coming week. Nvm. Wait till further updates, there's some other issue with spam atm that's does not seem to be fully resolved. |
alertSkipThreshold appears to have its own limitations as well, does not seem to filter spam v well on slightly larger intervals. (15s for this case) Possible solutions
|
Yepp i think the |
I understand, that is to say that the percentages are accumulated.
I think that the most optimal for the second trigger condition would be that the next value is simply greater than the previous one.
As in the previous example:
intervals = [''5m']
outlier_param = {'5m':0.02}
First notification:
"PUMP: TCTUSDT / Change: 2.5% / Price: 0.023277 / Interval: 5m"
Second (Muted) notification:
"PUMP: TCTUSDT / Change: 2.3% / Price: 0.023277 / Interval: 5m"
Third notification:
"PUMP: TCTUSDT / Change: 2.6% / Price: 0.023277 / Interval: 5m"
The way you propose it is optimal for small percentages, but when handling slightly larger percentages, say greater than 4 or 5%, many alerts would be lost.
Originally posted by @Juanjacinto123 in #31 (comment)
The text was updated successfully, but these errors were encountered: