#Rust pop-quiz answer to rewriting token-price-calculation.
A complete rewrite has now 60+ tokens accurately priced from active trades in @TeamKujira FIN.
This solution uses HashMap chaining and higher-order fuctional composition to avoid unnecessary collection-mutation.
The above is part I to get to the solution.
Next comes part II: accurate order book volumes.
No comments:
Post a Comment