Tags: KnightChaser/kcx
Tags
Improved User Leaderboard Ranking + bugfix The changes optimize fetching of current cryptocurrency prices by preloading all necessary values from Redis in a single operation. Additionally, the refactored code ensures accurate mapping of user balances to their corresponding users by using a dictionary, and streamlines the calculation of total asset values by filtering out non-asset columns only once, leading to more efficient and accurate ranking of users based on their total asset value. (There were some bugs calculating the estimated asset values incorrectly)