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?
As far as I know the Sterling API does not offer historical bars. You need to collect data yourself and build your own bars.
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.
You can also use TradeLink and build barlists, use indicators, etc. http://code.google.com/p/tradelink/