För att använda chatten måste du logga in.

Retrieve Account Leverage Through API

MTrader (khaled912)
Feb 14 2017 at 07:39
14 inlägg
Is it possible to retrieve the leverage of one of my accounts through the API? If so, how?
I've noticed that I can view my leverage in the 'portfolio' page, which means that the information is available. I can't seem to find it in the response of 'get-my-accounts' though.

Ivan (StoneHeart)
Feb 15 2017 at 10:26
131 inlägg
MTrader (khaled912)
Feb 15 2017 at 12:38
14 inlägg
I'm not using MT4 for this purpose. I'm trying to (programmatically) create a page with information about all my accounts (I have close to 10) without having to run a gazillion mt4 instances. Kinda similar to myfxbook account page, except a lot more customized with more metrics. I guess I could attach an EA to all my MT4 VPS instances that sends the data my way, but this seems too convoluted. If I'll end up implementing a workaround, I think scraping myfxbook's portfolio page might be easier.

I was just hoping that the leverage was there in the api somewhere and I just missed it.
Logga in för att kommentera .