Price at a specific time in the past

Created at 21 Jun 2017
PA

payment

Joined 14.08.2015

Status

Closed


Budget

20.00 USD


Payment Method

Direct Payment

Job Description

 

I need a simple function that will work on any timeframe to get me the price of any symbol in the past:

 

eg if I need to know the price of EURUSD and USDJPY at precisely 0915 GMT on 5 June 2017, I could just call a function f :

 

double myprice1 = f("EURUSD",09,15,"GMT",5,6,2017);

 

double myprice2 = f("USDJPY",09,15,"GMT",5,6,2017);

 

 

 

etc...

 

This has to be extemely efficient, if possible using a built in cAlgo function  (if one exists)

Please make this as efficient as possible, no newbie coders unless your solution is slick and fast

 

 

 

 

Comments
PA
payment · 7 years ago

Yes I need this done please!

Jiri's avatar
Jiri · 7 years ago

Hi, do you still need this to be done?

PA
payment · 7 years ago

Just to be clear I could just call them individually:

 

double myprice = f("EURUSD",09,15,"GMT",5,6,2017);

 

double myprice2 = f("USDJPY",09,15,"GMT",5,6,2017);

 

 

 

etc...

 

 

Please make this as efficient as possible, no newbie coders unless your solution is slick and fast

PA
payment · 7 years ago

Just to be clear I could just call them individually:

 

double myprice2 = f("EURUSD",09,15,"GMT",5,6,2017);

 

double myprice2 = f("USDJPY",09,15,"GMT",5,6,2017);

 

 

 

etc...