Interface AlloyServiceAsync
-
- All Implemented Interfaces:
public interface AlloyServiceAsyncDinari 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 interfaceAlloyServiceAsync.WithRawResponseA view of AlloyServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AlloyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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()
Returns available
Alloyswith cursor-based pagination.
-
list
abstract CompletableFuture<AlloyListResponse> list(AlloyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AlloyListResponse> list(AlloyListParams params)
-
list
CompletableFuture<AlloyListResponse> list(RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(String alloyId)
Get the current price for a specified
Alloy.
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
abstract CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
CompletableFuture<AlloyRetrieveCurrentPriceResponse> retrieveCurrentPrice(String alloyId, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>> retrieveHistoricalPrices(String alloyId, AlloyRetrieveHistoricalPricesParams params)
Get historical price data for a specified
Alloy. Each index in the array represents a single tick in a price chart.
-
retrieveHistoricalPrices
CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>> retrieveHistoricalPrices(String alloyId, AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params)
-
retrieveHistoricalPrices
abstract CompletableFuture<List<AlloyRetrieveHistoricalPricesResponse>> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
-
-
-