requested margin < balance * 0.10
-
Hello everyone,
I want to open a position only if the requested margin is less than 10% of my account balance.
How can I best do this?
I am thankful for every help.
-
@abasali This should work, but I never tried:

-
Thanks for the quick answer but it doesn't work.
It is important that it works when no positions are opened. So with No Trade.
-
@abasali Then I'm not sure I can be helpful. If I understand what you want correctly, you need to know if a trade will be using less than 10% of current balance's margin BEFORE it is open, right?
-
@l-andorrà said in requested margin < balance * 0.10:
@abasali Then I'm not sure I can be helpful. If I understand what you want correctly, you need to know if a trade will be using less than 10% of current balance's margin BEFORE it is open, right?
I also have the same problem.
Yes.
-
No idea ??