Class AlloyServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.async.v2.marketdata.AlloyServiceAsync
public final class AlloyServiceAsyncImpl implements AlloyServiceAsync
Dinari provides basic market data for
StocksandAlloysthat 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 final classAlloyServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description AlloyServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. AlloyServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<AlloyListResponse>list(AlloyListParams params, RequestOptions requestOptions)CompletableFuture<AlloyRetrieveCurrentPriceResponse>retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>>retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.async.v2.marketdata.AlloyServiceAsync
list, list, list, retrieveCurrentPrice, retrieveCurrentPrice, retrieveCurrentPrice, retrieveCurrentPrice, retrieveCurrentPrice, retrieveHistoricalPrices, retrieveHistoricalPrices, retrieveHistoricalPrices -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
AlloyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
AlloyServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<AlloyListResponse> list(AlloyListParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
-
-
-