Skip to content
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

feat: remove last buy price slack updates unless notifyDebug or notifyOrder are enabled #518

Merged
merged 2 commits into from
Oct 7, 2022
Merged

Conversation

rando128
Copy link
Contributor

@rando128 rando128 commented Oct 4, 2022

Description

The existing slack notification settings are still quite verbose even when notifyOrderConfirm and notifyDebug are disabled. Also as a user, if I only enable notifyOrderExecute, I expect to not receive trailing price update notifications.

Related Issue

This PR tries to address #515

How Has This Been Tested?

This has been tested in live mode on my own setup and trailing updates are not sent anymore with notifyOrderConfirm and notifyDebug set to false.

@peweb
Copy link

peweb commented Oct 6, 2022

Sounds cool - how can I set notifyOrderConfirm notifyDebug to false?
Should I add them to the env file?

@chrisleekr
Copy link
Owner

@rando128
Sorry for the late reply.

Are you able to write tests for the changes?
I will try to write tests when I get time.

@chrisleekr chrisleekr merged commit 70b833c into chrisleekr:master Oct 7, 2022
@chrisleekr chrisleekr linked an issue Oct 7, 2022 that may be closed by this pull request
@chrisleekr chrisleekr added the enhancement New feature or request label Oct 7, 2022
@chrisleekr chrisleekr changed the title Remove last buy price slack updates unless notifyDebug or notifyOrder are enabled feat: remove last buy price slack updates unless notifyDebug or notifyOrder are enabled Oct 7, 2022
@rando128
Copy link
Contributor Author

rando128 commented Oct 8, 2022

Thx @chrisleekr. Sorry for not writing tests for this, but it was beyond my skills. Now that I saw what you did for this merge, I hope to be able to add tests for my next PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slack Log Levels?
3 participants