question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Universal transfer not working between Main and Isolated Margin Accounts

See original GitHub issue

Congratulations for the Project!

I noticed that the MainToMargin method transfers to the Cross Margin Account, even filling the toSymbol field correctly.

In the same way, the MarginToMain method transfers from the Cross Margin account, even filling the fromSymbol field correctly.

Could you take a look at this?

Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
eduardobellottocommented, May 28, 2022

Thank you very much HypsyNZ!

0reactions
eduardobellottocommented, May 28, 2022

Hi HypsyNZ.

In the client.SpotApi.Account.TransferAsync method, there is no option for selecting account types.

The link of the related API documentation is that one:

https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data

As you suggested, I put the symbol in toSymbol and fromSymbol fields, but the transfer has occurred between Main and Cross Margin accounts again:

var result = client.SpotApi.Account.TransferAsync(UniversalTransferType.MainToMargin, "USDT", 0.01M, "VITEUSDT", "VITEUSDT").Result;

Please, try to transfer something between Main and Isolated Margin Accounts using this method and tell me if it worked for you.

Best regards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for ISOLATED MARGIN in Universal Transfers ...
Hello, I need to retrieve all transfers between the MAIN account and both CROSS and ISOLATED margin accounts for a given time frame....
Read more >
Introducing Unified Margin Account: Multi-Asset Trading ...
Please note that Bybit has recently launched our Unified Trading Account (UTA), an upgrade from UMA. Read on here for more information on ......
Read more >
How to Switch between Cross Margin Mode and Isolated ...
1. Go to the Futures trading interface and click [Cross] on the top-right corner of your screen. 2. A confirmation screen will appear....
Read more >
Isolated-Margin Trading with Sub-Accounts – Help Center
You need to authorize your sub-account by logging in to your parent account on webpage. (2) Operations for transfers, loans (leverage, interest ...
Read more >
Transfer USDT between spot and futures in Binance using ...
Is there any effective solution for this problem? What would you suggest? If you use isolated marginMode, your balance will not change when ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found