final case class LatestPriceDataEndpoint(tickers: List[String] = List.empty, resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[LatestPriceData]]) extends IexEndpoint[List[LatestPriceData]] with Product with Serializable
Represents the latest price data endpoint.
- tickers
The list of tickers.
- resampleFreq
The resample frequency.
- restClient
The REST client.
- um
The unmarshaller.
- Alphabetic
- By Inheritance
- LatestPriceDataEndpoint
- Serializable
- Serializable
- Product
- Equals
- IexEndpoint
- MetaEndpoint
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LatestPriceDataEndpoint(tickers: List[String] = List.empty, resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[LatestPriceData]])
- tickers
The list of tickers.
- resampleFreq
The resample frequency.
- restClient
The REST client.
- um
The unmarshaller.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
endpoint: Uri
Endpoint of the API.
-
val
endpointPath: Path
- Definition Classes
- IexEndpoint → MetaEndpoint
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
fetch: Future[List[LatestPriceData]]
Fetches the data from the endpoint.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
query: Query
- Definition Classes
- LatestPriceDataEndpoint → MetaEndpoint
- val resampleFreq: Option[String]
-
val
restClient: RestClient
- Definition Classes
- LatestPriceDataEndpoint → MetaEndpoint
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tickers: List[String]
-
implicit
val
um: Unmarshaller[ResponseEntity, List[LatestPriceData]]
- Definition Classes
- LatestPriceDataEndpoint → MetaEndpoint
-
def
validateDateFormat(date: String): Validated[InvalidDateFormat, String]
Validates a date.
Validates a date.
- date
The date to validate.
- returns
A cats Validated of type app.cloud7.tiingo.exceptions.EndpointException.InvalidDateFormat or string.
- Attributes
- protected
- Definition Classes
- MetaEndpoint
-
def
validateDateRange(startDate: String, endDate: String): Validated[InvalidDateRange, (String, String)]
Validates a date range.
Validates a date range.
- startDate
The start date.
- endDate
The end date.
- returns
A cats Validated of type app.cloud7.tiingo.exceptions.EndpointException.InvalidDateRange or a tuple of strings.
- Definition Classes
- MetaEndpoint
-
def
validateResampleFreq(resampleFreq: String): Validated[EndpointException, String]
Validates the resample frequency.
Validates the resample frequency.
- resampleFreq
The resample frequency.
- returns
A cats Validated of an endpoint exception or a string.
- Definition Classes
- IexEndpoint
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated