Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Native asset values task 2 #5

Open
6 tasks
shrnkld opened this issue Apr 28, 2023 · 0 comments
Open
6 tasks

Native asset values task 2 #5

shrnkld opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@shrnkld
Copy link
Contributor

shrnkld commented Apr 28, 2023

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.
@shrnkld shrnkld added the enhancement New feature or request label Apr 28, 2023
@shrnkld shrnkld changed the title Native asset values #2 Native asset values task 2 Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant