haskell-bitmex-client-0.1.0.1: Complete BitMEX Client

Safe HaskellNone
LanguageHaskell2010

BitMEXClient.WebSockets.Types.General

Documentation

data Symbol Source #

Instances
Eq Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Methods

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

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

Show Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Generic Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep Symbol :: * -> * #

Methods

from :: Symbol -> Rep Symbol x #

to :: Rep Symbol x -> Symbol #

ToJSON Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Symbol Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Symbol = D1 (MetaData "Symbol" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (((C1 (MetaCons "XBTUSD" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XBTM18" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "XBTU18" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XBT7D_U110" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "ADAM18" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "BCHM18" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "ETHM18" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "LTCM18" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XRPM18" PrefixI False) (U1 :: * -> *)))))

data Currency Source #

Constructors

XBT 
XBt 
USD 
A50 
ADA 
BCH 
BFX 
BLOCKS 
BVOL 
COIN 
DAO 
DASH 
EOS 
ETC 
ETH 
FCT 
GNO 
LSK 
LTC 
NEO 
QTUM 
REP 
SEGWIT 
SNT 
WIN 
XBC 
XBJ 
XBU 
XLM 
XLT 
XMR 
XRP 
XTZ 
ZEC 
Total 
Instances
Eq Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Show Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Generic Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep Currency :: * -> * #

Methods

from :: Currency -> Rep Currency x #

to :: Rep Currency x -> Currency #

ToJSON Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Currency Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Currency = D1 (MetaData "Currency" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (((((C1 (MetaCons "XBT" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XBt" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "USD" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "A50" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "ADA" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "BCH" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "BFX" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "BLOCKS" PrefixI False) (U1 :: * -> *)))) :+: (((C1 (MetaCons "BVOL" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "COIN" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "DAO" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "DASH" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "EOS" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ETC" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "ETH" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "FCT" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "GNO" PrefixI False) (U1 :: * -> *)))))) :+: ((((C1 (MetaCons "LSK" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "LTC" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "NEO" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "QTUM" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "REP" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "SEGWIT" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "SNT" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "WIN" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XBC" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "XBJ" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XBU" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "XLM" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XLT" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "XMR" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XRP" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "XTZ" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "ZEC" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Total" PrefixI False) (U1 :: * -> *)))))))

data Side Source #

Constructors

Buy 
Sell 
Instances
Eq Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Methods

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

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

Show Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Methods

showsPrec :: Int -> Side -> ShowS #

show :: Side -> String #

showList :: [Side] -> ShowS #

Generic Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep Side :: * -> * #

Methods

from :: Side -> Rep Side x #

to :: Rep Side x -> Side #

ToJSON Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Side Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep Side = D1 (MetaData "Side" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (C1 (MetaCons "Buy" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Sell" PrefixI False) (U1 :: * -> *))

data OrderType Source #

Instances
Eq OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Show OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Generic OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep OrderType :: * -> * #

ToJSON OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep OrderType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep OrderType = D1 (MetaData "OrderType" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (((C1 (MetaCons "Market" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Limit" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Stop" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "StopLimit" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "MarketIfTouched" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "LimitIfTouched" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MarketWithLeftOverAsLimit" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Pegged" PrefixI False) (U1 :: * -> *))))

data ExecutionInstruction Source #

Instances
Eq ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Show ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Generic ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep ExecutionInstruction :: * -> * #

ToJSON ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep ExecutionInstruction Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep ExecutionInstruction = D1 (MetaData "ExecutionInstruction" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) (((C1 (MetaCons "ParticipateDoNotInitiate" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AllOrNone" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MarkPrice" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "IndexPrice" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "LastPrice" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Close" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "ReduceOnly" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Fixed" PrefixI False) (U1 :: * -> *))))

data ContingencyType Source #

Constructors

OCO

One Cancels the Other

OTO

One Triggers the Other

OUOA

One Updates the Other Absoulute

OUOP

One Updates the Other Proportional

Instances
Eq ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Show ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Generic ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

Associated Types

type Rep ContingencyType :: * -> * #

ToJSON ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

FromJSON ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep ContingencyType Source # 
Instance details

Defined in BitMEXClient.WebSockets.Types.General

type Rep ContingencyType = D1 (MetaData "ContingencyType" "BitMEXClient.WebSockets.Types.General" "haskell-bitmex-client-0.1.0.1-DoHeYvujHnqI9hv0pQkS8r" False) ((C1 (MetaCons "OCO" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OTO" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "OUOA" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OUOP" PrefixI False) (U1 :: * -> *)))