Interface AlloyService
-
- All Implemented Interfaces:
public interface AlloyServiceDinari 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 interfaceAlloyService.WithRawResponseA view of AlloyService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AlloyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AlloyService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
AlloyListResponse list()
Returns available
Alloyswith cursor-based pagination.
-
list
abstract AlloyListResponse list(AlloyListParams params, RequestOptions requestOptions)
-
list
AlloyListResponse list(AlloyListParams params)
-
list
AlloyListResponse list(RequestOptions requestOptions)
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(String alloyId)
Get the current price for a specified
Alloy.
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
abstract AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(String alloyId, RequestOptions requestOptions)
-
retrieveHistoricalPrices
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
List<AlloyRetrieveHistoricalPricesResponse> retrieveHistoricalPrices(String alloyId, AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
List<AlloyRetrieveHistoricalPricesResponse> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params)
-
retrieveHistoricalPrices
abstract List<AlloyRetrieveHistoricalPricesResponse> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
-
-
-