Interface StockServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface StockServiceAsync.WithRawResponseA view of StockServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract StockServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
splits
abstract SplitServiceAsync.WithRawResponse splits()
Corporate actions are events that affect the ownership of a
Stock.Corporate actions include dividends and stock splits.
-
list
CompletableFuture<HttpResponseFor<List<StockListResponse>>> list()
Returns a raw HTTP response for
get /api/v2/market_data/stocks/, but is otherwise the same as StockServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<List<StockListResponse>>> list(StockListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<List<StockListResponse>>> list(StockListParams params)
-
list
CompletableFuture<HttpResponseFor<List<StockListResponse>>> list(RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String stockId)
Returns a raw HTTP response for
get /api/v2/market_data/stocks/{stock_id}/current_price, but is otherwise the same as StockServiceAsync.retrieveCurrentPrice.
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String stockId, StockRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String stockId, StockRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
abstract CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(StockRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(StockRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<StockRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String stockId, RequestOptions requestOptions)
-
retrieveCurrentQuote
CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(String stockId)
Returns a raw HTTP response for
get /api/v2/market_data/stocks/{stock_id}/current_quote, but is otherwise the same as StockServiceAsync.retrieveCurrentQuote.
-
retrieveCurrentQuote
CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(String stockId, StockRetrieveCurrentQuoteParams params, RequestOptions requestOptions)
-
retrieveCurrentQuote
CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(String stockId, StockRetrieveCurrentQuoteParams params)
-
retrieveCurrentQuote
abstract CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(StockRetrieveCurrentQuoteParams params, RequestOptions requestOptions)
-
retrieveCurrentQuote
CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(StockRetrieveCurrentQuoteParams params)
-
retrieveCurrentQuote
CompletableFuture<HttpResponseFor<StockRetrieveCurrentQuoteResponse>> retrieveCurrentQuote(String stockId, RequestOptions requestOptions)
-
retrieveDividends
CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(String stockId)
Returns a raw HTTP response for
get /api/v2/market_data/stocks/{stock_id}/dividends, but is otherwise the same as StockServiceAsync.retrieveDividends.
-
retrieveDividends
CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(String stockId, StockRetrieveDividendsParams params, RequestOptions requestOptions)
-
retrieveDividends
CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(String stockId, StockRetrieveDividendsParams params)
-
retrieveDividends
abstract CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(StockRetrieveDividendsParams params, RequestOptions requestOptions)
-
retrieveDividends
CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(StockRetrieveDividendsParams params)
-
retrieveDividends
CompletableFuture<HttpResponseFor<List<StockRetrieveDividendsResponse>>> retrieveDividends(String stockId, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<StockRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(String stockId, StockRetrieveHistoricalPricesParams params)
Returns a raw HTTP response for
get /api/v2/market_data/stocks/{stock_id}/historical_prices/, but is otherwise the same as StockServiceAsync.retrieveHistoricalPrices.
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<StockRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(String stockId, StockRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<StockRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(StockRetrieveHistoricalPricesParams params)
-
retrieveHistoricalPrices
abstract CompletableFuture<HttpResponseFor<List<StockRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(StockRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
retrieveNews
CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(String stockId)
Returns a raw HTTP response for
get /api/v2/market_data/stocks/{stock_id}/news, but is otherwise the same as StockServiceAsync.retrieveNews.
-
retrieveNews
CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(String stockId, StockRetrieveNewsParams params, RequestOptions requestOptions)
-
retrieveNews
CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(String stockId, StockRetrieveNewsParams params)
-
retrieveNews
abstract CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(StockRetrieveNewsParams params, RequestOptions requestOptions)
-
retrieveNews
CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(StockRetrieveNewsParams params)
-
retrieveNews
CompletableFuture<HttpResponseFor<List<StockRetrieveNewsResponse>>> retrieveNews(String stockId, RequestOptions requestOptions)
-
-
-
-