Skip to content

Bug: Handle missing datapoints in the LT price chart #558

@Shreyas-bellary

Description

@Shreyas-bellary

Describe the bug
The collateral price fetched are containing missing data points(nulls) leading to incomplete price charts. The app uses forward fill to impute null values but in specific timeframes(1W), if the first data point returns null, it fails to forward fill till the next existing datapoint.

To Reproduce
This can be reproduced in conditions where the first few data points in the timeframe return null.
Specific datetime to reproduce - Jan 12th 2025 7am to Jan 13th 2025 2am AND Jan 16th 2025 7am to Jan 17th 2025 3am
Timeframe - 1W

Expected behavior
It creates incomplete price chart as seen below.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions