stocks-0.2.0.0: Library for the IEX Trading API

Safe HaskellNone
LanguageHaskell2010

Net.IEX.Stats

Documentation

data Stats Source #

Instances

Eq Stats Source # 

Methods

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

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

Show Stats Source # 

Methods

showsPrec :: Int -> Stats -> ShowS #

show :: Stats -> String #

showList :: [Stats] -> ShowS #

Generic Stats Source # 

Associated Types

type Rep Stats :: * -> * #

Methods

from :: Stats -> Rep Stats x #

to :: Rep Stats x -> Stats #

ToJSON Stats Source # 
FromJSON Stats Source # 
type Rep Stats Source # 
type Rep Stats = D1 * (MetaData "Stats" "Net.IEX.Stats" "stocks-0.2.0.0-CF9kEcEaEvMJaRKCxVkScD" False) (C1 * (MetaCons "Stats" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "companyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) ((:*:) * (S1 * (MetaSel (Just Symbol "marketcap") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "beta") 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 "week52change") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "shortInterest") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "shortDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "dividendRate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))) ((:*:) * (S1 * (MetaSel (Just Symbol "dividendYield") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "exDividendDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "latestEPS") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "latestEPSDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) ((:*:) * (S1 * (MetaSel (Just Symbol "sharesOutstanding") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "float") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)))) ((:*:) * (S1 * (MetaSel (Just Symbol "returnOnEquity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "consensusEPS") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "numberOfEstimates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "epsSurpriseDollar") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "epsSurprisePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "symbol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "ebitda") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "revenue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "grossProfit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) (S1 * (MetaSel (Just Symbol "cash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))))))) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "debt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "ttmEPS") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "revenuePerShare") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)))) ((:*:) * (S1 * (MetaSel (Just Symbol "revenuePerEmployee") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "peRatioHigh") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "peRatioLow") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "returnOnAssets") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "returnOnCapital") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) (S1 * (MetaSel (Just Symbol "profitMargin") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))) ((:*:) * (S1 * (MetaSel (Just Symbol "priceToSales") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "priceToBook") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "day200MovingAvg") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "day50MovingAvg") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "institutionPercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "insiderPercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))))) ((:*:) * (S1 * (MetaSel (Just Symbol "shortRatio") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "year5ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "year2ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "year1ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) ((:*:) * (S1 * (MetaSel (Just Symbol "ytdChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "month6ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "month3ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "month1ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double))) ((:*:) * (S1 * (MetaSel (Just Symbol "day5ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)) (S1 * (MetaSel (Just Symbol "day30ChangePercent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Double)))))))))