Packages

c

app.cloud7.tiingo.api.EodApi

PriceDataEndpoint

final case class PriceDataEndpoint(ticker: String, startDate: Option[String], endDate: Option[String], resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[PriceData]]) extends EodEndpoint[List[PriceData]] with Product with Serializable

Represents the endpoint for the end of day price data for a ticker.

ticker

The ticker symbol.

startDate

The start date.

endDate

The end date.

resampleFreq

The resample frequency.

restClient

The REST client.

um

The unmarshaller.

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

Instance Constructors

  1. new PriceDataEndpoint(ticker: String, startDate: Option[String], endDate: Option[String], resampleFreq: Option[String], restClient: RestClient)(implicit um: Unmarshaller[ResponseEntity, List[PriceData]])

    ticker

    The ticker symbol.

    startDate

    The start date.

    endDate

    The end date.

    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. val endDate: Option[String]
  7. def endpoint: Uri

    Endpoint of the API.

    Endpoint of the API.

    returns

    A Akka HTTP Uri.

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

    Fetches the data from the endpoint.

    Fetches the data from the endpoint.

    returns

    A future of type T.

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

    Validates the resample frequency.

    Validates the resample frequency.

    resampleFreq

    The resample frequency.

    returns

    A cats Validated of or a string.

    Definition Classes
    EodEndpoint
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. 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 EodEndpoint[List[PriceData]]

Inherited from MetaEndpoint[List[PriceData]]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped