haskell-bitmex-rest-0.1.0.0: Auto-generated bitmex API Client

Safe HaskellNone
LanguageHaskell2010

BitMEX.Model

Contents

Description

 
Synopsis

Models

APIKey

data APIKey Source #

APIKey Persistent API Keys for Developers

Constructors

APIKey 

Fields

Instances
Eq APIKey Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show APIKey Source # 
Instance details

Defined in BitMEX.Model

ToJSON APIKey Source #

ToJSON APIKey

Instance details

Defined in BitMEX.Model

FromJSON APIKey Source #

FromJSON APIKey

Instance details

Defined in BitMEX.Model

mkAPIKey Source #

Construct a value of type APIKey (by applying it's required fields, if any)

AccessToken

data AccessToken Source #

AccessToken

Constructors

AccessToken 

Fields

Instances
Eq AccessToken Source # 
Instance details

Defined in BitMEX.Model

Show AccessToken Source # 
Instance details

Defined in BitMEX.Model

ToJSON AccessToken Source #

ToJSON AccessToken

Instance details

Defined in BitMEX.Model

FromJSON AccessToken Source #

FromJSON AccessToken

Instance details

Defined in BitMEX.Model

mkAccessToken Source #

Construct a value of type AccessToken (by applying it's required fields, if any)

Affiliate

data Affiliate Source #

Affiliate

Constructors

Affiliate 

Fields

Instances
Eq Affiliate Source # 
Instance details

Defined in BitMEX.Model

Show Affiliate Source # 
Instance details

Defined in BitMEX.Model

ToJSON Affiliate Source #

ToJSON Affiliate

Instance details

Defined in BitMEX.Model

FromJSON Affiliate Source #

FromJSON Affiliate

Instance details

Defined in BitMEX.Model

mkAffiliate Source #

Construct a value of type Affiliate (by applying it's required fields, if any)

Announcement

data Announcement Source #

Announcement Public Announcements

Constructors

Announcement 
Instances
Eq Announcement Source # 
Instance details

Defined in BitMEX.Model

Show Announcement Source # 
Instance details

Defined in BitMEX.Model

ToJSON Announcement Source #

ToJSON Announcement

Instance details

Defined in BitMEX.Model

FromJSON Announcement Source #

FromJSON Announcement

Instance details

Defined in BitMEX.Model

mkAnnouncement Source #

Construct a value of type Announcement (by applying it's required fields, if any)

Chat

data Chat Source #

Chat Trollbox Data

Constructors

Chat 

Fields

Instances
Eq Chat Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Chat Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Chat -> ShowS #

show :: Chat -> String #

showList :: [Chat] -> ShowS #

ToJSON Chat Source #

ToJSON Chat

Instance details

Defined in BitMEX.Model

FromJSON Chat Source #

FromJSON Chat

Instance details

Defined in BitMEX.Model

mkChat Source #

Construct a value of type Chat (by applying it's required fields, if any)

ChatChannels

data ChatChannels Source #

ChatChannels

Constructors

ChatChannels 

Fields

Instances
Eq ChatChannels Source # 
Instance details

Defined in BitMEX.Model

Show ChatChannels Source # 
Instance details

Defined in BitMEX.Model

ToJSON ChatChannels Source #

ToJSON ChatChannels

Instance details

Defined in BitMEX.Model

FromJSON ChatChannels Source #

FromJSON ChatChannels

Instance details

Defined in BitMEX.Model

mkChatChannels Source #

Construct a value of type ChatChannels (by applying it's required fields, if any)

ConnectedUsers

data ConnectedUsers Source #

ConnectedUsers

Constructors

ConnectedUsers 

mkConnectedUsers :: ConnectedUsers Source #

Construct a value of type ConnectedUsers (by applying it's required fields, if any)

Error

data Error Source #

Error

Constructors

Error 

Fields

Instances
Eq Error Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Error Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

ToJSON Error Source #

ToJSON Error

Instance details

Defined in BitMEX.Model

FromJSON Error Source #

FromJSON Error

Instance details

Defined in BitMEX.Model

mkError Source #

Arguments

:: ErrorError

errorError

-> Error 

Construct a value of type Error (by applying it's required fields, if any)

ErrorError

data ErrorError Source #

ErrorError

Constructors

ErrorError 

Fields

Instances
Eq ErrorError Source # 
Instance details

Defined in BitMEX.Model

Show ErrorError Source # 
Instance details

Defined in BitMEX.Model

ToJSON ErrorError Source #

ToJSON ErrorError

Instance details

Defined in BitMEX.Model

FromJSON ErrorError Source #

FromJSON ErrorError

Instance details

Defined in BitMEX.Model

mkErrorError :: ErrorError Source #

Construct a value of type ErrorError (by applying it's required fields, if any)

Execution

data Execution Source #

Execution Raw Order and Balance Data

Constructors

Execution 

Fields

Instances
Eq Execution Source # 
Instance details

Defined in BitMEX.Model

Show Execution Source # 
Instance details

Defined in BitMEX.Model

ToJSON Execution Source #

ToJSON Execution

Instance details

Defined in BitMEX.Model

FromJSON Execution Source #

FromJSON Execution

Instance details

Defined in BitMEX.Model

mkExecution Source #

Construct a value of type Execution (by applying it's required fields, if any)

Funding

data Funding Source #

Funding Swap Funding History

Constructors

Funding 

Fields

Instances
Eq Funding Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Funding Source # 
Instance details

Defined in BitMEX.Model

ToJSON Funding Source #

ToJSON Funding

Instance details

Defined in BitMEX.Model

FromJSON Funding Source #

FromJSON Funding

Instance details

Defined in BitMEX.Model

mkFunding Source #

Construct a value of type Funding (by applying it's required fields, if any)

IndexComposite

mkIndexComposite Source #

Construct a value of type IndexComposite (by applying it's required fields, if any)

InlineResponse200

mkInlineResponse200 :: InlineResponse200 Source #

Construct a value of type InlineResponse200 (by applying it's required fields, if any)

Instrument

data Instrument Source #

Instrument Tradeable Contracts, Indices, and History

Constructors

Instrument 

Fields

Instances
Eq Instrument Source # 
Instance details

Defined in BitMEX.Model

Show Instrument Source # 
Instance details

Defined in BitMEX.Model

ToJSON Instrument Source #

ToJSON Instrument

Instance details

Defined in BitMEX.Model

FromJSON Instrument Source #

FromJSON Instrument

Instance details

Defined in BitMEX.Model

mkInstrument Source #

Construct a value of type Instrument (by applying it's required fields, if any)

InstrumentInterval

mkInstrumentInterval Source #

Construct a value of type InstrumentInterval (by applying it's required fields, if any)

Insurance

data Insurance Source #

Insurance Insurance Fund Data

Constructors

Insurance 

Fields

Instances
Eq Insurance Source # 
Instance details

Defined in BitMEX.Model

Show Insurance Source # 
Instance details

Defined in BitMEX.Model

ToJSON Insurance Source #

ToJSON Insurance

Instance details

Defined in BitMEX.Model

FromJSON Insurance Source #

FromJSON Insurance

Instance details

Defined in BitMEX.Model

mkInsurance Source #

Construct a value of type Insurance (by applying it's required fields, if any)

Leaderboard

data Leaderboard Source #

Leaderboard Information on Top Users

Constructors

Leaderboard 

Fields

Instances
Eq Leaderboard Source # 
Instance details

Defined in BitMEX.Model

Show Leaderboard Source # 
Instance details

Defined in BitMEX.Model

ToJSON Leaderboard Source #

ToJSON Leaderboard

Instance details

Defined in BitMEX.Model

FromJSON Leaderboard Source #

FromJSON Leaderboard

Instance details

Defined in BitMEX.Model

mkLeaderboard Source #

Construct a value of type Leaderboard (by applying it's required fields, if any)

Liquidation

data Liquidation Source #

Liquidation Active Liquidations

Constructors

Liquidation 

Fields

Instances
Eq Liquidation Source # 
Instance details

Defined in BitMEX.Model

Show Liquidation Source # 
Instance details

Defined in BitMEX.Model

ToJSON Liquidation Source #

ToJSON Liquidation

Instance details

Defined in BitMEX.Model

FromJSON Liquidation Source #

FromJSON Liquidation

Instance details

Defined in BitMEX.Model

mkLiquidation Source #

Construct a value of type Liquidation (by applying it's required fields, if any)

Margin

data Margin Source #

Margin

Constructors

Margin 

Fields

Instances
Eq Margin Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Margin Source # 
Instance details

Defined in BitMEX.Model

ToJSON Margin Source #

ToJSON Margin

Instance details

Defined in BitMEX.Model

FromJSON Margin Source #

FromJSON Margin

Instance details

Defined in BitMEX.Model

mkMargin Source #

Construct a value of type Margin (by applying it's required fields, if any)

Notification

data Notification Source #

Notification Account Notifications

Constructors

Notification 

Fields

Instances
Eq Notification Source # 
Instance details

Defined in BitMEX.Model

Show Notification Source # 
Instance details

Defined in BitMEX.Model

ToJSON Notification Source #

ToJSON Notification

Instance details

Defined in BitMEX.Model

FromJSON Notification Source #

FromJSON Notification

Instance details

Defined in BitMEX.Model

mkNotification Source #

Construct a value of type Notification (by applying it's required fields, if any)

Order

data Order Source #

Order Placement, Cancellation, Amending, and History

Constructors

Order 

Fields

Instances
Eq Order Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Order Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Order -> ShowS #

show :: Order -> String #

showList :: [Order] -> ShowS #

ToJSON Order Source #

ToJSON Order

Instance details

Defined in BitMEX.Model

FromJSON Order Source #

FromJSON Order

Instance details

Defined in BitMEX.Model

mkOrder Source #

Arguments

:: Text

orderOrderId

-> Order 

Construct a value of type Order (by applying it's required fields, if any)

OrderBook

data OrderBook Source #

OrderBook Level 2 Book Data

Constructors

OrderBook 

Fields

Instances
Eq OrderBook Source # 
Instance details

Defined in BitMEX.Model

Show OrderBook Source # 
Instance details

Defined in BitMEX.Model

ToJSON OrderBook Source #

ToJSON OrderBook

Instance details

Defined in BitMEX.Model

FromJSON OrderBook Source #

FromJSON OrderBook

Instance details

Defined in BitMEX.Model

mkOrderBook Source #

Construct a value of type OrderBook (by applying it's required fields, if any)

OrderBookL2

data OrderBookL2 Source #

OrderBookL2

Constructors

OrderBookL2 

Fields

Instances
Eq OrderBookL2 Source # 
Instance details

Defined in BitMEX.Model

Show OrderBookL2 Source # 
Instance details

Defined in BitMEX.Model

ToJSON OrderBookL2 Source #

ToJSON OrderBookL2

Instance details

Defined in BitMEX.Model

FromJSON OrderBookL2 Source #

FromJSON OrderBookL2

Instance details

Defined in BitMEX.Model

mkOrderBookL2 Source #

Construct a value of type OrderBookL2 (by applying it's required fields, if any)

Position

data Position Source #

Position Summary of Open and Closed Positions

Constructors

Position 

Fields

Instances
Eq Position Source # 
Instance details

Defined in BitMEX.Model

Show Position Source # 
Instance details

Defined in BitMEX.Model

ToJSON Position Source #

ToJSON Position

Instance details

Defined in BitMEX.Model

FromJSON Position Source #

FromJSON Position

Instance details

Defined in BitMEX.Model

mkPosition Source #

Construct a value of type Position (by applying it's required fields, if any)

Quote

data Quote Source #

Quote Best Bid/Offer Snapshots & Historical Bins

Constructors

Quote 

Fields

Instances
Eq Quote Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Quote Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Quote -> ShowS #

show :: Quote -> String #

showList :: [Quote] -> ShowS #

ToJSON Quote Source #

ToJSON Quote

Instance details

Defined in BitMEX.Model

FromJSON Quote Source #

FromJSON Quote

Instance details

Defined in BitMEX.Model

mkQuote Source #

Construct a value of type Quote (by applying it's required fields, if any)

Settlement

data Settlement Source #

Settlement Historical Settlement Data

Constructors

Settlement 

Fields

Instances
Eq Settlement Source # 
Instance details

Defined in BitMEX.Model

Show Settlement Source # 
Instance details

Defined in BitMEX.Model

ToJSON Settlement Source #

ToJSON Settlement

Instance details

Defined in BitMEX.Model

FromJSON Settlement Source #

FromJSON Settlement

Instance details

Defined in BitMEX.Model

mkSettlement Source #

Construct a value of type Settlement (by applying it's required fields, if any)

Stats

data Stats Source #

Stats Exchange Statistics

Constructors

Stats 

Fields

Instances
Eq Stats Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Stats Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Stats -> ShowS #

show :: Stats -> String #

showList :: [Stats] -> ShowS #

ToJSON Stats Source #

ToJSON Stats

Instance details

Defined in BitMEX.Model

FromJSON Stats Source #

FromJSON Stats

Instance details

Defined in BitMEX.Model

mkStats Source #

Arguments

:: Text

statsRootSymbol

-> Stats 

Construct a value of type Stats (by applying it's required fields, if any)

StatsHistory

data StatsHistory Source #

StatsHistory

Constructors

StatsHistory 

Fields

Instances
Eq StatsHistory Source # 
Instance details

Defined in BitMEX.Model

Show StatsHistory Source # 
Instance details

Defined in BitMEX.Model

ToJSON StatsHistory Source #

ToJSON StatsHistory

Instance details

Defined in BitMEX.Model

FromJSON StatsHistory Source #

FromJSON StatsHistory

Instance details

Defined in BitMEX.Model

mkStatsHistory Source #

Construct a value of type StatsHistory (by applying it's required fields, if any)

StatsUSD

data StatsUSD Source #

StatsUSD

Constructors

StatsUSD 

Fields

Instances
Eq StatsUSD Source # 
Instance details

Defined in BitMEX.Model

Show StatsUSD Source # 
Instance details

Defined in BitMEX.Model

ToJSON StatsUSD Source #

ToJSON StatsUSD

Instance details

Defined in BitMEX.Model

FromJSON StatsUSD Source #

FromJSON StatsUSD

Instance details

Defined in BitMEX.Model

mkStatsUSD Source #

Construct a value of type StatsUSD (by applying it's required fields, if any)

Trade

data Trade Source #

Trade Individual & Bucketed Trades

Constructors

Trade 

Fields

Instances
Eq Trade Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Trade Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> Trade -> ShowS #

show :: Trade -> String #

showList :: [Trade] -> ShowS #

ToJSON Trade Source #

ToJSON Trade

Instance details

Defined in BitMEX.Model

FromJSON Trade Source #

FromJSON Trade

Instance details

Defined in BitMEX.Model

mkTrade Source #

Construct a value of type Trade (by applying it's required fields, if any)

TradeBin

data TradeBin Source #

TradeBin

Constructors

TradeBin 

Fields

Instances
Eq TradeBin Source # 
Instance details

Defined in BitMEX.Model

Show TradeBin Source # 
Instance details

Defined in BitMEX.Model

ToJSON TradeBin Source #

ToJSON TradeBin

Instance details

Defined in BitMEX.Model

FromJSON TradeBin Source #

FromJSON TradeBin

Instance details

Defined in BitMEX.Model

mkTradeBin Source #

Construct a value of type TradeBin (by applying it's required fields, if any)

Transaction

data Transaction Source #

Transaction

Constructors

Transaction 
Instances
Eq Transaction Source # 
Instance details

Defined in BitMEX.Model

Show Transaction Source # 
Instance details

Defined in BitMEX.Model

ToJSON Transaction Source #

ToJSON Transaction

Instance details

Defined in BitMEX.Model

FromJSON Transaction Source #

FromJSON Transaction

Instance details

Defined in BitMEX.Model

mkTransaction Source #

Construct a value of type Transaction (by applying it's required fields, if any)

User

data User Source #

User Account Operations

Constructors

User 

Fields

Instances
Eq User Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show User Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

ToJSON User Source #

ToJSON User

Instance details

Defined in BitMEX.Model

FromJSON User Source #

FromJSON User

Instance details

Defined in BitMEX.Model

mkUser Source #

Arguments

:: Text

userUsername

-> Text

userEmail

-> User 

Construct a value of type User (by applying it's required fields, if any)

UserCommission

mkUserCommission :: UserCommission Source #

Construct a value of type UserCommission (by applying it's required fields, if any)

UserPreferences

data UserPreferences Source #

UserPreferences

Constructors

UserPreferences 

Fields

mkUserPreferences :: UserPreferences Source #

Construct a value of type UserPreferences (by applying it's required fields, if any)

Wallet

data Wallet Source #

Wallet

Constructors

Wallet 

Fields

Instances
Eq Wallet Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show Wallet Source # 
Instance details

Defined in BitMEX.Model

ToJSON Wallet Source #

ToJSON Wallet

Instance details

Defined in BitMEX.Model

FromJSON Wallet Source #

FromJSON Wallet

Instance details

Defined in BitMEX.Model

mkWallet Source #

Construct a value of type Wallet (by applying it's required fields, if any)

XAny

data XAny Source #

XAny

Constructors

XAny 
Instances
Eq XAny Source # 
Instance details

Defined in BitMEX.Model

Methods

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

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

Show XAny Source # 
Instance details

Defined in BitMEX.Model

Methods

showsPrec :: Int -> XAny -> ShowS #

show :: XAny -> String #

showList :: [XAny] -> ShowS #

ToJSON XAny Source #

ToJSON XAny

Instance details

Defined in BitMEX.Model

FromJSON XAny Source #

FromJSON XAny

Instance details

Defined in BitMEX.Model

mkXAny :: XAny Source #

Construct a value of type XAny (by applying it's required fields, if any)

Enums

E'Type

data E'Type Source #

Enum of Text

Constructors

E'Type'Success
"success"
E'Type'Error
"error"
E'Type'Info
"info"
Instances
Bounded E'Type Source # 
Instance details

Defined in BitMEX.Model

Enum E'Type Source # 
Instance details

Defined in BitMEX.Model

Eq E'Type Source # 
Instance details

Defined in BitMEX.Model

Methods

(==) :: E'Type -> E'Type -> Bool #

(/=) :: E'Type -> E'Type -> Bool #

Ord E'Type Source # 
Instance details

Defined in BitMEX.Model

Show E'Type Source # 
Instance details

Defined in BitMEX.Model

ToJSON E'Type Source # 
Instance details

Defined in BitMEX.Model

FromJSON E'Type Source # 
Instance details

Defined in BitMEX.Model

ToHttpApiData E'Type Source # 
Instance details

Defined in BitMEX.Model

FromHttpApiData E'Type Source # 
Instance details

Defined in BitMEX.Model

MimeRender MimeMultipartFormData E'Type Source # 
Instance details

Defined in BitMEX.Model

fromE'Type :: E'Type -> Text Source #

unwrap E'Type enum