Skip to content

Native asset values task 2 #5

@sh-rn

Description

@sh-rn

Description:
Update the EventProcessorStageExchange_Bundle class to calculate token prices in terms of native assets and store them in the newly created TokenPrice table.

To do:

  • Modify the _process() method to calculate token prices in terms of native assets using the bundle table data.
  • Implement parallel processing using multiple worker threads for additional token price calculations.
  • Update the class to accept a token_pairs parameter.
  • Update the _process() method to handle calculations for multiple token pairs.
  • Store calculated prices in the TokenPrice table.
  • Leverage Redis cache to avoid redundant calculations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions