Jump to content
Sign in to follow this  
jclar

tickhistory prices not working for me

Recommended Posts

For instance:

https://ciapi.cityindex.com/tradingapi/market/401484411/tickhistoryafter?Username=xxx&Sessionyyyyy&toTimeStampUTC=1534395600&maxResults4000&PriceType=BID

returns 

Message":"No HTTP resource was found that matches the request URI 'http://ciapi.cityindex.com/tradingapi/market/401484385/tickhistory ...

None of the tickhistory URLs seems to be working

What am I doing wrong?

Share this post


Link to post

Hi,

The GetPriceTicksAfterDate call that is being made has the parameter name as "fromTimeStampUTC", and not what is used in your example of "toTimeStampUTC". When I corrected the parameter name the call completed and returned valid results as shown in the following screenshot. 

If you correct the parameter in the call that should fix the issue.

Kind Regards, PM

GetPriceTicksAfterDate.png

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×