haskell-bitmex-client-0.1.0.1: Complete BitMEX Client

Safe HaskellNone
LanguageHaskell2010

BitMEXClient.WebSockets.Types.Request

Documentation

data Command Source #

Instances
Eq Command Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Show Command Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Generic Command Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Associated Types

type Rep Command :: * -> * #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ToJSON Command Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep Command Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep Command = D1 (MetaData "Command" "BitMEXClient.WebSockets.Types.Request" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) ((C1 (MetaCons "Subscribe" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Unsubscribe" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Ping" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CancelAllAfter" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AuthKey" PrefixI False) (U1 :: * -> *))))

data Topic a Source #

Instances
Eq (Topic a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Methods

(==) :: Topic a -> Topic a -> Bool #

(/=) :: Topic a -> Topic a -> Bool #

Show (Topic a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Methods

showsPrec :: Int -> Topic a -> ShowS #

show :: Topic a -> String #

showList :: [Topic a] -> ShowS #

Generic (Topic a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Associated Types

type Rep (Topic a) :: * -> * #

Methods

from :: Topic a -> Rep (Topic a) x #

to :: Rep (Topic a) x -> Topic a #

ToJSON a => ToJSON (Topic a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep (Topic a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep (Topic a) = D1 (MetaData "Topic" "BitMEXClient.WebSockets.Types.Request" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) ((((C1 (MetaCons "Announcement" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Chat" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Connected" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Funding" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Instrument" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Insurance" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Liquidation" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "OrderBookL2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: (C1 (MetaCons "OrderBook10" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "PublicNotifications" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Quote" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "QuoteBin1m" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol))) :+: (C1 (MetaCons "QuoteBin5m" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "QuoteBin1h" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)))))) :+: (((C1 (MetaCons "QuoteBin1d" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: (C1 (MetaCons "Settlement" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Trade" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)))) :+: ((C1 (MetaCons "TradeBin1m" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "TradeBin5m" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol))) :+: (C1 (MetaCons "TradeBin1h" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "TradeBin1d" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol))))) :+: (((C1 (MetaCons "Affiliate" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Execution" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Order" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Margin" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Position" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "PrivateNotifications" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Transact" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Wallet" PrefixI False) (U1 :: * -> *))))))

data Message a Source #

Constructors

Message 

Fields

Instances
Eq a => Eq (Message a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Methods

(==) :: Message a -> Message a -> Bool #

(/=) :: Message a -> Message a -> Bool #

Show a => Show (Message a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Methods

showsPrec :: Int -> Message a -> ShowS #

show :: Message a -> String #

showList :: [Message a] -> ShowS #

Generic (Message a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

Associated Types

type Rep (Message a) :: * -> * #

Methods

from :: Message a -> Rep (Message a) x #

to :: Rep (Message a) x -> Message a #

ToJSON a => ToJSON (Message a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep (Message a) Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.Request

type Rep (Message a) = D1 (MetaData "Message" "BitMEXClient.WebSockets.Types.Request" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (C1 (MetaCons "Message" PrefixI True) (S1 (MetaSel (Just "op") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Command) :*: S1 (MetaSel (Just "args") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Vector a))))