Conor Mcnamara:
Maybe a stupid question but what is ACCOUNT_MARGIN supposed to be as opposed to ACCOUNT_MARGIN_FREE?
It should return the margin used of course.
If I print this:
I get 0.0 returned back from the broker.
Never seen that. It works correctly for me.
What build ? What broker ?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Maybe a stupid question but what is ACCOUNT_MARGIN supposed to be as opposed to ACCOUNT_MARGIN_FREE?
If I print this:
I get 0.0 returned back from the broker.
If I print this:
I retrieve my current free margin correctly.
is "ACCOUNT_MARGIN" used on some brokers and not on others?