stocks-0.2.0.0: Library for the IEX Trading API

Safe HaskellNone
LanguageHaskell2010

Net.IEX.Quote

Documentation

data Quote Source #

Instances

Eq Quote Source # 

Methods

(==) :: Quote -> Quote -> Bool #

(/=) :: Quote -> Quote -> Bool #

Show Quote Source # 

Methods

showsPrec :: Int -> Quote -> ShowS #

show :: Quote -> String #

showList :: [Quote] -> ShowS #

Generic Quote Source # 

Associated Types

type Rep Quote :: * -> * #

Methods

from :: Quote -> Rep Quote x #

to :: Rep Quote x -> Quote #

ToJSON Quote Source # 
FromJSON Quote Source # 
type Rep Quote Source # 
type Rep Quote = D1 * (MetaData "Quote" "Net.IEX.Quote" "stocks-0.2.0.0-CF9kEcEaEvMJaRKCxVkScD" False) (C1 * (MetaCons "Quote" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "symbol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "companyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) ((:*:) * (S1 * (MetaSel (Just Symbol "primaryExchange") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "sector") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "calculationPrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "open") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "openTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "close") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "closeTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "high") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "low") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "latestPrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "latestSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "latestTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "latestUpdate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "latestVolume") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "iexRealtimePrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "iexRealtimeSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer)))))))) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "iexLastUpdated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "delayedPrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "delayedPriceTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "previousClose") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "change") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "changePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "iexMarketPercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "iexVolume") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "avgTotalVolume") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "iexBidPrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "iexBidSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer)))) ((:*:) * (S1 * (MetaSel (Just Symbol "iexAskPrice") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "iexAskSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Integer))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "marketCap") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "peRatio") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "week52High") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "week52Low") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "ytdChange") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))))))))