Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Not a margin account #427

Open
umeshy opened this issue May 19, 2022 · 2 comments
Open

Not a margin account #427

umeshy opened this issue May 19, 2022 · 2 comments

Comments

@umeshy
Copy link

umeshy commented May 19, 2022

I'm getting error in below statement, please suggest reason for the error:

BinanceApiMarginRestClient marginClient = factory.newMarginRestClient();
		String marginlistenKey = marginClient.startUserDataStream();
		

Error: com.binance.api.client.exception.BinanceApiException: Not a margin account.

@cezary-ptaszek
Copy link

cezary-ptaszek commented May 21, 2022

You probably don't have an open margin account in binance.
Tip:

Under “Balance Details”, click on “Margin” so you can start opening a Binance margin trading account.
You need to complete the KYC identity verification and ensure that your country is not part of the blacklist. 
Enabling 2FA is also mandatory. After that, you will see a reminder regarding margin trading's risks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@umeshy @cezary-ptaszek and others