Class AlloyServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.v2.marketdata.AlloyService
public final class AlloyServiceImpl implements AlloyService
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 classAlloyServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description AlloyService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. AlloyServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. AlloyListResponselist(AlloyListParams params, RequestOptions requestOptions)AlloyRetrieveCurrentPriceResponseretrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)List<AlloyRetrieveHistoricalPricesResponse>retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.blocking.v2.marketdata.AlloyService
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
AlloyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
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(AlloyListParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
AlloyRetrieveCurrentPriceResponse retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
List<AlloyRetrieveHistoricalPricesResponse> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
-
-
-