Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(reporting): average open price should not be zero #1513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jireva
Copy link
Contributor

@jireva jireva commented Feb 26, 2025

When the collateral change is 0 the average open price UDF returns 0 this caused the alt collateral dashboard to show a price below the lowest price seen for the average open price when taking the average over credit facilities (since some were set to 0 instead of NULL)

@jireva jireva marked this pull request as ready for review February 27, 2025 15:52
When the collateral change is 0 the average open price UDF returns 0
this caused the alt collateral dashboard to show a price below the lowest
price seen for the average open price when taking the
average over credit facilities (since some were set to 0 instead of NULL)
@jireva jireva force-pushed the reporting-fix-zero-avg-open-price branch from 0a68918 to 99ef11e Compare February 28, 2025 21:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants