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.
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>
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors.
Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance.
You could lose some or all of your initial investment. Do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions.
Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.
Past performance is not indicative of future results.