Packages

c

app.cloud7.tiingo.api.IexApi

HistoricalPriceDataEndpoint

final case class HistoricalPriceDataEndpoint(ticker: String, resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[HistoricalPriceData]]) extends IexEndpoint[List[HistoricalPriceData]] with Product with Serializable

Represents the historical price data endpoint.

ticker

The ticker.

resampleFreq

The resample frequency.

restClient

The REST client.

um

The unmarshaller.

Linear Supertypes
Serializable, Serializable, Product, Equals, IexEndpoint[List[HistoricalPriceData]], MetaEndpoint[List[HistoricalPriceData]], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HistoricalPriceDataEndpoint
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. IexEndpoint
  7. MetaEndpoint
  8. Logging
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HistoricalPriceDataEndpoint(ticker: String, resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[HistoricalPriceData]])

    ticker

    The ticker.

    resampleFreq

    The resample frequency.

    restClient

    The REST client.

    um

    The unmarshaller.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def endpoint: Uri

    Endpoint of the API.

    Endpoint of the API.

    returns

    A Akka HTTP Uri.

    Attributes
    protected
    Definition Classes
    MetaEndpoint
  7. val endpointPath: Path
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def fetch: Future[List[HistoricalPriceData]]

    Fetches the data from the endpoint.

    Fetches the data from the endpoint.

    returns

    A future of type T.

    Definition Classes
    MetaEndpoint
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val query: Query
  17. val resampleFreq: Option[String]
  18. val restClient: RestClient
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. val ticker: String
  21. implicit val um: Unmarshaller[ResponseEntity, List[HistoricalPriceData]]
  22. 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
  23. 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
  24. 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
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IexEndpoint[List[HistoricalPriceData]]

Inherited from MetaEndpoint[List[HistoricalPriceData]]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped