Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datawookie/cex
https://github.com/datawookie/cex
hacktoberfest
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/datawookie/cex
- Owner: datawookie
- Created: 2021-09-02T04:01:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T04:33:29.000Z (over 3 years ago)
- Last Synced: 2024-11-05T04:25:04.887Z (2 months ago)
- Topics: hacktoberfest
- Language: R
- Homepage:
- Size: 315 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
Awesome Lists containing this project
README
---
title: "{cex}"
output: github_document
editor_options:
chunk_output_type: console
---```{r setup, include=FALSE}
knitr::opts_chunk$set(comment=NA)library(dplyr)
```# cex
[![CRAN status](https://www.r-pkg.org/badges/version/cex)](https://cran.r-project.org/package=cex)
[![Travis-CI build status](https://travis-ci.org/datawookie/cex.svg?branch=master)](https://travis-ci.org/datawookie/cex)
[![Codecov test coverage](https://img.shields.io/codecov/c/github/datawookie/cex.svg)](https://codecov.io/github/datawookie/cex)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)An R wrapper around the [CEX API](https://cex.io/rest-api).
The documentation for `{cex}` is hosted at https://datawookie.github.io/cex/.
## API Key
You're going to need to have an API key from your CEX account. If you don't yet have an account, create one. Then create and active a key from the [API settings](https://cex.io/trade/profile#/api). Store the key and secret somewhere secure.
## Endpoints
Endpoints which have currently been implemented in this package.
### Public API calls
- [X] GET https://cex.io/api/currency_limits
- [X] GET https://cex.io/api/ticker/{symbol1}/{symbol2}
- [X] GET https://cex.io/api/tickers/{symbol1}/{symbol2}/.../{symbolN}
- [X] GET https://cex.io/api/last_price/{symbol1}/{symbol2}
- [ ] GET https://cex.io/api/last_prices/{marketSymbol1}/{marketSymbol2}/.../{marketSymbolN}
- [ ] POST https://cex.io/api/convert/{symbol1}/{symbol2}
- [ ] POST https://cex.io/api/price_stats/{symbol1}/{symbol2}
- [ ] GET https://cex.io/api/ohlcv/hd/{date}/{symbol1}/{symbol2}
- [ ] GET https://cex.io/api/order_book/{symbol1}/{symbol2}/
- [ ] GET https://cex.io/api/trade_history/{symbol1}/{symbol2}/### Private API calls
- [X] POST https://cex.io/api/balance/
- [X] POST https://cex.io/api/open_orders/
- [ ] POST https://cex.io/api/open_orders/{symbol1}/{symbol2}
- [ ] POST https://cex.io/api/active_orders_status
- [X] POST https://cex.io/api/archived_orders/{symbol1}/{symbol2}
- [ ] POST https://cex.io/api/cancel_order/
- [ ] POST https://cex.io/api/cancel_orders/{symbol1}/{symbol2}
- [ ] POST https://cex.io/api/place_order/{symbol1}/{symbol2}
- [X] POST https://cex.io/api/get_order/
- [X] POST https://cex.io/api/get_order_tx/
- [ ] POST https://cex.io/api/get_address/
- [ ] POST https://cex.io/api/get_myfee/
- [ ] POST https://cex.io/api/cancel_replace_order/{symbol1}/{symbol2}