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

Can't get current position leverage #20

Open
GrigoriiVakhmistrov opened this issue Jan 12, 2025 · 1 comment
Open

Can't get current position leverage #20

GrigoriiVakhmistrov opened this issue Jan 12, 2025 · 1 comment

Comments

@GrigoriiVakhmistrov
Copy link

Hello! I see that GET /fapi/v2/positionRisk was been removed in version 0.1.6. I was forced back to version 0.1.5 because i need to get leverage by position, but this field returned only v2 api, in v3 api leverage don't returned. If you can, please return GET /fapi/v2/positionRisk in future version.

Best regards,
Grigorii

@alplabin
Copy link
Contributor

It has been added back in v0.1.7 Release. However, keep in mind that GET /fapi/v2/positionRisk will soon be deprecated and that you will need to use another strategy to get leverage by position.

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

2 participants