Safe Haskell | None |
---|
Penny.Lincoln.Bits
Contents
Description
Essential data types used to make Transactions and Postings.
- module Penny.Lincoln.Bits.Open
- module Penny.Lincoln.Bits.DateTime
- module Penny.Lincoln.Bits.Price
- module Penny.Lincoln.Bits.Qty
- data PricePoint = PricePoint {}
- data TopLineCore = TopLineCore {}
- emptyTopLineCore :: DateTime -> TopLineCore
- data TopLineFileMeta = TopLineFileMeta {}
- data TopLineData = TopLineData {}
- emptyTopLineData :: DateTime -> TopLineData
- data PostingCore = PostingCore {}
- emptyPostingCore :: Account -> PostingCore
- data PostingFileMeta = PostingFileMeta {}
- data PostingData = PostingData {}
- emptyPostingData :: Account -> PostingData
Documentation
module Penny.Lincoln.Bits.Open
module Penny.Lincoln.Bits.DateTime
module Penny.Lincoln.Bits.Price
module Penny.Lincoln.Bits.Qty
data PricePoint Source
Constructors
PricePoint | |
Instances
Eq PricePoint | |
Show PricePoint | |
Equivalent PricePoint | PricePoint are equivalent if the dateTime and the Price are equivalent. Other elements of the PricePoint are ignored. |
Aggregates
data TopLineCore Source
Every TopLine has this data.
Constructors
TopLineCore | |
Instances
Eq TopLineCore | |
Show TopLineCore | |
Equivalent TopLineCore | TopLineCore are equivalent if their dates are equivalent and if everything else is equal. |
data TopLineFileMeta Source
TopLines from files have this metadata.
Constructors
TopLineFileMeta | |
Fields |
Instances
data TopLineData Source
All the data that a TopLine might have.
Constructors
TopLineData | |
Fields |
Instances
data PostingCore Source
All Postings have this data.
Constructors
PostingCore | |
Instances
Eq PostingCore | |
Show PostingCore | |
Equivalent PostingCore | Two PostingCore are equivalent if the Tags are equivalent and the other data is equal, exlucing the Side and the SpaceBetween, which are not considered at all. |
data PostingFileMeta Source
Postings from files have this additional data.
Constructors
PostingFileMeta | |
Fields |
Instances
data PostingData Source
All the data that a Posting might have.
Constructors
PostingData | |
Fields |
Instances