Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Weekly Aggregate Pool Stats From API Are Stubbed #56

@ModernForays

Description

@ModernForays

This is related to #6 but is not a duplicate as it does not explain the incorrect 1W and 1M pool performance stats.

In the pool stats data returned from /api/pool-stats/all, it looks like the API endpoint has been stubbed out to return the same data for both the daily and weekly stats:

cap_pool_stats_api_response

This will affect the calculation of yearlyPerformance, which expects to operate on an array of weekly aggregates, not daily data.

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