This module provides a REST API to the crypto.com exchange.
getTradeList : CryptoComExchange.Configuration.Configuration -> Maybe CryptoComExchange.InstrumentName -> ResponseHandler (List CryptoComExchange.Trade) msg
Fetches the public trades for a particular instrument
getTickerList : CryptoComExchange.Configuration.Configuration -> ResponseHandler (List CryptoComExchange.Ticker) msg
Fetches the public tickers for all instruments.
getTicker : CryptoComExchange.Configuration.Configuration -> CryptoComExchange.InstrumentName -> ResponseHandler CryptoComExchange.Ticker msg
Fetches the public tickers for an instrument (e.g. BTC_USDT).
getCandlestick : CryptoComExchange.Configuration.Configuration -> CryptoComExchange.InstrumentName -> CryptoComExchange.Interval -> ResponseHandler CryptoComExchange.Candlestick msg
Retrieves candlesticks (k-line data history) over a given period for an instrument (e.g. BTC_USDT)
getInstruments : CryptoComExchange.Configuration.Configuration -> ResponseHandler (List CryptoComExchange.Instrument) msg
Provides information on all supported instruments (e.g. BTC_USDT)
getAccountSummary : CryptoComExchange.Configuration.PrivateConfiguration -> ResponseHandler (List CryptoComExchange.Account) msg
Returns the account balance of a user for a particular token
createOrder : CryptoComExchange.Configuration.PrivateConfiguration -> CryptoComExchange.LimitOrderRequest -> ResponseHandler CryptoComExchange.OrderReference msg
Creates a new BUY or SELL order on the Exchange.
cancelOrder : CryptoComExchange.Configuration.PrivateConfiguration -> CryptoComExchange.InstrumentName -> CryptoComExchange.OrderId -> ResponseHandler () msg
Cancels an existing order on the Exchange (asynchronous)