yahoo-prices-0.1.0.2: A wrapper around Yahoo API for downloading market data.
Safe HaskellNone
LanguageHaskell2010

Web.Data.Yahoo.Response

Description

A set of data types corresponding to records returned from Yahoo API. Note that this is a subject to modifications whenever the remote API changes on Yahoo side.

Synopsis

Documentation

data PriceResponse Source #

A type representing market price data returned by Yahoo.

Constructors

PriceResponse 

tryParse :: FromNamedRecord a => ByteString -> Either String [a] Source #

An auxiliary function that attempts to parse a string provided and interpret it as a CSV set of values of type a.

tryParseAsPrice :: ByteString -> Either String [PriceResponse] Source #

A specialized version of tryParse dedicated to parsing PriceResponse records

Orphan instances

FromField Day Source # 
Instance details

Methods

parseField :: Field -> Parser Day #