Skip to content

Cache price graph #72

@CyrusVorwald

Description

@CyrusVorwald

balanced_backend/utils/prices.py builds the graph for token price calculations from scratch on every invocation of the get_token_prices function. Paths should be cached and only recalculated when topology changes

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