All Projects → ropensci → bittrex

ropensci / bittrex

Licence: other
A R Client for the Bittrex Crypto-Currency Exchange

Programming Languages

r
7636 projects
TeX
3793 projects

Projects that are alternatives of or similar to bittrex

ropenaq
⛔ ARCHIVED ⛔ Accesses Air Quality Data from the Open Data Platform OpenAQ
Stars: ✭ 69 (+165.38%)
Mutual labels:  r-package, peer-reviewed
rdefra
rdefra: Interact with the UK AIR Pollution Database from DEFRA
Stars: ✭ 14 (-46.15%)
Mutual labels:  r-package, peer-reviewed
suppdata
Grabbing SUPPlementary DATA in R
Stars: ✭ 31 (+19.23%)
Mutual labels:  r-package, peer-reviewed
getCRUCLdata
CRU CL v. 2.0 Climatology Client for R
Stars: ✭ 17 (-34.62%)
Mutual labels:  r-package, peer-reviewed
nomisr
Access UK official statistics from the Nomis database through R.
Stars: ✭ 30 (+15.38%)
Mutual labels:  r-package, peer-reviewed
roadoi
Use Unpaywall with R
Stars: ✭ 60 (+130.77%)
Mutual labels:  r-package, peer-reviewed
rdflib
📦 High level wrapper around the redland package for common rdf applications
Stars: ✭ 47 (+80.77%)
Mutual labels:  r-package, peer-reviewed
geoparser
⛔ ARCHIVED ⛔ R package for the Geoparser.io API
Stars: ✭ 38 (+46.15%)
Mutual labels:  r-package, peer-reviewed
oai
OAI-PMH R client
Stars: ✭ 13 (-50%)
Mutual labels:  r-package, peer-reviewed
robotstxt
robots.txt file parsing and checking for R
Stars: ✭ 65 (+150%)
Mutual labels:  r-package, peer-reviewed
NLMR
📦 R package to simulate neutral landscape models 🏔
Stars: ✭ 57 (+119.23%)
Mutual labels:  r-package, peer-reviewed
weathercan
R package for downloading weather data from Environment and Climate Change Canada
Stars: ✭ 83 (+219.23%)
Mutual labels:  r-package, peer-reviewed
cyphr
Humane encryption
Stars: ✭ 91 (+250%)
Mutual labels:  r-package, peer-reviewed
rrlite
R interface to rlite https://github.com/seppo0010/rlite
Stars: ✭ 16 (-38.46%)
Mutual labels:  r-package, peer-reviewed
riem
✈️ ☀️ R package for accessing ASOS data via the Iowa Environment Mesonet ☁️ ✈️
Stars: ✭ 38 (+46.15%)
Mutual labels:  r-package, peer-reviewed
nlrx
nlrx NetLogo R
Stars: ✭ 66 (+153.85%)
Mutual labels:  r-package, peer-reviewed
medrxivr
Access and search medRxiv and bioRxiv preprint data
Stars: ✭ 34 (+30.77%)
Mutual labels:  r-package, peer-reviewed
PostcodesioR
API wrapper around postcodes.io - free UK postcode lookup and geocoder
Stars: ✭ 36 (+38.46%)
Mutual labels:  r-package, peer-reviewed
opencage
🌐 R package for the OpenCage API -- both forward and reverse geocoding 🌐
Stars: ✭ 82 (+215.38%)
Mutual labels:  r-package, peer-reviewed
VOSONDash
R Shiny application for interactive analysis of networks created by vosonSML.
Stars: ✭ 44 (+69.23%)
Mutual labels:  r-package

bittrex: An R client for the Bittrex Crypto-Currency Exchange

Authors: Michael J. Kane
License: LGPL-2

Build Status Coverage Status DOI

Disclaimer

This software is in no way affiliated, endorsed, or approved by the Bittrex 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.

Overview

Package 'bittrex' is an R implementation of the REST interface used by the Bittrex crypto-currency exchange. It provides functions for endpoints supported by the exchange. This includes the ability to retrieve price, volume, and order book 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 that you create an account and create an API and secret key with appropriate permissions.

Private calls retrieve the API and secret key using the BITTREX_API_KEY and BITTREX_SECRET_KEY environment variables. These may be set by the user before opening the R session or, they can be set using the 'bittrex_authenticate' function.

Quickstart

Install

The package is available from GitHub and will be uploaded to CRAN shortly. If you wish to install the development version then install the devtools package, available from CRAN.

#install.packages("devtools")
devtools::install_github("ropensci/bittrex")

Using the Package

After installation, you may query the exchange with any of the public calls. For example, if we want to see the spread of the cost of doge coins in bitcoins, we can use the following code.

library(bittrex)
library(scales)
library(ggplot2)

# The price of doge coins in bitcoins.
doge_btc = bt_getmarkethistory(market='btc-doge')$result

ggplot(doge_btc, aes(x=time_stamp, y=price, group=order_type, 
  color=order_type)) + geom_line() + 
  scale_x_datetime(breaks=date_breaks("hours"), 
    labels=date_format("%m-%d %H:%M")) + xlab("Date and Time") +
  ylab("Price") + scale_colour_discrete(name="Order Type")

Contributing

If you would like to contribute to the project please contact the maintainer directly. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ropensci_footer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].