Safe HaskellSafe

Model

Description

 
Synopsis

Documentation

data NewTick Source #

Type for a new incoming tick

Constructors

NewTick 

Fields

Instances
Generic NewTick Source # 
Instance details

Defined in Model

Associated Types

type Rep NewTick :: * -> *

Methods

from :: NewTick -> Rep NewTick x

to :: Rep NewTick x -> NewTick

MessagePack NewTick Source # 
Instance details

Defined in Model

Methods

toObject :: NewTick -> Object

fromObject :: (Applicative m, Monad m) => Object -> m NewTick

type Rep NewTick Source # 
Instance details

Defined in Model

type Rep NewTick = D1 (MetaData "NewTick" "Model" "main" False) (C1 (MetaCons "NewTick" PrefixI True) ((S1 (MetaSel (Just "newOpen") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: S1 (MetaSel (Just "lastClose") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)) :*: (S1 (MetaSel (Just "lastHigh") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: (S1 (MetaSel (Just "lastLow") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: S1 (MetaSel (Just "lastVolume") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))))

data X Source #

x^t

Constructors

X 

Fields

Instances
Generic X Source # 
Instance details

Defined in Model

Associated Types

type Rep X :: * -> *

Methods

from :: X -> Rep X x

to :: Rep X x -> X

Default X Source # 
Instance details

Defined in Model

Methods

def :: X

type Rep X Source # 
Instance details

Defined in Model

type Rep X = D1 (MetaData "X" "Model" "main" False) (C1 (MetaCons "X" PrefixI True) (S1 (MetaSel (Just "lastpticks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [NewTick])))

data Y Source #

y^t

Constructors

Y 

Fields

data Prediction Source #

Prediction output: either Prediction y^t, or Ingested, which means the data point was aggregated, but no prediction was produced.

Constructors

Prediction 

Fields

Ingested 
Instances
Show Prediction Source # 
Instance details

Defined in Model

Methods

showsPrec :: Int -> Prediction -> ShowS

show :: Prediction -> String

showList :: [Prediction] -> ShowS

MessagePack Prediction Source # 
Instance details

Defined in Model

Methods

toObject :: Prediction -> Object

fromObject :: (Applicative m, Monad m) => Object -> m Prediction