object IexApi
Companion object for the IexApi trait.
- Alphabetic
- By Inheritance
- IexApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
HistoricalPriceData(date: String, open: Double, high: Double, low: Double, close: Double, volume: Option[Int]) extends Product with Serializable
Represents historical price data for a ticker from the IEX endpoint.
Represents historical price data for a ticker from the IEX endpoint.
- date
the date of the data.
- open
the opening price.
- high
the highest price.
- low
the lowest price.
- close
the closing price.
-
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.
Represents the historical price data endpoint.
- ticker
The ticker.
- resampleFreq
The resample frequency.
- restClient
The REST client.
- um
The unmarshaller.
-
trait
IexEndpoint[T] extends MetaEndpoint[T]
Represents an endpoint of the IexApi.
Represents an endpoint of the IexApi.
- T
The type of the data returned by the endpoint.
-
final
case class
LatestPriceData(ticker: String, timestamp: String, quoteTimestamp: String, lastSaleTimestamp: String, last: Double, lastSize: Option[Int], tngoLast: Double, prevClose: Double, open: Double, high: Double, low: Double, mid: Double, volume: Int, bidSize: Option[Int], bidPrice: Double, askSize: Option[Int], askPrice: Double) extends Product with Serializable
Represents the latest price data for a ticker from the IEX endpoint.
Represents the latest price data for a ticker from the IEX endpoint.
- ticker
the ticker symbol.
- timestamp
the timestamp of the data.
- quoteTimestamp
the timestamp of the quote.
- lastSaleTimestamp
the timestamp of the last sale.
- last
the last sale price.
- lastSize
the size of the last sale.
- tngoLast
the last price from Tiingo.
- prevClose
the previous closing price.
- open
the opening price.
- high
the highest price.
- low
the lowest price.
- mid
the midpoint price.
- volume
the volume of trades.
- bidSize
the size of the bid.
- bidPrice
the bid price.
- askSize
the size of the ask.
- askPrice
the ask price.
-
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.
Represents the latest price data endpoint.
- 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
- def apply(config: ClientConfig)(implicit _system: ActorSystem, _ec: ExecutionContext): IexApi
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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