Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Models
- APIKey
- AccessToken
- Affiliate
- Announcement
- Chat
- ChatChannels
- ConnectedUsers
- Error
- ErrorError
- Execution
- Funding
- IndexComposite
- InlineResponse200
- Instrument
- InstrumentInterval
- Insurance
- Leaderboard
- Liquidation
- Margin
- Notification
- Order
- OrderBook
- OrderBookL2
- Position
- Quote
- Settlement
- Stats
- StatsHistory
- StatsUSD
- Trade
- TradeBin
- Transaction
- User
- UserCommission
- UserPreferences
- Wallet
- XAny
- Enums
Synopsis
- data APIKey = APIKey {
- aPIKeyId :: !Text
- aPIKeySecret :: !Text
- aPIKeyName :: !Text
- aPIKeyNonce :: !Double
- aPIKeyCidr :: !(Maybe Text)
- aPIKeyPermissions :: !(Maybe [XAny])
- aPIKeyEnabled :: !(Maybe Bool)
- aPIKeyUserId :: !Double
- aPIKeyCreated :: !(Maybe DateTime)
- mkAPIKey :: Text -> Text -> Text -> Double -> Double -> APIKey
- data AccessToken = AccessToken {
- accessTokenId :: !Text
- accessTokenTtl :: !(Maybe Double)
- accessTokenCreated :: !(Maybe DateTime)
- accessTokenUserId :: !(Maybe Double)
- mkAccessToken :: Text -> AccessToken
- data Affiliate = Affiliate {
- affiliateAccount :: !Double
- affiliateCurrency :: !Text
- affiliatePrevPayout :: !(Maybe Double)
- affiliatePrevTurnover :: !(Maybe Double)
- affiliatePrevComm :: !(Maybe Double)
- affiliatePrevTimestamp :: !(Maybe DateTime)
- affiliateExecTurnover :: !(Maybe Double)
- affiliateExecComm :: !(Maybe Double)
- affiliateTotalReferrals :: !(Maybe Double)
- affiliateTotalTurnover :: !(Maybe Double)
- affiliateTotalComm :: !(Maybe Double)
- affiliatePayoutPcnt :: !(Maybe Double)
- affiliatePendingPayout :: !(Maybe Double)
- affiliateTimestamp :: !(Maybe DateTime)
- affiliateReferrerAccount :: !(Maybe Double)
- mkAffiliate :: Double -> Text -> Affiliate
- data Announcement = Announcement {
- announcementId :: !Double
- announcementLink :: !(Maybe Text)
- announcementTitle :: !(Maybe Text)
- announcementContent :: !(Maybe Text)
- announcementDate :: !(Maybe DateTime)
- mkAnnouncement :: Double -> Announcement
- data Chat = Chat {}
- mkChat :: DateTime -> Text -> Text -> Text -> Chat
- data ChatChannels = ChatChannels {
- chatChannelsId :: !(Maybe Double)
- chatChannelsName :: !Text
- mkChatChannels :: Text -> ChatChannels
- data ConnectedUsers = ConnectedUsers {
- connectedUsersUsers :: !(Maybe Double)
- connectedUsersBots :: !(Maybe Double)
- mkConnectedUsers :: ConnectedUsers
- data Error = Error {
- errorError :: !ErrorError
- mkError :: ErrorError -> Error
- data ErrorError = ErrorError {
- errorErrorMessage :: !(Maybe Text)
- errorErrorName :: !(Maybe Text)
- mkErrorError :: ErrorError
- data Execution = Execution {
- executionExecId :: !Text
- executionOrderId :: !(Maybe Text)
- executionClOrdId :: !(Maybe Text)
- executionClOrdLinkId :: !(Maybe Text)
- executionAccount :: !(Maybe Double)
- executionSymbol :: !(Maybe Text)
- executionSide :: !(Maybe Text)
- executionLastQty :: !(Maybe Double)
- executionLastPx :: !(Maybe Double)
- executionUnderlyingLastPx :: !(Maybe Double)
- executionLastMkt :: !(Maybe Text)
- executionLastLiquidityInd :: !(Maybe Text)
- executionSimpleOrderQty :: !(Maybe Double)
- executionOrderQty :: !(Maybe Double)
- executionPrice :: !(Maybe Double)
- executionDisplayQty :: !(Maybe Double)
- executionStopPx :: !(Maybe Double)
- executionPegOffsetValue :: !(Maybe Double)
- executionPegPriceType :: !(Maybe Text)
- executionCurrency :: !(Maybe Text)
- executionSettlCurrency :: !(Maybe Text)
- executionExecType :: !(Maybe Text)
- executionOrdType :: !(Maybe Text)
- executionTimeInForce :: !(Maybe Text)
- executionExecInst :: !(Maybe Text)
- executionContingencyType :: !(Maybe Text)
- executionExDestination :: !(Maybe Text)
- executionOrdStatus :: !(Maybe Text)
- executionTriggered :: !(Maybe Text)
- executionWorkingIndicator :: !(Maybe Bool)
- executionOrdRejReason :: !(Maybe Text)
- executionSimpleLeavesQty :: !(Maybe Double)
- executionLeavesQty :: !(Maybe Double)
- executionSimpleCumQty :: !(Maybe Double)
- executionCumQty :: !(Maybe Double)
- executionAvgPx :: !(Maybe Double)
- executionCommission :: !(Maybe Double)
- executionTradePublishIndicator :: !(Maybe Text)
- executionMultiLegReportingType :: !(Maybe Text)
- executionText :: !(Maybe Text)
- executionTrdMatchId :: !(Maybe Text)
- executionExecCost :: !(Maybe Double)
- executionExecComm :: !(Maybe Double)
- executionHomeNotional :: !(Maybe Double)
- executionForeignNotional :: !(Maybe Double)
- executionTransactTime :: !(Maybe DateTime)
- executionTimestamp :: !(Maybe DateTime)
- mkExecution :: Text -> Execution
- data Funding = Funding {}
- mkFunding :: DateTime -> Text -> Funding
- data IndexComposite = IndexComposite {}
- mkIndexComposite :: DateTime -> IndexComposite
- data InlineResponse200 = InlineResponse200 {}
- mkInlineResponse200 :: InlineResponse200
- data Instrument = Instrument {
- instrumentSymbol :: !Text
- instrumentRootSymbol :: !(Maybe Text)
- instrumentState :: !(Maybe Text)
- instrumentTyp :: !(Maybe Text)
- instrumentListing :: !(Maybe DateTime)
- instrumentFront :: !(Maybe DateTime)
- instrumentExpiry :: !(Maybe DateTime)
- instrumentSettle :: !(Maybe DateTime)
- instrumentRelistInterval :: !(Maybe DateTime)
- instrumentInverseLeg :: !(Maybe Text)
- instrumentSellLeg :: !(Maybe Text)
- instrumentBuyLeg :: !(Maybe Text)
- instrumentPositionCurrency :: !(Maybe Text)
- instrumentUnderlying :: !(Maybe Text)
- instrumentQuoteCurrency :: !(Maybe Text)
- instrumentUnderlyingSymbol :: !(Maybe Text)
- instrumentReference :: !(Maybe Text)
- instrumentReferenceSymbol :: !(Maybe Text)
- instrumentCalcInterval :: !(Maybe DateTime)
- instrumentPublishInterval :: !(Maybe DateTime)
- instrumentPublishTime :: !(Maybe DateTime)
- instrumentMaxOrderQty :: !(Maybe Double)
- instrumentMaxPrice :: !(Maybe Double)
- instrumentLotSize :: !(Maybe Double)
- instrumentTickSize :: !(Maybe Double)
- instrumentMultiplier :: !(Maybe Double)
- instrumentSettlCurrency :: !(Maybe Text)
- instrumentUnderlyingToPositionMultiplier :: !(Maybe Double)
- instrumentUnderlyingToSettleMultiplier :: !(Maybe Double)
- instrumentQuoteToSettleMultiplier :: !(Maybe Double)
- instrumentIsQuanto :: !(Maybe Bool)
- instrumentIsInverse :: !(Maybe Bool)
- instrumentInitMargin :: !(Maybe Double)
- instrumentMaintMargin :: !(Maybe Double)
- instrumentRiskLimit :: !(Maybe Double)
- instrumentRiskStep :: !(Maybe Double)
- instrumentLimit :: !(Maybe Double)
- instrumentCapped :: !(Maybe Bool)
- instrumentTaxed :: !(Maybe Bool)
- instrumentDeleverage :: !(Maybe Bool)
- instrumentMakerFee :: !(Maybe Double)
- instrumentTakerFee :: !(Maybe Double)
- instrumentSettlementFee :: !(Maybe Double)
- instrumentInsuranceFee :: !(Maybe Double)
- instrumentFundingBaseSymbol :: !(Maybe Text)
- instrumentFundingQuoteSymbol :: !(Maybe Text)
- instrumentFundingPremiumSymbol :: !(Maybe Text)
- instrumentFundingTimestamp :: !(Maybe DateTime)
- instrumentFundingInterval :: !(Maybe DateTime)
- instrumentFundingRate :: !(Maybe Double)
- instrumentIndicativeFundingRate :: !(Maybe Double)
- instrumentRebalanceTimestamp :: !(Maybe DateTime)
- instrumentRebalanceInterval :: !(Maybe DateTime)
- instrumentOpeningTimestamp :: !(Maybe DateTime)
- instrumentClosingTimestamp :: !(Maybe DateTime)
- instrumentSessionInterval :: !(Maybe DateTime)
- instrumentPrevClosePrice :: !(Maybe Double)
- instrumentLimitDownPrice :: !(Maybe Double)
- instrumentLimitUpPrice :: !(Maybe Double)
- instrumentBankruptLimitDownPrice :: !(Maybe Double)
- instrumentBankruptLimitUpPrice :: !(Maybe Double)
- instrumentPrevTotalVolume :: !(Maybe Double)
- instrumentTotalVolume :: !(Maybe Double)
- instrumentVolume :: !(Maybe Double)
- instrumentVolume24h :: !(Maybe Double)
- instrumentPrevTotalTurnover :: !(Maybe Double)
- instrumentTotalTurnover :: !(Maybe Double)
- instrumentTurnover :: !(Maybe Double)
- instrumentTurnover24h :: !(Maybe Double)
- instrumentPrevPrice24h :: !(Maybe Double)
- instrumentVwap :: !(Maybe Double)
- instrumentHighPrice :: !(Maybe Double)
- instrumentLowPrice :: !(Maybe Double)
- instrumentLastPrice :: !(Maybe Double)
- instrumentLastPriceProtected :: !(Maybe Double)
- instrumentLastTickDirection :: !(Maybe Text)
- instrumentLastChangePcnt :: !(Maybe Double)
- instrumentBidPrice :: !(Maybe Double)
- instrumentMidPrice :: !(Maybe Double)
- instrumentAskPrice :: !(Maybe Double)
- instrumentImpactBidPrice :: !(Maybe Double)
- instrumentImpactMidPrice :: !(Maybe Double)
- instrumentImpactAskPrice :: !(Maybe Double)
- instrumentHasLiquidity :: !(Maybe Bool)
- instrumentOpenInterest :: !(Maybe Double)
- instrumentOpenValue :: !(Maybe Double)
- instrumentFairMethod :: !(Maybe Text)
- instrumentFairBasisRate :: !(Maybe Double)
- instrumentFairBasis :: !(Maybe Double)
- instrumentFairPrice :: !(Maybe Double)
- instrumentMarkMethod :: !(Maybe Text)
- instrumentMarkPrice :: !(Maybe Double)
- instrumentIndicativeTaxRate :: !(Maybe Double)
- instrumentIndicativeSettlePrice :: !(Maybe Double)
- instrumentSettledPrice :: !(Maybe Double)
- instrumentTimestamp :: !(Maybe DateTime)
- mkInstrument :: Text -> Instrument
- data InstrumentInterval = InstrumentInterval {}
- mkInstrumentInterval :: [Text] -> [Text] -> InstrumentInterval
- data Insurance = Insurance {}
- mkInsurance :: Text -> DateTime -> Insurance
- data Leaderboard = Leaderboard {
- leaderboardName :: !Text
- leaderboardIsRealName :: !(Maybe Bool)
- leaderboardIsMe :: !(Maybe Bool)
- leaderboardProfit :: !(Maybe Double)
- mkLeaderboard :: Text -> Leaderboard
- data Liquidation = Liquidation {
- liquidationOrderId :: !Text
- liquidationSymbol :: !(Maybe Text)
- liquidationSide :: !(Maybe Text)
- liquidationPrice :: !(Maybe Double)
- liquidationLeavesQty :: !(Maybe Double)
- mkLiquidation :: Text -> Liquidation
- data Margin = Margin {
- marginAccount :: !Double
- marginCurrency :: !Text
- marginRiskLimit :: !(Maybe Double)
- marginPrevState :: !(Maybe Text)
- marginState :: !(Maybe Text)
- marginAction :: !(Maybe Text)
- marginAmount :: !(Maybe Double)
- marginPendingCredit :: !(Maybe Double)
- marginPendingDebit :: !(Maybe Double)
- marginConfirmedDebit :: !(Maybe Double)
- marginPrevRealisedPnl :: !(Maybe Double)
- marginPrevUnrealisedPnl :: !(Maybe Double)
- marginGrossComm :: !(Maybe Double)
- marginGrossOpenCost :: !(Maybe Double)
- marginGrossOpenPremium :: !(Maybe Double)
- marginGrossExecCost :: !(Maybe Double)
- marginGrossMarkValue :: !(Maybe Double)
- marginRiskValue :: !(Maybe Double)
- marginTaxableMargin :: !(Maybe Double)
- marginInitMargin :: !(Maybe Double)
- marginMaintMargin :: !(Maybe Double)
- marginSessionMargin :: !(Maybe Double)
- marginTargetExcessMargin :: !(Maybe Double)
- marginVarMargin :: !(Maybe Double)
- marginRealisedPnl :: !(Maybe Double)
- marginUnrealisedPnl :: !(Maybe Double)
- marginIndicativeTax :: !(Maybe Double)
- marginUnrealisedProfit :: !(Maybe Double)
- marginSyntheticMargin :: !(Maybe Double)
- marginWalletBalance :: !(Maybe Double)
- marginMarginBalance :: !(Maybe Double)
- marginMarginBalancePcnt :: !(Maybe Double)
- marginMarginLeverage :: !(Maybe Double)
- marginMarginUsedPcnt :: !(Maybe Double)
- marginExcessMargin :: !(Maybe Double)
- marginExcessMarginPcnt :: !(Maybe Double)
- marginAvailableMargin :: !(Maybe Double)
- marginWithdrawableMargin :: !(Maybe Double)
- marginTimestamp :: !(Maybe DateTime)
- marginGrossLastValue :: !(Maybe Double)
- marginCommission :: !(Maybe Double)
- mkMargin :: Double -> Text -> Margin
- data Notification = Notification {
- notificationId :: !(Maybe Double)
- notificationDate :: !DateTime
- notificationTitle :: !Text
- notificationBody :: !Text
- notificationTtl :: !Double
- notificationType :: !(Maybe E'Type)
- notificationClosable :: !(Maybe Bool)
- notificationPersist :: !(Maybe Bool)
- notificationWaitForVisibility :: !(Maybe Bool)
- notificationSound :: !(Maybe Text)
- mkNotification :: DateTime -> Text -> Text -> Double -> Notification
- data Order = Order {
- orderOrderId :: !Text
- orderClOrdId :: !(Maybe Text)
- orderClOrdLinkId :: !(Maybe Text)
- orderAccount :: !(Maybe Double)
- orderSymbol :: !(Maybe Text)
- orderSide :: !(Maybe Text)
- orderSimpleOrderQty :: !(Maybe Double)
- orderOrderQty :: !(Maybe Double)
- orderPrice :: !(Maybe Double)
- orderDisplayQty :: !(Maybe Double)
- orderStopPx :: !(Maybe Double)
- orderPegOffsetValue :: !(Maybe Double)
- orderPegPriceType :: !(Maybe Text)
- orderCurrency :: !(Maybe Text)
- orderSettlCurrency :: !(Maybe Text)
- orderOrdType :: !(Maybe Text)
- orderTimeInForce :: !(Maybe Text)
- orderExecInst :: !(Maybe Text)
- orderContingencyType :: !(Maybe Text)
- orderExDestination :: !(Maybe Text)
- orderOrdStatus :: !(Maybe Text)
- orderTriggered :: !(Maybe Text)
- orderWorkingIndicator :: !(Maybe Bool)
- orderOrdRejReason :: !(Maybe Text)
- orderSimpleLeavesQty :: !(Maybe Double)
- orderLeavesQty :: !(Maybe Double)
- orderSimpleCumQty :: !(Maybe Double)
- orderCumQty :: !(Maybe Double)
- orderAvgPx :: !(Maybe Double)
- orderMultiLegReportingType :: !(Maybe Text)
- orderText :: !(Maybe Text)
- orderTransactTime :: !(Maybe DateTime)
- orderTimestamp :: !(Maybe DateTime)
- mkOrder :: Text -> Order
- data OrderBook = OrderBook {
- orderBookSymbol :: !Text
- orderBookLevel :: !Double
- orderBookBidSize :: !(Maybe Double)
- orderBookBidPrice :: !(Maybe Double)
- orderBookAskPrice :: !(Maybe Double)
- orderBookAskSize :: !(Maybe Double)
- orderBookTimestamp :: !(Maybe DateTime)
- mkOrderBook :: Text -> Double -> OrderBook
- data OrderBookL2 = OrderBookL2 {
- orderBookL2Symbol :: !Text
- orderBookL2Id :: !Double
- orderBookL2Side :: !Text
- orderBookL2Size :: !(Maybe Double)
- orderBookL2Price :: !(Maybe Double)
- mkOrderBookL2 :: Text -> Double -> Text -> OrderBookL2
- data Position = Position {
- positionAccount :: !Double
- positionSymbol :: !Text
- positionCurrency :: !Text
- positionUnderlying :: !(Maybe Text)
- positionQuoteCurrency :: !(Maybe Text)
- positionCommission :: !(Maybe Double)
- positionInitMarginReq :: !(Maybe Double)
- positionMaintMarginReq :: !(Maybe Double)
- positionRiskLimit :: !(Maybe Double)
- positionLeverage :: !(Maybe Double)
- positionCrossMargin :: !(Maybe Bool)
- positionDeleveragePercentile :: !(Maybe Double)
- positionRebalancedPnl :: !(Maybe Double)
- positionPrevRealisedPnl :: !(Maybe Double)
- positionPrevUnrealisedPnl :: !(Maybe Double)
- positionPrevClosePrice :: !(Maybe Double)
- positionOpeningTimestamp :: !(Maybe DateTime)
- positionOpeningQty :: !(Maybe Double)
- positionOpeningCost :: !(Maybe Double)
- positionOpeningComm :: !(Maybe Double)
- positionOpenOrderBuyQty :: !(Maybe Double)
- positionOpenOrderBuyCost :: !(Maybe Double)
- positionOpenOrderBuyPremium :: !(Maybe Double)
- positionOpenOrderSellQty :: !(Maybe Double)
- positionOpenOrderSellCost :: !(Maybe Double)
- positionOpenOrderSellPremium :: !(Maybe Double)
- positionExecBuyQty :: !(Maybe Double)
- positionExecBuyCost :: !(Maybe Double)
- positionExecSellQty :: !(Maybe Double)
- positionExecSellCost :: !(Maybe Double)
- positionExecQty :: !(Maybe Double)
- positionExecCost :: !(Maybe Double)
- positionExecComm :: !(Maybe Double)
- positionCurrentTimestamp :: !(Maybe DateTime)
- positionCurrentQty :: !(Maybe Double)
- positionCurrentCost :: !(Maybe Double)
- positionCurrentComm :: !(Maybe Double)
- positionRealisedCost :: !(Maybe Double)
- positionUnrealisedCost :: !(Maybe Double)
- positionGrossOpenCost :: !(Maybe Double)
- positionGrossOpenPremium :: !(Maybe Double)
- positionGrossExecCost :: !(Maybe Double)
- positionIsOpen :: !(Maybe Bool)
- positionMarkPrice :: !(Maybe Double)
- positionMarkValue :: !(Maybe Double)
- positionRiskValue :: !(Maybe Double)
- positionHomeNotional :: !(Maybe Double)
- positionForeignNotional :: !(Maybe Double)
- positionPosState :: !(Maybe Text)
- positionPosCost :: !(Maybe Double)
- positionPosCost2 :: !(Maybe Double)
- positionPosCross :: !(Maybe Double)
- positionPosInit :: !(Maybe Double)
- positionPosComm :: !(Maybe Double)
- positionPosLoss :: !(Maybe Double)
- positionPosMargin :: !(Maybe Double)
- positionPosMaint :: !(Maybe Double)
- positionPosAllowance :: !(Maybe Double)
- positionTaxableMargin :: !(Maybe Double)
- positionInitMargin :: !(Maybe Double)
- positionMaintMargin :: !(Maybe Double)
- positionSessionMargin :: !(Maybe Double)
- positionTargetExcessMargin :: !(Maybe Double)
- positionVarMargin :: !(Maybe Double)
- positionRealisedGrossPnl :: !(Maybe Double)
- positionRealisedTax :: !(Maybe Double)
- positionRealisedPnl :: !(Maybe Double)
- positionUnrealisedGrossPnl :: !(Maybe Double)
- positionLongBankrupt :: !(Maybe Double)
- positionShortBankrupt :: !(Maybe Double)
- positionTaxBase :: !(Maybe Double)
- positionIndicativeTaxRate :: !(Maybe Double)
- positionIndicativeTax :: !(Maybe Double)
- positionUnrealisedTax :: !(Maybe Double)
- positionUnrealisedPnl :: !(Maybe Double)
- positionUnrealisedPnlPcnt :: !(Maybe Double)
- positionUnrealisedRoePcnt :: !(Maybe Double)
- positionSimpleQty :: !(Maybe Double)
- positionSimpleCost :: !(Maybe Double)
- positionSimpleValue :: !(Maybe Double)
- positionSimplePnl :: !(Maybe Double)
- positionSimplePnlPcnt :: !(Maybe Double)
- positionAvgCostPrice :: !(Maybe Double)
- positionAvgEntryPrice :: !(Maybe Double)
- positionBreakEvenPrice :: !(Maybe Double)
- positionMarginCallPrice :: !(Maybe Double)
- positionLiquidationPrice :: !(Maybe Double)
- positionBankruptPrice :: !(Maybe Double)
- positionTimestamp :: !(Maybe DateTime)
- positionLastPrice :: !(Maybe Double)
- positionLastValue :: !(Maybe Double)
- mkPosition :: Double -> Text -> Text -> Position
- data Quote = Quote {
- quoteTimestamp :: !DateTime
- quoteSymbol :: !Text
- quoteBidSize :: !(Maybe Double)
- quoteBidPrice :: !(Maybe Double)
- quoteAskPrice :: !(Maybe Double)
- quoteAskSize :: !(Maybe Double)
- mkQuote :: DateTime -> Text -> Quote
- data Settlement = Settlement {
- settlementTimestamp :: !DateTime
- settlementSymbol :: !Text
- settlementSettlementType :: !(Maybe Text)
- settlementSettledPrice :: !(Maybe Double)
- settlementBankrupt :: !(Maybe Double)
- settlementTaxBase :: !(Maybe Double)
- settlementTaxRate :: !(Maybe Double)
- mkSettlement :: DateTime -> Text -> Settlement
- data Stats = Stats {
- statsRootSymbol :: !Text
- statsCurrency :: !(Maybe Text)
- statsVolume24h :: !(Maybe Double)
- statsTurnover24h :: !(Maybe Double)
- statsOpenInterest :: !(Maybe Double)
- statsOpenValue :: !(Maybe Double)
- mkStats :: Text -> Stats
- data StatsHistory = StatsHistory {}
- mkStatsHistory :: DateTime -> Text -> StatsHistory
- data StatsUSD = StatsUSD {
- statsUSDRootSymbol :: !Text
- statsUSDCurrency :: !(Maybe Text)
- statsUSDTurnover24h :: !(Maybe Double)
- statsUSDTurnover30d :: !(Maybe Double)
- statsUSDTurnover365d :: !(Maybe Double)
- statsUSDTurnover :: !(Maybe Double)
- mkStatsUSD :: Text -> StatsUSD
- data Trade = Trade {
- tradeTimestamp :: !DateTime
- tradeSymbol :: !Text
- tradeSide :: !(Maybe Text)
- tradeSize :: !(Maybe Double)
- tradePrice :: !(Maybe Double)
- tradeTickDirection :: !(Maybe Text)
- tradeTrdMatchId :: !(Maybe Text)
- tradeGrossValue :: !(Maybe Double)
- tradeHomeNotional :: !(Maybe Double)
- tradeForeignNotional :: !(Maybe Double)
- mkTrade :: DateTime -> Text -> Trade
- data TradeBin = TradeBin {
- tradeBinTimestamp :: !DateTime
- tradeBinSymbol :: !Text
- tradeBinOpen :: !(Maybe Double)
- tradeBinHigh :: !(Maybe Double)
- tradeBinLow :: !(Maybe Double)
- tradeBinClose :: !(Maybe Double)
- tradeBinTrades :: !(Maybe Double)
- tradeBinVolume :: !(Maybe Double)
- tradeBinVwap :: !(Maybe Double)
- tradeBinLastSize :: !(Maybe Double)
- tradeBinTurnover :: !(Maybe Double)
- tradeBinHomeNotional :: !(Maybe Double)
- tradeBinForeignNotional :: !(Maybe Double)
- mkTradeBin :: DateTime -> Text -> TradeBin
- data Transaction = Transaction {
- transactionTransactId :: !Text
- transactionAccount :: !(Maybe Double)
- transactionCurrency :: !(Maybe Text)
- transactionTransactType :: !(Maybe Text)
- transactionAmount :: !(Maybe Double)
- transactionFee :: !(Maybe Double)
- transactionTransactStatus :: !(Maybe Text)
- transactionAddress :: !(Maybe Text)
- transactionTx :: !(Maybe Text)
- transactionText :: !(Maybe Text)
- transactionTransactTime :: !(Maybe DateTime)
- transactionTimestamp :: !(Maybe DateTime)
- mkTransaction :: Text -> Transaction
- data User = User {
- userId :: !(Maybe Double)
- userOwnerId :: !(Maybe Double)
- userFirstname :: !(Maybe Text)
- userLastname :: !(Maybe Text)
- userUsername :: !Text
- userEmail :: !Text
- userPhone :: !(Maybe Text)
- userCreated :: !(Maybe DateTime)
- userLastUpdated :: !(Maybe DateTime)
- userPreferences :: !(Maybe UserPreferences)
- userTfaEnabled :: !(Maybe Text)
- userAffiliateId :: !(Maybe Text)
- userPgpPubKey :: !(Maybe Text)
- userCountry :: !(Maybe Text)
- mkUser :: Text -> Text -> User
- data UserCommission = UserCommission {}
- mkUserCommission :: UserCommission
- data UserPreferences = UserPreferences {
- userPreferencesAlertOnLiquidations :: !(Maybe Bool)
- userPreferencesAnimationsEnabled :: !(Maybe Bool)
- userPreferencesAnnouncementsLastSeen :: !(Maybe DateTime)
- userPreferencesChatChannelId :: !(Maybe Double)
- userPreferencesColorTheme :: !(Maybe Text)
- userPreferencesCurrency :: !(Maybe Text)
- userPreferencesDebug :: !(Maybe Bool)
- userPreferencesDisableEmails :: !(Maybe [Text])
- userPreferencesHideConfirmDialogs :: !(Maybe [Text])
- userPreferencesHideConnectionModal :: !(Maybe Bool)
- userPreferencesHideFromLeaderboard :: !(Maybe Bool)
- userPreferencesHideNameFromLeaderboard :: !(Maybe Bool)
- userPreferencesHideNotifications :: !(Maybe [Text])
- userPreferencesLocale :: !(Maybe Text)
- userPreferencesMsgsSeen :: !(Maybe [Text])
- userPreferencesOrderBookBinning :: !(Maybe Value)
- userPreferencesOrderBookType :: !(Maybe Text)
- userPreferencesOrderClearImmediate :: !(Maybe Bool)
- userPreferencesOrderControlsPlusMinus :: !(Maybe Bool)
- userPreferencesSounds :: !(Maybe [Text])
- userPreferencesStrictIpCheck :: !(Maybe Bool)
- userPreferencesStrictTimeout :: !(Maybe Bool)
- userPreferencesTickerGroup :: !(Maybe Text)
- userPreferencesTickerPinned :: !(Maybe Bool)
- userPreferencesTradeLayout :: !(Maybe Text)
- mkUserPreferences :: UserPreferences
- data Wallet = Wallet {
- walletAccount :: !Double
- walletCurrency :: !Text
- walletPrevDeposited :: !(Maybe Double)
- walletPrevWithdrawn :: !(Maybe Double)
- walletPrevTransferIn :: !(Maybe Double)
- walletPrevTransferOut :: !(Maybe Double)
- walletPrevAmount :: !(Maybe Double)
- walletPrevTimestamp :: !(Maybe DateTime)
- walletDeltaDeposited :: !(Maybe Double)
- walletDeltaWithdrawn :: !(Maybe Double)
- walletDeltaTransferIn :: !(Maybe Double)
- walletDeltaTransferOut :: !(Maybe Double)
- walletDeltaAmount :: !(Maybe Double)
- walletDeposited :: !(Maybe Double)
- walletWithdrawn :: !(Maybe Double)
- walletTransferIn :: !(Maybe Double)
- walletTransferOut :: !(Maybe Double)
- walletAmount :: !(Maybe Double)
- walletPendingCredit :: !(Maybe Double)
- walletPendingDebit :: !(Maybe Double)
- walletConfirmedDebit :: !(Maybe Double)
- walletTimestamp :: !(Maybe DateTime)
- walletAddr :: !(Maybe Text)
- walletScript :: !(Maybe Text)
- walletWithdrawalLock :: !(Maybe [Text])
- mkWallet :: Double -> Text -> Wallet
- data XAny = XAny {
- mkXAny :: XAny
- data E'Type
- fromE'Type :: E'Type -> Text
- toE'Type :: Text -> Either String E'Type
Models
APIKey
APIKey Persistent API Keys for Developers
APIKey | |
|
Construct a value of type APIKey
(by applying it's required fields, if any)
AccessToken
data AccessToken Source #
AccessToken
AccessToken | |
|
Instances
Eq AccessToken Source # | |
Defined in BitMEX.Model (==) :: AccessToken -> AccessToken -> Bool # (/=) :: AccessToken -> AccessToken -> Bool # | |
Show AccessToken Source # | |
Defined in BitMEX.Model showsPrec :: Int -> AccessToken -> ShowS # show :: AccessToken -> String # showList :: [AccessToken] -> ShowS # | |
ToJSON AccessToken Source # | ToJSON AccessToken |
Defined in BitMEX.Model toJSON :: AccessToken -> Value # toEncoding :: AccessToken -> Encoding # toJSONList :: [AccessToken] -> Value # toEncodingList :: [AccessToken] -> Encoding # | |
FromJSON AccessToken Source # | FromJSON AccessToken |
Defined in BitMEX.Model parseJSON :: Value -> Parser AccessToken # parseJSONList :: Value -> Parser [AccessToken] # |
:: Text | |
-> AccessToken |
Construct a value of type AccessToken
(by applying it's required fields, if any)
Affiliate
Affiliate
Affiliate | |
|
Construct a value of type Affiliate
(by applying it's required fields, if any)
Announcement
data Announcement Source #
Announcement Public Announcements
Announcement | |
|
Instances
Eq Announcement Source # | |
Defined in BitMEX.Model (==) :: Announcement -> Announcement -> Bool # (/=) :: Announcement -> Announcement -> Bool # | |
Show Announcement Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Announcement -> ShowS # show :: Announcement -> String # showList :: [Announcement] -> ShowS # | |
ToJSON Announcement Source # | ToJSON Announcement |
Defined in BitMEX.Model toJSON :: Announcement -> Value # toEncoding :: Announcement -> Encoding # toJSONList :: [Announcement] -> Value # toEncodingList :: [Announcement] -> Encoding # | |
FromJSON Announcement Source # | FromJSON Announcement |
Defined in BitMEX.Model parseJSON :: Value -> Parser Announcement # parseJSONList :: Value -> Parser [Announcement] # |
Construct a value of type Announcement
(by applying it's required fields, if any)
Chat
Chat Trollbox Data
Construct a value of type Chat
(by applying it's required fields, if any)
ChatChannels
data ChatChannels Source #
ChatChannels
ChatChannels | |
|
Instances
Eq ChatChannels Source # | |
Defined in BitMEX.Model (==) :: ChatChannels -> ChatChannels -> Bool # (/=) :: ChatChannels -> ChatChannels -> Bool # | |
Show ChatChannels Source # | |
Defined in BitMEX.Model showsPrec :: Int -> ChatChannels -> ShowS # show :: ChatChannels -> String # showList :: [ChatChannels] -> ShowS # | |
ToJSON ChatChannels Source # | ToJSON ChatChannels |
Defined in BitMEX.Model toJSON :: ChatChannels -> Value # toEncoding :: ChatChannels -> Encoding # toJSONList :: [ChatChannels] -> Value # toEncodingList :: [ChatChannels] -> Encoding # | |
FromJSON ChatChannels Source # | FromJSON ChatChannels |
Defined in BitMEX.Model parseJSON :: Value -> Parser ChatChannels # parseJSONList :: Value -> Parser [ChatChannels] # |
Construct a value of type ChatChannels
(by applying it's required fields, if any)
ConnectedUsers
data ConnectedUsers Source #
ConnectedUsers
ConnectedUsers | |
|
Instances
Eq ConnectedUsers Source # | |
Defined in BitMEX.Model (==) :: ConnectedUsers -> ConnectedUsers -> Bool # (/=) :: ConnectedUsers -> ConnectedUsers -> Bool # | |
Show ConnectedUsers Source # | |
Defined in BitMEX.Model showsPrec :: Int -> ConnectedUsers -> ShowS # show :: ConnectedUsers -> String # showList :: [ConnectedUsers] -> ShowS # | |
ToJSON ConnectedUsers Source # | ToJSON ConnectedUsers |
Defined in BitMEX.Model toJSON :: ConnectedUsers -> Value # toEncoding :: ConnectedUsers -> Encoding # toJSONList :: [ConnectedUsers] -> Value # toEncodingList :: [ConnectedUsers] -> Encoding # | |
FromJSON ConnectedUsers Source # | FromJSON ConnectedUsers |
Defined in BitMEX.Model parseJSON :: Value -> Parser ConnectedUsers # parseJSONList :: Value -> Parser [ConnectedUsers] # |
mkConnectedUsers :: ConnectedUsers Source #
Construct a value of type ConnectedUsers
(by applying it's required fields, if any)
Error
Error
Error | |
|
:: ErrorError | |
-> Error |
Construct a value of type Error
(by applying it's required fields, if any)
ErrorError
data ErrorError Source #
ErrorError
ErrorError | |
|
Instances
Eq ErrorError Source # | |
Defined in BitMEX.Model (==) :: ErrorError -> ErrorError -> Bool # (/=) :: ErrorError -> ErrorError -> Bool # | |
Show ErrorError Source # | |
Defined in BitMEX.Model showsPrec :: Int -> ErrorError -> ShowS # show :: ErrorError -> String # showList :: [ErrorError] -> ShowS # | |
ToJSON ErrorError Source # | ToJSON ErrorError |
Defined in BitMEX.Model toJSON :: ErrorError -> Value # toEncoding :: ErrorError -> Encoding # toJSONList :: [ErrorError] -> Value # toEncodingList :: [ErrorError] -> Encoding # | |
FromJSON ErrorError Source # | FromJSON ErrorError |
Defined in BitMEX.Model parseJSON :: Value -> Parser ErrorError # parseJSONList :: Value -> Parser [ErrorError] # |
mkErrorError :: ErrorError Source #
Construct a value of type ErrorError
(by applying it's required fields, if any)
Execution
Execution Raw Order and Balance Data
Funding
Funding Swap Funding History
Funding | |
|
Construct a value of type Funding
(by applying it's required fields, if any)
IndexComposite
data IndexComposite Source #
IndexComposite
IndexComposite | |
|
Instances
Eq IndexComposite Source # | |
Defined in BitMEX.Model (==) :: IndexComposite -> IndexComposite -> Bool # (/=) :: IndexComposite -> IndexComposite -> Bool # | |
Show IndexComposite Source # | |
Defined in BitMEX.Model showsPrec :: Int -> IndexComposite -> ShowS # show :: IndexComposite -> String # showList :: [IndexComposite] -> ShowS # | |
ToJSON IndexComposite Source # | ToJSON IndexComposite |
Defined in BitMEX.Model toJSON :: IndexComposite -> Value # toEncoding :: IndexComposite -> Encoding # toJSONList :: [IndexComposite] -> Value # toEncodingList :: [IndexComposite] -> Encoding # | |
FromJSON IndexComposite Source # | FromJSON IndexComposite |
Defined in BitMEX.Model parseJSON :: Value -> Parser IndexComposite # parseJSONList :: Value -> Parser [IndexComposite] # |
Construct a value of type IndexComposite
(by applying it's required fields, if any)
InlineResponse200
data InlineResponse200 Source #
InlineResponse200
InlineResponse200 | |
|
Instances
Eq InlineResponse200 Source # | |
Defined in BitMEX.Model (==) :: InlineResponse200 -> InlineResponse200 -> Bool # (/=) :: InlineResponse200 -> InlineResponse200 -> Bool # | |
Show InlineResponse200 Source # | |
Defined in BitMEX.Model showsPrec :: Int -> InlineResponse200 -> ShowS # show :: InlineResponse200 -> String # showList :: [InlineResponse200] -> ShowS # | |
ToJSON InlineResponse200 Source # | ToJSON InlineResponse200 |
Defined in BitMEX.Model toJSON :: InlineResponse200 -> Value # toEncoding :: InlineResponse200 -> Encoding # toJSONList :: [InlineResponse200] -> Value # toEncodingList :: [InlineResponse200] -> Encoding # | |
FromJSON InlineResponse200 Source # | FromJSON InlineResponse200 |
Defined in BitMEX.Model parseJSON :: Value -> Parser InlineResponse200 # parseJSONList :: Value -> Parser [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
Instances
Eq Instrument Source # | |
Defined in BitMEX.Model (==) :: Instrument -> Instrument -> Bool # (/=) :: Instrument -> Instrument -> Bool # | |
Show Instrument Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Instrument -> ShowS # show :: Instrument -> String # showList :: [Instrument] -> ShowS # | |
ToJSON Instrument Source # | ToJSON Instrument |
Defined in BitMEX.Model toJSON :: Instrument -> Value # toEncoding :: Instrument -> Encoding # toJSONList :: [Instrument] -> Value # toEncodingList :: [Instrument] -> Encoding # | |
FromJSON Instrument Source # | FromJSON Instrument |
Defined in BitMEX.Model parseJSON :: Value -> Parser Instrument # parseJSONList :: Value -> Parser [Instrument] # |
Construct a value of type Instrument
(by applying it's required fields, if any)
InstrumentInterval
data InstrumentInterval Source #
InstrumentInterval
InstrumentInterval | |
|
Instances
Eq InstrumentInterval Source # | |
Defined in BitMEX.Model (==) :: InstrumentInterval -> InstrumentInterval -> Bool # (/=) :: InstrumentInterval -> InstrumentInterval -> Bool # | |
Show InstrumentInterval Source # | |
Defined in BitMEX.Model showsPrec :: Int -> InstrumentInterval -> ShowS # show :: InstrumentInterval -> String # showList :: [InstrumentInterval] -> ShowS # | |
ToJSON InstrumentInterval Source # | ToJSON InstrumentInterval |
Defined in BitMEX.Model toJSON :: InstrumentInterval -> Value # toEncoding :: InstrumentInterval -> Encoding # toJSONList :: [InstrumentInterval] -> Value # toEncodingList :: [InstrumentInterval] -> Encoding # | |
FromJSON InstrumentInterval Source # | FromJSON InstrumentInterval |
Defined in BitMEX.Model parseJSON :: Value -> Parser InstrumentInterval # parseJSONList :: Value -> Parser [InstrumentInterval] # |
Construct a value of type InstrumentInterval
(by applying it's required fields, if any)
Insurance
Insurance Insurance Fund Data
Insurance | |
|
Construct a value of type Insurance
(by applying it's required fields, if any)
Leaderboard
data Leaderboard Source #
Leaderboard Information on Top Users
Leaderboard | |
|
Instances
Eq Leaderboard Source # | |
Defined in BitMEX.Model (==) :: Leaderboard -> Leaderboard -> Bool # (/=) :: Leaderboard -> Leaderboard -> Bool # | |
Show Leaderboard Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Leaderboard -> ShowS # show :: Leaderboard -> String # showList :: [Leaderboard] -> ShowS # | |
ToJSON Leaderboard Source # | ToJSON Leaderboard |
Defined in BitMEX.Model toJSON :: Leaderboard -> Value # toEncoding :: Leaderboard -> Encoding # toJSONList :: [Leaderboard] -> Value # toEncodingList :: [Leaderboard] -> Encoding # | |
FromJSON Leaderboard Source # | FromJSON Leaderboard |
Defined in BitMEX.Model parseJSON :: Value -> Parser Leaderboard # parseJSONList :: Value -> Parser [Leaderboard] # |
Construct a value of type Leaderboard
(by applying it's required fields, if any)
Liquidation
data Liquidation Source #
Liquidation Active Liquidations
Liquidation | |
|
Instances
Eq Liquidation Source # | |
Defined in BitMEX.Model (==) :: Liquidation -> Liquidation -> Bool # (/=) :: Liquidation -> Liquidation -> Bool # | |
Show Liquidation Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Liquidation -> ShowS # show :: Liquidation -> String # showList :: [Liquidation] -> ShowS # | |
ToJSON Liquidation Source # | ToJSON Liquidation |
Defined in BitMEX.Model toJSON :: Liquidation -> Value # toEncoding :: Liquidation -> Encoding # toJSONList :: [Liquidation] -> Value # toEncodingList :: [Liquidation] -> Encoding # | |
FromJSON Liquidation Source # | FromJSON Liquidation |
Defined in BitMEX.Model parseJSON :: Value -> Parser Liquidation # parseJSONList :: Value -> Parser [Liquidation] # |
Construct a value of type Liquidation
(by applying it's required fields, if any)
Margin
Margin
Construct a value of type Margin
(by applying it's required fields, if any)
Notification
data Notification Source #
Notification Account Notifications
Notification | |
|
Instances
Eq Notification Source # | |
Defined in BitMEX.Model (==) :: Notification -> Notification -> Bool # (/=) :: Notification -> Notification -> Bool # | |
Show Notification Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Notification -> ShowS # show :: Notification -> String # showList :: [Notification] -> ShowS # | |
ToJSON Notification Source # | ToJSON Notification |
Defined in BitMEX.Model toJSON :: Notification -> Value # toEncoding :: Notification -> Encoding # toJSONList :: [Notification] -> Value # toEncodingList :: [Notification] -> Encoding # | |
FromJSON Notification Source # | FromJSON Notification |
Defined in BitMEX.Model parseJSON :: Value -> Parser Notification # parseJSONList :: Value -> Parser [Notification] # |
:: DateTime | |
-> Text | |
-> Text | |
-> Double | |
-> Notification |
Construct a value of type Notification
(by applying it's required fields, if any)
Order
Order Placement, Cancellation, Amending, and History
OrderBook
OrderBook Level 2 Book Data
OrderBook | |
|
Construct a value of type OrderBook
(by applying it's required fields, if any)
OrderBookL2
data OrderBookL2 Source #
OrderBookL2
OrderBookL2 | |
|
Instances
Eq OrderBookL2 Source # | |
Defined in BitMEX.Model (==) :: OrderBookL2 -> OrderBookL2 -> Bool # (/=) :: OrderBookL2 -> OrderBookL2 -> Bool # | |
Show OrderBookL2 Source # | |
Defined in BitMEX.Model showsPrec :: Int -> OrderBookL2 -> ShowS # show :: OrderBookL2 -> String # showList :: [OrderBookL2] -> ShowS # | |
ToJSON OrderBookL2 Source # | ToJSON OrderBookL2 |
Defined in BitMEX.Model toJSON :: OrderBookL2 -> Value # toEncoding :: OrderBookL2 -> Encoding # toJSONList :: [OrderBookL2] -> Value # toEncodingList :: [OrderBookL2] -> Encoding # | |
FromJSON OrderBookL2 Source # | FromJSON OrderBookL2 |
Defined in BitMEX.Model parseJSON :: Value -> Parser OrderBookL2 # parseJSONList :: Value -> Parser [OrderBookL2] # |
Construct a value of type OrderBookL2
(by applying it's required fields, if any)
Position
Position Summary of Open and Closed Positions
Construct a value of type Position
(by applying it's required fields, if any)
Quote
Quote Best Bid/Offer Snapshots & Historical Bins
Quote | |
|
Construct a value of type Quote
(by applying it's required fields, if any)
Settlement
data Settlement Source #
Settlement Historical Settlement Data
Settlement | |
|
Instances
Eq Settlement Source # | |
Defined in BitMEX.Model (==) :: Settlement -> Settlement -> Bool # (/=) :: Settlement -> Settlement -> Bool # | |
Show Settlement Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Settlement -> ShowS # show :: Settlement -> String # showList :: [Settlement] -> ShowS # | |
ToJSON Settlement Source # | ToJSON Settlement |
Defined in BitMEX.Model toJSON :: Settlement -> Value # toEncoding :: Settlement -> Encoding # toJSONList :: [Settlement] -> Value # toEncodingList :: [Settlement] -> Encoding # | |
FromJSON Settlement Source # | FromJSON Settlement |
Defined in BitMEX.Model parseJSON :: Value -> Parser Settlement # parseJSONList :: Value -> Parser [Settlement] # |
Construct a value of type Settlement
(by applying it's required fields, if any)
Stats
Stats Exchange Statistics
Stats | |
|
StatsHistory
data StatsHistory Source #
StatsHistory
StatsHistory | |
|
Instances
Eq StatsHistory Source # | |
Defined in BitMEX.Model (==) :: StatsHistory -> StatsHistory -> Bool # (/=) :: StatsHistory -> StatsHistory -> Bool # | |
Show StatsHistory Source # | |
Defined in BitMEX.Model showsPrec :: Int -> StatsHistory -> ShowS # show :: StatsHistory -> String # showList :: [StatsHistory] -> ShowS # | |
ToJSON StatsHistory Source # | ToJSON StatsHistory |
Defined in BitMEX.Model toJSON :: StatsHistory -> Value # toEncoding :: StatsHistory -> Encoding # toJSONList :: [StatsHistory] -> Value # toEncodingList :: [StatsHistory] -> Encoding # | |
FromJSON StatsHistory Source # | FromJSON StatsHistory |
Defined in BitMEX.Model parseJSON :: Value -> Parser StatsHistory # parseJSONList :: Value -> Parser [StatsHistory] # |
Construct a value of type StatsHistory
(by applying it's required fields, if any)
StatsUSD
StatsUSD
StatsUSD | |
|
Construct a value of type StatsUSD
(by applying it's required fields, if any)
Trade
Trade Individual & Bucketed Trades
Trade | |
|
Construct a value of type Trade
(by applying it's required fields, if any)
TradeBin
TradeBin
TradeBin | |
|
Construct a value of type TradeBin
(by applying it's required fields, if any)
Transaction
data Transaction Source #
Transaction
Transaction | |
|
Instances
Eq Transaction Source # | |
Defined in BitMEX.Model (==) :: Transaction -> Transaction -> Bool # (/=) :: Transaction -> Transaction -> Bool # | |
Show Transaction Source # | |
Defined in BitMEX.Model showsPrec :: Int -> Transaction -> ShowS # show :: Transaction -> String # showList :: [Transaction] -> ShowS # | |
ToJSON Transaction Source # | ToJSON Transaction |
Defined in BitMEX.Model toJSON :: Transaction -> Value # toEncoding :: Transaction -> Encoding # toJSONList :: [Transaction] -> Value # toEncodingList :: [Transaction] -> Encoding # | |
FromJSON Transaction Source # | FromJSON Transaction |
Defined in BitMEX.Model parseJSON :: Value -> Parser Transaction # parseJSONList :: Value -> Parser [Transaction] # |
Construct a value of type Transaction
(by applying it's required fields, if any)
User
User Account Operations
User | |
|
UserCommission
data UserCommission Source #
UserCommission
UserCommission | |
|
Instances
Eq UserCommission Source # | |
Defined in BitMEX.Model (==) :: UserCommission -> UserCommission -> Bool # (/=) :: UserCommission -> UserCommission -> Bool # | |
Show UserCommission Source # | |
Defined in BitMEX.Model showsPrec :: Int -> UserCommission -> ShowS # show :: UserCommission -> String # showList :: [UserCommission] -> ShowS # | |
ToJSON UserCommission Source # | ToJSON UserCommission |
Defined in BitMEX.Model toJSON :: UserCommission -> Value # toEncoding :: UserCommission -> Encoding # toJSONList :: [UserCommission] -> Value # toEncodingList :: [UserCommission] -> Encoding # | |
FromJSON UserCommission Source # | FromJSON UserCommission |
Defined in BitMEX.Model parseJSON :: Value -> Parser UserCommission # parseJSONList :: Value -> Parser [UserCommission] # |
mkUserCommission :: UserCommission Source #
Construct a value of type UserCommission
(by applying it's required fields, if any)
UserPreferences
data UserPreferences Source #
UserPreferences
Instances
Eq UserPreferences Source # | |
Defined in BitMEX.Model (==) :: UserPreferences -> UserPreferences -> Bool # (/=) :: UserPreferences -> UserPreferences -> Bool # | |
Show UserPreferences Source # | |
Defined in BitMEX.Model showsPrec :: Int -> UserPreferences -> ShowS # show :: UserPreferences -> String # showList :: [UserPreferences] -> ShowS # | |
ToJSON UserPreferences Source # | ToJSON UserPreferences |
Defined in BitMEX.Model toJSON :: UserPreferences -> Value # toEncoding :: UserPreferences -> Encoding # toJSONList :: [UserPreferences] -> Value # toEncodingList :: [UserPreferences] -> Encoding # | |
FromJSON UserPreferences Source # | FromJSON UserPreferences |
Defined in BitMEX.Model parseJSON :: Value -> Parser UserPreferences # parseJSONList :: Value -> Parser [UserPreferences] # |
mkUserPreferences :: UserPreferences Source #
Construct a value of type UserPreferences
(by applying it's required fields, if any)
Wallet
Wallet
Construct a value of type Wallet
(by applying it's required fields, if any)
XAny
XAny
Enums
E'Type
Enum of Text
E'Type'Success | "success" |
E'Type'Error | "error" |
E'Type'Info | "info" |
Instances
Bounded E'Type Source # | |
Enum E'Type Source # | |
Defined in BitMEX.Model | |
Eq E'Type Source # | |
Ord E'Type Source # | |
Show E'Type Source # | |
ToJSON E'Type Source # | |
Defined in BitMEX.Model | |
FromJSON E'Type Source # | |
ToHttpApiData E'Type Source # | |
Defined in BitMEX.Model toUrlPiece :: E'Type -> Text # toEncodedUrlPiece :: E'Type -> Builder # toHeader :: E'Type -> ByteString # toQueryParam :: E'Type -> Text # | |
FromHttpApiData E'Type Source # | |
Defined in BitMEX.Model parseUrlPiece :: Text -> Either Text E'Type # parseHeader :: ByteString -> Either Text E'Type # | |
MimeRender MimeMultipartFormData E'Type Source # | |
Defined in BitMEX.Model mimeRender :: Proxy MimeMultipartFormData -> E'Type -> ByteString Source # mimeRender' :: MimeMultipartFormData -> E'Type -> ByteString Source # |