Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how I can obtain time and sales data for a stock?

Lots of feeds provide the total volume but I would like to see the breakdown of what buy/sell orders made up the day's volume.

I would like to get this via an API so I can analyze it in my code in real time as the market is trading.

Thank you for your help.

share|improve this question
Just call-up a stock exchange and ask for their historical quotes. The bigger exchanges will want money, but the smaller exchanges may mail you a hard drive for free. – chrisaycock Mar 10 '13 at 8:21
time and sales.. – cdcaveman Mar 10 '13 at 8:51
@chrisay - i need an api i can invoke so i have real-time analytics. will update my question – dev Mar 16 '13 at 4:52
@cdcaveman - ok, so i am looking for time and sales data.. will update the question – dev Mar 16 '13 at 4:53
@dev Most exchanges have a full order-book feed, though they arrive as binary data rather than via an API. – chrisaycock Mar 16 '13 at 13:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.