Package com.dinari.api.services.async.v2
Interface MarketDataServiceAsync
-
- All Implemented Interfaces:
public interface MarketDataServiceAsyncDinari provides basic market data for
Stocksthat are available to transact on.This data is provided on a best-effort basis and we recommend using a dedicated provider for more intensive market data needs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMarketDataServiceAsync.WithRawResponseA view of MarketDataServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MarketDataServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract MarketDataServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. abstract StockServiceAsyncstocks()CompletableFuture<MarketDataRetrieveMarketHoursResponse>retrieveMarketHours()Get the market hours for the current trading session and next open trading session. abstract CompletableFuture<MarketDataRetrieveMarketHoursResponse>retrieveMarketHours(MarketDataRetrieveMarketHoursParams params, RequestOptions requestOptions)CompletableFuture<MarketDataRetrieveMarketHoursResponse>retrieveMarketHours(MarketDataRetrieveMarketHoursParams params)CompletableFuture<MarketDataRetrieveMarketHoursResponse>retrieveMarketHours(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract MarketDataServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract MarketDataServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
stocks
abstract StockServiceAsync stocks()
-
retrieveMarketHours
CompletableFuture<MarketDataRetrieveMarketHoursResponse> retrieveMarketHours()
Get the market hours for the current trading session and next open trading session.
-
retrieveMarketHours
abstract CompletableFuture<MarketDataRetrieveMarketHoursResponse> retrieveMarketHours(MarketDataRetrieveMarketHoursParams params, RequestOptions requestOptions)
-
retrieveMarketHours
CompletableFuture<MarketDataRetrieveMarketHoursResponse> retrieveMarketHours(MarketDataRetrieveMarketHoursParams params)
-
retrieveMarketHours
CompletableFuture<MarketDataRetrieveMarketHoursResponse> retrieveMarketHours(RequestOptions requestOptions)
-
-
-
-