XML Api get_history retrieves only last 50 trades ?

Sep 04, 2014 at 10:50
760 Zobrazení
5 Replies
Členom od Jun 01, 2012   6 príspevkov
Sep 04, 2014 at 10:50
Dear Community,

I am playing around with the Myfxbook-XML-API and currently found out, that calls to the 'get_history' for an account only yield the last 50 trades.

Is this limitation made on purpose ? Is there a way to overcome this limitation or to get the finished trades from some point more ditant in the past ?

Regards

U
Členom od Nov 21, 2011   1718 príspevkov
Sep 05, 2014 at 11:20
Hi,

You have to ask directly to https://www.myfxbook.com/members/Staff

However, I'm still interested in Outlook Community API into an EA or Indicator.

If you could provide it that would be awesome : )

Cheers
CrazyTrader
Členom od Jun 01, 2012   6 príspevkov
Sep 05, 2014 at 13:40
ok will ask the Bosses ;-)

Right now i am working with Objective-C for an app which will run on Mac OS or IOS.

Don't know whether a possibility exists to parse XML-files in MQL
Členom od Nov 21, 2011   1718 príspevkov
Sep 05, 2014 at 13:48
ulineustadt posted:
Don't know whether a possibility exists to parse XML-files in MQL

yes it does...I have already seen working, but all thoses things are too complicated for me : )
Členom od Jun 01, 2012   6 príspevkov
Sep 05, 2014 at 21:02
So you would need some functionality to read the XML and create orders following the communities decision. Sounds interesting and should not be that hard.

Unfortunately I am not that familiar with MQL and as I work on a Mac there is no good opportunity to work with MQL there..
Členom od Jul 31, 2009   1449 príspevkov
Sep 09, 2014 at 07:29
ulineustadt posted:
Dear Community,

I am playing around with the Myfxbook-XML-API and currently found out, that calls to the 'get_history' for an account only yield the last 50 trades.

Is this limitation made on purpose ? Is there a way to overcome this limitation or to get the finished trades from some point more ditant in the past ?

Regards

U

Yes, this is by design for 2 reasons:
1. Technology wise, to prevent users from overloading our servers (there are accounts with 5000 trades and more).
2. The API was meant to allow a quick view of the recent data only.
You must be connected to Myfxbook in order to leave a comment
*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.