Safe Haskell | None |
---|
Data.FIX.Parser
Contents
- messageP :: FIXSpec -> ByteString -> Parser (FIXMessage FIXSpec)
- groupP :: FIXGroupSpec -> Parser FIXValue
- nextP :: Parser ByteString
- nextP' :: Parser ByteString
- toFIXInt :: Parser ByteString FIXValue
- toFIXChar :: Parser ByteString FIXValue
- toFIXString :: Parser ByteString FIXValue
- toFIXDouble :: Parser ByteString FIXValue
- toFIXBool :: Parser ByteString FIXValue
- toFIXMultipleValueString :: Parser ByteString FIXValue
- toFIXTimestamp :: Parser ByteString FIXValue
- toFIXTimeOnly :: Parser ByteString FIXValue
- toFIXData :: Parser ByteString FIXValue
- toFIXDateOnly :: Parser ByteString FIXValue
- toFIXMonthYear :: Parser ByteString FIXValue
- tBeginString :: FIXTag
- tCheckSum :: FIXTag
- tBodyLength :: FIXTag
- tMsgType :: FIXTag
Introduction
In order to get a Parser FIXMessage
FIXSpec
you can
import qualified Data.FIX.Parser as FIX ( nextP, messageP ) FIX.nextP >>= FIX.messageP
messageP :: FIXSpec -> ByteString -> Parser (FIXMessage FIXSpec)Source
Given the FIX specification deserialize the FIX message.
nextP :: Parser ByteStringSource
Match the next FIX message (only text) in the stream. The checksum is validated.
nextP' :: Parser ByteStringSource
Match the next FIX message (only text) in the stream. The checksum is NOT validated.