Sterling API question

Discussion in 'Automated Trading' started by trader105, Dec 4, 2009.

  1. I tried to learn Sterling API and here is a question I have: How to get the information of the open, high, low, close price and volume information for a 1-min bar of 5 minutes ago?
     
  2. As far as I know the Sterling API does not offer historical bars. You need to collect data yourself and build your own bars.
     
  3. Then Sterling API is not of much use. Without historical price, you can't do much with it.
     
  4. You can build your own candle data based on the live feed.
    What i did was creating candle objects (for each minute for example) and updating them with the quoteUpdate event.