Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 502 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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 Online
Serious User
AndrewAMD  Online
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