Margin Level (in %) return infinite is bugged
-
Problem:
The option to "return infinite" in Margin Level (in %) does not work.Summary:
I have a condition block that I've titled "check free margin" and this block will only pass to the next set of blocks when the Margin Level (in %) Account is greater than a defined value ("10" in this example). If it is less, the blocks end there. When there are no trades and the value is set to "return infinite", this block does not pass even though it should.Simple workaround until bug is fixed:
An easy workaround is to use the "No positions" block and ignore this check if there are no positions, but it would be good if the infinite number is fixed.Possible solution for admins:
Maybe set the return value to 99999 as an alternative?
(I tested assigning a constant with 99999 to "when no trades" and it works perfectly and the subsequent blocks are activated as expected.)
-
What is the goal you are looking for and what is the reason for using "Return infinite" ?
-
@breeeeen said in Margin Level (in %) return infinite is bugged:
Hi there,
When the Margin Level (in %) Account condition is set to return infinite, nothing trades.
An easy workaround is to use the "No positions" block and ignore this check if there are no positions, but it would be good if the infinite number is fixed. Maybe set it to 99999 as an alternative?
(I tested assigning a constant with 99999 to "when no trades" and it works perfectly.)

Thanks for that find.
Lots of things like that can be worked around, but always good to let people know the workaround. Thanks again!
-
@rodrigo-ortuzar I've updated the original post to make it clearer. I don't need help on solving this particular issue since I have a simple workaround, but if you're an admin, a fix would be good for future users please. Thanks.
-
I am not an administrator, I was asking you because if you look at the fact that there are no open operations there is no Margin and when there are open operations there is margin, just that.