| Copyright | (c) James M.C. Haver II 2016 |
|---|---|
| License | BSD3 |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Yahoo.Finance.YQL
Contents
Description
This module contains methods for accessing the Yahoo Finance YQL APIs.
- getQuotes :: YQLQuery -> ClientM YQLResponse
- yahooFinanceJsonBaseUrl :: BaseUrl
- data YQLQuery = YQLQuery {
- yqlQuery :: [StockSymbol]
- newtype StockSymbol = StockSymbol {}
- data YQLResponse = YQLResponse {}
- data Quote = Quote {}
Fetch Stock Quotes
getQuotes :: YQLQuery -> ClientM YQLResponse #
General client API to access Yahoo financial data. Quotes are returned in the order they are queried.
yahooFinanceJsonBaseUrl :: BaseUrl #
BaseUrl for the Yahoo Finance YQL API. This represents
https://finance.yahoo.com.
Types
Query for yahoo finance api.
Constructors
| YQLQuery | |
Fields
| |
newtype StockSymbol #
Use this type to encode toUrlPiece or toText (depending on Servant
version) for queries.
Constructors
| StockSymbol | |
Fields | |
Instances
| Eq StockSymbol # | |
| Ord StockSymbol # | |
| Show StockSymbol # | |
| Generic StockSymbol # | |
| ToHttpApiData StockSymbol # | Surround
|
| ToHttpApiData [StockSymbol] # | Connect separate
|
| type Rep StockSymbol # | |
data YQLResponse #
Response from a YQL query.
Constructors
| YQLResponse | |
Fields
| |
Instances
Quote data received from YQL.
Constructors
| Quote | |
Fields
| |