Stocks
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 OHLCV (open/high/low/close/volume) candles for a stock symbol.
📄️ Quotes
Retrieve real-time quotes (bid, ask, mid, last, volume, etc.) for one or more stock symbols.
📄️ Prices
Retrieve the latest price (mid, change) for one or more stock symbols — a lighter payload than a full quote.
📄️ News
Retrieve news articles for a stock symbol.
📄️ Earnings
Retrieve historical and upcoming earnings data (EPS actuals, estimates, surprises) for a stock symbol.