| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bittrex.Types
- type Params = [(String, String)]
- type Rate = Scientific
- data APIType
- data APIOpts = APIOpts {}
- data ErrorMessage
- data BittrexError
- data MarketName
- data Ticker = Ticker {}
- data Market = Market {}
- data Currency = Currency {
- currency :: Text
- currencyLong :: Text
- minConfirmation :: Int
- txFee :: Double
- currencyIsActive :: Bool
- coinType :: Text
- baseAddress :: Maybe Text
- data OrderBookType
- data OrderBookEntry = OrderBookEntry {}
- data OrderBook = OrderBook {
- buy :: [OrderBookEntry]
- sell :: [OrderBookEntry]
- k :: ByteString
- m :: OrderBook
- data MarketHistory = MarketHistory {}
- type Quantity = Scientific
- type Address = String
- type PaymentId = String
- data APIKeys = APIKeys {}
- data WithdrawalHistory = WithdrawalHistory {
- whPaymentUuid :: Text
- whCurrency :: Text
- whAmount :: Scientific
- whAddress :: Text
- whOpened :: Text
- whAuthorized :: Bool
- whPendingPayment :: Bool
- whTxCost :: Scientific
- whTxId :: Text
- whCanceled :: Bool
- whInvalidAddress :: Bool
- data DepositHistory = DepositHistory {}
- type CurrencyName = Text
- data DepositAddress = DepositAddress {
- daCurrency :: Text
- daAddress :: Text
- newtype UUID = UUID Text
- data Balance = Balance {}
- data OrderType
- = SELL
- | BUY
- | LIMIT_SELL
- | LIMIT_BUY
- data OpenOrder = OpenOrder {
- ooUuid :: Maybe Text
- ooOrderUuid :: Text
- ooExchange :: Text
- ooOrderType :: OrderType
- ooQuantity :: Scientific
- ooQuantityRemaining :: Scientific
- ooLimit :: Scientific
- ooCommissionPaid :: Scientific
- ooPrice :: Scientific
- ooPricePerUnit :: Maybe Scientific
- ooOpened :: Text
- ooClosed :: Maybe Text
- ooCancelInitiated :: Bool
- ooImmediateOrCancel :: Bool
- ooIsConditional :: Bool
- ooCondition :: Maybe Text
- ooConditionTarget :: Maybe Text
- data OrderHistory = OrderHistory {}
- data Order = Order {
- oAccountId :: Maybe Text
- oOrderUuid :: Text
- oExchange :: Text
- oOrderType :: OrderType
- oQuantity :: Scientific
- oQuantityRemaining :: Scientific
- oLimit :: Scientific
- oReserved :: Scientific
- oReservedRemaining :: Scientific
- oCommissionReserved :: Scientific
- oCommissionReserveRemaining :: Scientific
- oCommissionPaid :: Scientific
- oPrice :: Scientific
- oPricePerUnit :: Maybe Scientific
- oOpen :: Text
- oIsOpen :: Bool
- oSentinal :: Text
- oTimeStamp :: Text
- oCommission :: Scientific
- oIsConditional :: Bool
- oImmediateOrCancel :: Bool
- oCancelInitiated :: Bool
- oCondition :: Text
Documentation
type Rate = Scientific Source #
Constructors
| PublicAPI | |
| AccountAPI | |
| MarketAPI |
Constructors
| APIOpts | |
data ErrorMessage Source #
Constructors
| BittrexError BittrexError | |
| DecodeFailure String Value |
Instances
data BittrexError Source #
Constructors
| INVALID_MARKET | |
| MARKET_NOT_PROVIDED | |
| APIKEY_NOT_PROVIDED | |
| APIKEY_INVALID | |
| INVALID_SIGNATURE | |
| NONCE_NOT_PROVIDED | |
| INVALID_PERMISSION | |
| INVALID_CURRENCY | |
| WITHDRAWAL_TOO_SMALL | |
| CURRENCY_DOES_NOT_EXIST |
Instances
Constructors
| Market | |
Fields
| |
Constructors
| Currency | |
Fields
| |
data OrderBookType Source #
Instances
Constructors
| OrderBook | |
Fields
| |
k :: ByteString Source #
type Quantity = Scientific Source #
API Keys
data WithdrawalHistory Source #
Constructors
| WithdrawalHistory | |
Fields
| |
data DepositHistory Source #
Constructors
| DepositHistory | |
Fields
| |
Instances
type CurrencyName = Text Source #
data DepositAddress Source #
Constructors
| DepositAddress | |
Fields
| |
Instances
Constructors
| Balance | |
Fields
| |
Constructors
| SELL | |
| BUY | |
| LIMIT_SELL | |
| LIMIT_BUY |
Constructors
| OpenOrder | |
Fields
| |
data OrderHistory Source #
Constructors
| OrderHistory | |
Fields
| |
Instances
Constructors
| Order | |
Fields
| |