Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 482 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Oanda histo data different from manual download #472965
06/03/18 12:35
06/03/18 12:35
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
I have recently updated my own version of the Oanda API (REST v20) and noticed differences in M1 bars with Zorro download. I compared for instance M1 bars from the 1st of Jan 2018 till the 1st of June and M1 bars are the same only for the recent ones. Moreover, Zorro generated much more bars (4k on around 150k). Could you please explain me the reasons of such differences in term of bar values and number?
Thx

Re: Oanda histo data different from manual download [Re: byakuren81] #472966
06/03/18 13:38
06/03/18 13:38
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
In forex, there are no centralized exchanges, so all data is local to your broker.

Thus, it is preferable to source historical data from your forex broker. The download script makes this easy.

Re: Oanda histo data different from manual download [Re: AndrewAMD] #472967
06/03/18 13:42
06/03/18 13:42
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
Thx for your reply, but that's my bad as when downloading Zorro it comes with histo data for EURUSD by default and I guess these data are from FXCM. So when I updated till today it apended data from Oanda leading to earlier different values and dimension...

Re: Oanda histo data different from manual download [Re: byakuren81] #472968
06/03/18 16:21
06/03/18 16:21
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
I think it's not useful to mix price files, there are two solutions using prices from several brokers:

1. temporarily

You rename e.g. the original EURUSD_2018.t6 to EURUSD_FXCM_2018.t6 and download the prices from OANDA to an empty price file EURUSD_2018.t6. If you want to use FXCM prices you make the procedure vice versa. Alternatively you keep the price files with FXCM and OANDA and make a sym link (mklink on Win) from one to the EURUSD_2018.t6 depending on which broker you want.

2. permanently

You create an account.csv like:

Name,Broker,Account,User,Pass,Assets,CCY,Real,NFA,Plugin
Broker1, ..., NewAssets.csv, ...
Broker2, ..., NewAssets.csv, ...

and use asset names in the NewAssets.csv like

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
EURUSD_Broker1,1.09546,0.00005,-0.14,0.06,0.0001,0.09129,10,0,1000,0.6,Broker1:EUR/USD
EURUSD_Broker2,1.09546,0.00005,-0.14,0.06,0.0001,0.09129,10,0,1000,0.6,Broker2:EUR/USD

In this case the price files are already named correctly e.g. EURUSD_Broker1_2018.t6 when downloading history.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1