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

Update to recent API changes #18

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Update to recent API changes #18

wants to merge 18 commits into from

Conversation

otavio
Copy link

@otavio otavio commented Jul 4, 2024

We started collecting a few changes and improvements in this branch, and I'm leaving this pull request open so users can see our progress.

@@ -25,7 +25,7 @@ async fn main() -> Result<(), Error> {
.await?;

let positions = client
.call(GetPositionsRequest::futures(Currency::BTC))
.call(GetPositionsRequest::futures("BTC".to_string()))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from enum to String makes it require 1 more allocation right??
Is there any reason outside convenience for this change?

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

Successfully merging this pull request may close these issues.

3 participants