Stocks (Java SDK)
The Java SDK from Market Data provides methods to streamline your use of the Stocks endpoints. These methods provide a typed interface over the underlying HTTP requests and responses, with both sync and async variants.
Reach the resource through client.stocks(). For CSV output use client.stocks().asCsv().
Stocks Endpointsโ
๐๏ธ Candles
Retrieve historical open, high, low, close and volume candles for a stock with the Java SDK StockCandlesRequest and its resolution options.
๐๏ธ Quotes
Retrieve real-time bid, ask, mid, last and volume for one or more stock symbols with the Java SDK, in single or multi-symbol request form.
๐๏ธ Prices
Retrieve the latest mid price and change for one or more stock symbols with the Java SDK StockPricesRequest, a lighter payload than a quote.
๐๏ธ News
Retrieve news articles for a stock symbol with the Java SDK, building the query with a StockNewsRequest object.
๐๏ธ Earnings
Retrieve historical and upcoming earnings data (EPS actuals, estimates, surprises) for a stock symbol.