-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
53 lines (38 loc) · 1.59 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
warning = FALSE,
message = FALSE,
fig.path = "man/figures/README-",
fig.align = "center",
out.width = "100%",
collapse = TRUE,
comment = "#>"
)
options("datatable.print.topn" = 3, "datatable.print.nrows" = 50, "datatable.print.class" = TRUE, "datatable.print.trunc.cols" = TRUE)
```
# kucoin <img src="man/figures/logo-small.png" align="right" height="139" />
<!-- badges: start -->
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://travis-ci.org/dereckmezquita/kucoin)
<!-- badges: end -->
## Installation
You can install the development version of `kucoin` using:
```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("dereckmezquita/kucoin")
```
## Getting Started
### API Authorisation
Some functions in this package require permissioned access and need a proper API key, secret, and passphrase. If you don't have a key, or need more information, visit the [Generating an API Key](https://docs.kucoin.com/#generating-an-api-key){target="_blank}.
#### Setting-up API Key
Use an `.Renviron` file to set your API key. In the `.Renviron` file, insert your API key details as follow:
```bash
# sandbox has been deprecated see kucoin documentation for more information
KC-API-ENDPOINT = "https://api.kucoin.com"
KC-API-KEY = XXXXXXXXXX
KC-API-SECRET = XXXXXXXXXX
KC-API-PASSPHRASE = XXXXXXXXXX
```