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

Unable to create "Limit" orders to close all positions (only close at "Market" works) #22

Open
ltfschoen opened this issue Aug 3, 2020 · 0 comments

Comments

@ltfschoen
Copy link
Contributor

My Acala Mandala Address: 5DHcRs9udMCKtEmJEABY2HpECyTHHxgLL85pFFzN72SatAoQ

If I go to https://flow.laminar.one/margin/2/XAUUSD, "Deposit" say 9000 aUSD, then in the "Basic" section open a BUY/LONG position of 6 FXAU using 2x leverage, it shows that position in "My Positions / Orders Open", then I tried to open the opposite trade that's too much by creating in the "Basic" section a SELL/SHORT position of 15 FXAU using 2x leverage, and it gives error marginProtocol.InsufficientFreeMargin as expected (see attached screenshot)

Screen Shot 2020-08-04 at 7 36 25 am

But if I tried creating in the "Basic" section a SELL/SHORT position of 5 FXAU using 2x leverage (so I could sell as a "Limit" order instead of a "Market" order), it also gives error marginProtocol.InsufficientFreeMargin (even though it'd just cancel 5/6ths of my BUY/LONG position) (see screenshot below)

I was only able to open SELL/SHORT position of 2 FXAU using 2x leverage, successfully.
Screen Shot 2020-08-04 at 7 51 35 am

So I could only close my positions at "Market" rates (instead of using "Limit" orders) by clicking the "Close" buttons in the "My Positions / Orders Open" section

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

1 participant