markitondemand / DEPRECATED-DataApis

Markit On Demand - Market Data APIs
http://dev.markitondemand.com
MIT License
178 stars 68 forks source link

Minute by Minute Stock tiicker #37

Closed sneevand closed 8 years ago

sneevand commented 8 years ago

Hi Guys,

How do i convert below link to get Jason output and get every minute by minute updated data? I dont need an callback as jquery...

http://dev.markitondemand.com/Api/v2/InteractiveChart/jsonp?callback=jQuery110209236548591870815_1432147464499&parameters=%7B%22Normalized%22%3Afalse%2C%22NumberOfDays%22%3A3650%2C%22DataPeriod%22%3A%22Day%22%2C%22Elements%22%3A%5B%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22price%22%2C%22Params%22%3A%5B%22ohlc%22%5D%7D%2C%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22volume%22%7D%5D%7D&_=1432147464500

Regards, Navin

brianbaker commented 8 years ago

Change the jsonp part of the url to json, leave off the callback= (that's just to specify the JSONP callback name):

http://dev.markitondemand.com/MODApis/Api/v2/InteractiveChart/json?parameters=%7B%22Normalized%22%3Afalse%2C%22NumberOfDays%22%3A3650%2C%22DataPeriod%22%3A%22Day%22%2C%22Elements%22%3A%5B%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22price%22%2C%22Params%22%3A%5B%22ohlc%22%5D%7D%2C%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22volume%22%7D%5D%7D&_=1432147464500

Minute-by-minute isn't possible right now with this API see #12.

sneevand commented 8 years ago

why dont they update document that it does not support minute wise updates..