Popularity
1.9
Declining
Activity
0.0
Stable
19
2
12

Programming language: Scala
License: MIT License
Tags: Misc    
Latest version: v0.3

YahooFinanceScala alternatives and similar packages

Based on the "Misc" category.
Alternatively, view YahooFinanceScala alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of YahooFinanceScala or a related project?

Add another 'Misc' Package

README

YahooFinanceScala

A non-blocking Yahoo Finance Scala client based on Akka streams.

Twitter Follow Build Status Join the chat at https://gitter.im/openquant/algotrading

Add YahooFinanceScala to your build.sbt file

libraryDependencies ++= Seq(
 "com.larroy.openquant" %% "yahoofinancescala" % "0.3"
)

Check it out in Central

Usage

$ sbt console

import scala.concurrent.duration.Duration
import openquant.yahoofinance.{YahooFinance, Quote, Fundamentals}
import akka.actor.ActorSystem
import java.time.ZonedDateTime
import scala.concurrent.Await

implicit val system = ActorSystem()

val yahooFinance = new YahooFinance()
val quotes: IndexedSeq[Quote] = Await.result(yahooFinance.quotes("MSFT", Some(ZonedDateTime.now().minusDays(5))), Duration.Inf)
// Quote(2016-04-01T00:00-04:00[America/New_York],55.049999,55.57,55.610001,54.57,24298600,55.57)
val fundamentals: IndexedSeq[Fundamentals] = Await.result(yahooFinance.fundamentals("IBM"), Duration.Inf)
// fundamentals: IndexedSeq[openquant.yahoofinance.Fundamentals] = Vector(Fundamentals(true,IBM,International Business Machines))