To use chat, please login.
Back to contacts

Bug in MyFxBook APi - Get Daily Data call

Supermario7
Jul 02 at 09:18
1 posts
Hi there!,

When I use the method Get Daily Data (xml or json version) I get all the fields correctly, but FloatingPL is most of the time zero.
When I check my stat in myfxbook website I can see that all the fields matches but not the floatingPL.
I have checked dates individually, and even periods of one month, according to the api I do not face any drawdown as floatingPL is always zero, but it is not the case, the result is no correct for that field, it is a bug.

Any suggestions?

Example of data retrieved by the API:

<response error='false' message=''>
<dataDaily>
<data>
<date>06/28/2021</date>
<balance>995.18</balance>
<pips>9.00</pips>
<lots>0.95</lots>
<floatingPL>0.00</floatingPL> <----------- always zero, and my account has drawdown, what it fails is the api.
<profit>2.5600</profit>
<growthEquity>52.32</growthEquity>
<floatingPips>0.00</floatingPips>
</data>
</dataDaily>
</response>

Please login to comment .