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

Add calculation for get_trading_volume to rust sdk #50

Open
DannyDelott opened this issue Mar 20, 2024 · 0 comments
Open

Add calculation for get_trading_volume to rust sdk #50

DannyDelott opened this issue Mar 20, 2024 · 0 comments

Comments

@DannyDelott
Copy link
Contributor

Trading volume is only calculated in the ts sdk right now, but moving this to the sdk would create a single source of truth where volume is measured in bonds.

https://github.com/delvtech/hyperdrive-frontend/blob/main/packages/hyperdrive-js-core/src/hyperdrive/ReadHyperdrive/ReadHyperdrive.ts#L562-L588

@ryangoree ryangoree transferred this issue from delvtech/hyperdrive May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant