Resources

IncompleteCandles

ActionDescription
GET api/IncompleteCandles/{priceSource}?externalSymbolId={externalSymbolId}&period={period}

Gets the current incomplete candle for the given market at the specified period. Requests for unknown markets will receive a response with a status code of 404. Requests for very large periods will be rejected with a status code of 400.

GET api/IncompleteCandles?symbolId={symbolId}&period={period}

Gets the current incomplete candle for the given market at the specified period. Requests for unknown markets will receive a response with a status code of 404. Requests for very large periods will be rejected with a status code of 400.

Candles

ActionDescription
GET api/Candles/{priceSource}?start={start}&end={end}&externalSymbolId={externalSymbolId}&period={period}

Gets complete candles for the given time span and the given market. The symbol id is an identifier from a price provider, named by the price source parameter. Candles may not be recorded for all periods of time, so the returned candles may not be contiguous. Requests that would result in excessively large data sets will be rejected with a status code of 400. Return data is ordered from oldest to newest.

GET api/Candles/{priceSource}?time={time}&count={count}&externalSymbolId={externalSymbolId}&period={period}

Gets the requested number of complete candles running into the past from the time given, for the given market. For example, a request with a count of 100 would give the 100 candles that immediately predate the supplied time (this is inclusive; the candle that the given time falls within will also be included). Incomplete candles are available via the Lightstreamer streaming API. Candles may not be recorded for all periods of time, so the returned candles may not be contiguous. Requests that would result in excessively large data sets will be rejected with a status code of 400. You are not guaranteed to get the full number of candles requested. Return data is ordered from oldest to newest.

GET api/Candles?start={start}&end={end}&symbolId={symbolId}&period={period}

Gets complete candles for the given time span and the given market. Candles may not be recorded for all periods of time, so the returned candles may not be contiguous. Requests that would result in excessively large data sets will be rejected with a status code of 400. Return data is ordered from oldest to newest.

GET api/Candles?time={time}&count={count}&symbolId={symbolId}&period={period}

Gets the requested number of complete candles running into the past from the time given, for the given market. For example, a request with a count of 100 would give the 100 candles that immediately predate the supplied time (this is inclusive; the candle that the given time falls within will also be included). The symbol id is an identifier from a price provider, named by the price source parameter. Candles may not be recorded for all periods of time, so the returned candles may not be contiguous. Requests that would result in excessively large data sets will be rejected with a status code of 400. You are not guaranteed to get the full number of candles requested. Return data is ordered from oldest to newest.