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 HaskellNone
LanguageHaskell2010

SimFin.Types.Prices

Description

 
Synopsis

Documentation

data PricesRow a Source #

Prices of a company over a single day.

Constructors

PricesRow 

Fields

Instances

Instances details
Functor PricesRow Source # 
Instance details

Defined in SimFin.Types.Prices

Methods

fmap :: (a -> b) -> PricesRow a -> PricesRow b #

(<$) :: a -> PricesRow b -> PricesRow a #

Show a => Show (PricesRow a) Source # 
Instance details

Defined in SimFin.Types.Prices

(Read a, RealFrac a) => FromJSON (PricesRow a) Source # 
Instance details

Defined in SimFin.Types.Prices

newtype PricesKeyed a Source #

Wrapper to parse a PricesRow record from SimFin's JSON format.

Constructors

PricesKeyed 

Fields

Instances

Instances details
(Read a, RealFrac a) => FromJSON (PricesKeyed a) Source # 
Instance details

Defined in SimFin.Types.Prices