Safe Haskell | None |
---|
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
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.
Eq TopLineCore | |
Show TopLineCore | |
Equivalent TopLineCore | TopLineCore are equivalent if their dates are equivalent and if everything else is equal. |
data PostingCore Source
All Postings have this data.
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.