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

dev: Create a Pair struct #119

Open
akhercha opened this issue Aug 9, 2024 · 0 comments
Open

dev: Create a Pair struct #119

akhercha opened this issue Aug 9, 2024 · 0 comments

Comments

@akhercha
Copy link
Member

akhercha commented Aug 9, 2024

Current Behavior

At the moment, our code use the abstraction of "pair" (with a base/quote asset) everywhere almost. We sometimes needs to invert the currencies, or extract just the base etc etc.
Currently this is done mostly in the utils crate.

Expected Behavior

We have a new Pair struct that parse a pair BASE/QUOTE and internalizes every functions it needs.
We will also use this Pair for the http requests.

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