Safe Haskell | None |
---|
AlphaHeavy.FIX
- type Currency = String
- type DayOfMonth = Int
- type Decimal = DecimalRaw Integer
- newtype Enumeration n a = Enumeration a
- data Exchange
- data FIXException
- newtype Field n a = Field a
- class FieldTag a where
- type FieldTagRep a :: *
- toFieldTagRep :: a -> FieldTagRep a
- fromFieldTagRep :: FieldTagRep a -> Maybe a
- newtype Group n a = Group [a]
- type MarketLocalTime = Int
- newtype Message n dir a = Message a
- data MessageDirection
- type MonthYear = Int
- newtype Price = Price Decimal
- newtype Quantity = Quantity Decimal
- type UTCDate = Int
- type UTCTime = Int
- type UTCTimeStamp = UTCTime
Documentation
type DayOfMonth = Int
type Decimal = DecimalRaw Integer
Arbitrary precision decimal type. As a rule programs should do decimal arithmetic with this type and only convert to other instances of DecimalRaw where required by an external interface.
Using this type is also faster because it avoids repeated conversions
to and from Integer
.
newtype Enumeration n a
Constructors
Enumeration a |
Instances
Eq a => Eq (Enumeration n a) | |
Show a => Show (Enumeration n a) | |
Generic (Enumeration n a) |
data Exchange
Constructors
Exchange_NASDAQ | |
Exchange_NYSE | |
Exchange_SMART | |
Exchange_OTHER String |
data FIXException
class FieldTag a where
Associated Types
type FieldTagRep a :: *
Instances
type MarketLocalTime = Int
newtype Price
newtype Quantity
type UTCTimeStamp = UTCTime