R API client for Deribit cryptocurrency exchange. Loosely based on deribit-api-python
This package is not on CRAN, so you'll have to use devtools
package to install it from Git:
devtools::install_git("https://github.com/paltsev-p/rderibit")
rderibit::getorderbook("BTC-28DEC18-3500-P", simplify = TRUE)
Public API methods:
getorderbook
getinstruments
getcurrencies
getsummary
index
stats
getlasttrades
Obtain your ACCESS_KEY
and ACCESS_SECRET
keys from Deribit and construct the following list
keys <- list(key = ACCESS_KEY, secret = ACCESS_SECRET)
rderibit::getopenorders(keys, simplify = F)
Private API methods:
account
buy
sell
cancel
cancelall
edit
getopenorders
positions
orderhistory
tradehistory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.