This software is in no way affiliated, endorsed, or approved by the C-Cex crypto-currency exchange or any of its affiliates. It comes with absolutely no warranty and should not be used in actual trading unless the user can read and understand the source and know what you are doing.
Package 'ccex' is an R implementation of the REST interface used by the C-Cex crypto-currency exchange https://c-cex.com/. It provides functions for all endpoints currently (as of May 16, 2017) supported by the exchange. This includes the ability to retrieve price, volume, and orderbook information as well as the ability to trade crypto-currencies.
Calls to the exchange are categorized as either public, which includes requests for price, volume, and order book information, and private, which includes all requests requiring an account including placing buy or sell orders. Public calls can be used directly by installing the package. Private calls require creating an account at https://c-cex.com/?id=reg and creating an API and secret key with appropriate permissions.
Private calls retrieve the API and secret key using the CCEX_API_KEY and CCEX_SECRET_KEY environment variables. These may be set by the user before opening the R session or, they can be set using the 'ccex_authenticate' function.
Public Function Calls
coinnames: coin names for all currencies
getballancedistribution: exchange's wallet balance distribution
getmarkethistory: recent history for a market
getmarkets: available markets and other meta-data
getmarketsummaries: summary of active markets
getorderbook: order book for a market
pairs: available trading pairs
prices: prices for all markets
volume: volume of trades for a currency
Private Function Calls
buylimit: place a buy limit order
cancel: cancel an open order
ccex_authenticate: provide user authentication data
getbalance: account balance for a specified currency
getbalances: account balances for currencies
getopenorders: order data for all open orders
getorderdata: order data for a specified order
getorderhistory: recent order history for an account
mytrades: detailed recent trading history for a market
selllimit: place a sell limit order
https://c-cex.com/ https://github.com/kaneplusplus/ccex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.