Record Class EODTechnicalIndicatorRequest
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.requests.eod.EODTechnicalIndicatorRequest
- Record Components:
symbol- instrument ticker in EODHD formatfunction- provider indicator functionperiod- optional period parameterfrom- optional start dateto- optional end dateorder- optional sort orderfilter- optional provider filtersplitAdjustedOnly- optional split-adjusted-only flagadditionalParameters- optional provider-specific parameters
public record EODTechnicalIndicatorRequest(String symbol, EODTechnicalIndicatorFunction function, Integer period, LocalDate from, LocalDate to, String order, String filter, Boolean splitAdjustedOnly, Map<String,String> additionalParameters)
extends Record
Request parameters for technical indicator data.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODTechnicalIndicatorRequest(String symbol, EODTechnicalIndicatorFunction function, Integer period, LocalDate from, LocalDate to, String order, String filter, Boolean splitAdjustedOnly, Map<String, String> additionalParameters) Creates an instance of aEODTechnicalIndicatorRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalParametersrecord component.final booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.from()Returns the value of thefromrecord component.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.order()Returns the value of theorderrecord component.period()Returns the value of theperiodrecord component.Returns the value of thesplitAdjustedOnlyrecord component.symbol()Returns the value of thesymbolrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODTechnicalIndicatorRequest
public EODTechnicalIndicatorRequest(String symbol, EODTechnicalIndicatorFunction function, Integer period, LocalDate from, LocalDate to, String order, String filter, Boolean splitAdjustedOnly, Map<String, String> additionalParameters) Creates an instance of aEODTechnicalIndicatorRequestrecord class.- Parameters:
symbol- the value for thesymbolrecord componentfunction- the value for thefunctionrecord componentperiod- the value for theperiodrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentorder- the value for theorderrecord componentfilter- the value for thefilterrecord componentsplitAdjustedOnly- the value for thesplitAdjustedOnlyrecord componentadditionalParameters- the value for theadditionalParametersrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
symbol
-
function
-
period
-
from
-
to
-
order
-
filter
-
splitAdjustedOnly
Returns the value of thesplitAdjustedOnlyrecord component.- Returns:
- the value of the
splitAdjustedOnlyrecord component
-
additionalParameters
Returns the value of theadditionalParametersrecord component.- Returns:
- the value of the
additionalParametersrecord component
-