Skip to content

Binance Futures margin type #2660

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

bartolootrit
Copy link
Contributor

Pull Request

Summary

/fapi/v1/marginType endpoint was added to change margin type from crossed to isolated and vice versa

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (impacts existing behavior)
  • Documentation update
  • Maintenance / chore

Release notes

  • I added a concise entry to RELEASES.md that follows the existing conventions (when applicable)

Testing

  • Affected code paths are already covered by the test suite
  • I added/updated tests to cover new or changed logic

It was tested manually on Binance Testnet and Mainnet.

Copy link
Member

@cjdsellers cjdsellers left a comment

Choose a reason for hiding this comment

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

👌 thanks for the contribution @bartolootrit!

Given we don't have good test coverage for the Binance adapter, and margin trading currently isn't possible afaik, it's OK that this doesn't have tests for now (something we're working to improve).

I'll handle the release notes update on this occasion.

@cjdsellers cjdsellers merged commit d2d56e0 into nautechsystems:develop May 22, 2025
17 checks passed
stastnypremysl pushed a commit to stastnypremysl/nautilus_trader that referenced this pull request May 30, 2025
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.

2 participants