simfin-1.0.0: A library to fetch and parse financial data from the SimFin(+) API.
Copyright(c) Owen Shepherd 2022
LicenseMIT
Maintainerowen@owen.cafe
Safe HaskellSafe-Inferred
LanguageHaskell2010

SimFin.Types.Industry

Description

 
Synopsis

Documentation

data Industry general bank insurance Source #

Distinguish between different industry-specific data.

Constructors

General general 
Bank bank 
Insurance insurance 

Instances

Instances details
FromJSON IndustryCashFlows Source # 
Instance details

Defined in SimFin.Types.CashFlow

FromJSON IndustryBalanceSheets Source # 
Instance details

Defined in SimFin.Types.BalanceSheet

FromJSON IndustryProfitsAndLosses Source # 
Instance details

Defined in SimFin.Types.ProfitAndLoss

(Show general, Show bank, Show insurance) => Show (Industry general bank insurance) Source # 
Instance details

Defined in SimFin.Types.Industry

Methods

showsPrec :: Int -> Industry general bank insurance -> ShowS #

show :: Industry general bank insurance -> String #

showList :: [Industry general bank insurance] -> ShowS #

mapIndustry :: (a -> a') -> (b -> b') -> (c -> c') -> Industry a b c -> Industry a' b' c' Source #

Map all discriminations of an Industry.

invertIndustries :: [Industry [a] [b] [c]] -> [Industry a b c] Source #

List of discriminations of lists to list of discriminations. Used to removing extra nesting from the statements API results.