- Início
- Comunidade
- Programação
- Bug in MyFxBook APi - Get Daily Data call
Edit Your Comment
Bug in MyFxBook APi - Get Daily Data call
Membro Desde Oct 25, 2020
4 posts
Jul 02, 2021 at 09:18
Membro Desde Oct 25, 2020
4 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>
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>
*Uso comercial e spam não serão tolerados, podendo resultar no encerramento da conta.
Dica: Postar uma imagem/URL do YouTube irá incorporá-la automaticamente no seu post!
Dica: Insira o sinal @ para preencher automaticamente um nome de utilizador que participe nesta discussão.