I'm excited to start using the new API features. It is nice to work with a broker who is constantly trying to improve their API instead of just offering a basic option just so they can say they have one.
Any chance of including a tag about a stocks margin rate when requesting a quote?
/market/ext/quotes.json is taking considerably longer to run for me. Sometimes it does not even return data before it times out at 30 seconds. It's very random.
A call for a quote on a single symbol used to take about 0.5 seconds.. now it takes 2 seconds or times out at 30 seconds and returns no valid data.
A call for a batch of 200 quotes used to take about 2 seconds, now it takes 6 or it times out at 30 seconds and returns no valid data.
I'm using PHP and Curl .. nothing changed except for the URL to call.. I made these changes last night and it seemed OK, but then this morning I am going crazy once the market opened and everything slowed down to a crawl?
Can anything be done to address these issues and make the call fast and stable like /market/quotes was?
I'm noticing the same thing. Maybe caused in part by all the new elements included in a market/ext/quotes pull?
Is there a way we can specify the individual data points we want in the request url so we don't have to download all the "fluff" each time? for example:
The new fids parameter is working well and I am back to using market/ext/quotes.json
I am passing ?fids=last,ask,bid,opn,hi,lo,pcls,vl,chg,pchg
FYI - I tested POST vs GET and GET wins the response and processing time, even when requesting hundreds of symbols.
By using the new "fids" parameter, this makes /market/ext/quotes faster than /market/quotes by 30% - 50% on average and provides the ability to only receive information that you care about.
So.. good job TradeKing. I'll let it run on the new quotes call with fids parameter for a while longer to make sure there are no performance issues and then move onward. Thanks!
TK Staff and all Great Great job guys!!
me (newbie) started looking at the API this afternoon. its 4:30 and I have a new quote program in Ruby. Excellent stuff. Well done.