Author

Topic: Rbitcoin - R & bitcoin integration (bitstamp, btce, kraken) (Read 7166 times)

full member
Activity: 175
Merit: 100

If you are using the package on one market only, or at least build a logic per market, you should not see any difference, as you can, and probably want to, use market.api.query (it returns full results from market's API). If you are going to build market independent logic than, yes, you might be interested of market.api.process.I'm not sure if required packages will be loaded automatically when loading Rbitcoin, be aware of require/library them (RCurl, RJSONIO, digest, data.table).I think I will stick with the cran for now (updates there allowed each 1-2 months). The only changes which I'm currently planning to do till v1.0 is to extend the api.dict for all common API methods + more error catching, so it affect market.api.process only.
Unfortunately I'm currently focus on other project, Rbitcoin will be updated, but because of that other project I will stick with cran and monthly updates.

Looks like mine post, seems to be valid too... anyway
I don't plan to release further versions to CRAN repo. I already settled using locally per-package repositories hosted on github.io or gitlab.io (installation is seamless from package source directly). Besides there isn't much development ongoing now, and no plans for any. Package is working fine, and I already moved to other non-cryptocurrency related projects.
Current version of Rbitcoin is 0.9.5.1 (2015-10-04).
Last release to CRAN was 0.9.2 (2014-09-01).
legendary
Activity: 1708
Merit: 1000
Reality is stranger than fiction
Thank you so much for this. I'll try it soon  Smiley
legendary
Activity: 1143
Merit: 1000
It already fetches data from blockchain.info, if not already in tabular form then in close to tabular (list with tabular, or tabular with list, etc). Should be easy to transform.
The project is not much actively developed anymore, I believe at least to the next bobble Smiley

Thanks for your answer i just saw the date...I'll try to use it tomorrow, installation went smooth, if i can get some data from blockchain.info with it then should be pretty easy easy to convert to my desired format with R.
full member
Activity: 175
Merit: 100
It already fetches data from blockchain.info, if not already in tabular form then in close to tabular (list with tabular, or tabular with list, etc). Should be easy to transform.
The project is not much actively developed anymore, I believe at least to the next bobble Smiley
legendary
Activity: 1143
Merit: 1000
Really nice work, I'm going to test it tomorrow, is there anyway or are you thinking on making it compatible with a blockchain explorer to get information for specified address on tabular form?

will donate on next payment from work.. keep up the good work.
legendary
Activity: 938
Merit: 1000
chaos is fun...…damental :)
full member
Activity: 175
Merit: 100
Rbitcoin 0.9 just released to CRAN
member
Activity: 102
Merit: 10
Hello MusX,

congratz, R community needs this, I suggest You publish it over at r-projects.org as well.

Most of stuff I assume builds up on Your previous script for collecting mtgox realtime data, which I used. Thanks.

Will report the results when I get the chance to use it more.
full member
Activity: 175
Merit: 100
Update was done recently, current version is 0.8, heavily extended, all changes listed in NEWS on the package homepage in CRAN. Rbitcoin v0.8 Windows binaries are not yet in all of the mirrors so it is recommended to download now using:
Code:
install.packages("Rbitcoin", dependencies = TRUE, repos = "http://cran.us.r-project.org")
sr. member
Activity: 364
Merit: 250
Hi thanks!
I have installed R and RStudio now, but have to take some time, to look if i can do something and what i will understand. Wink
full member
Activity: 175
Merit: 100
I'm very happy that you are sharing this R package. I'm going to test it.
And I'm happy you've included kraken in the list of supported exchange.

I dunno I will find to do test it today, but as soon as I get some review, I'll let you know.

One last thing: are you planning to host the code somewhere like github or similar ?
Yes, I've share it on github, v0.6, but I'm not updating it currently, github require .net on windows platform which I do not use. I think I will stick with the cran for now (updates there allowed each 1-2 months). The only changes which I'm currently planning to do till v1.0 is to extend the api.dict for all common API methods + more error catching, so it affect market.api.process only.
If you are using the package on one market only, or at least build a logic per market, you should not see any difference, as you can, and probably want to, use market.api.query (it returns full results from market's API). If you are going to build market independent logic than, yes, you might be interested of market.api.process.
Unfortunately I'm currently focus on other project, Rbitcoin will be updated, but because of that other project I will stick with cran and monthly updates.
I'm not sure if required packages will be loaded automatically when loading Rbitcoin, be aware of require/library them (RCurl, RJSONIO, digest, data.table).
legendary
Activity: 1260
Merit: 1008
I'm very happy that you are sharing this R package. I'm going to test it.
And I'm happy you've included kraken in the list of supported exchange.

I dunno I will find to do test it today, but as soon as I get some review, I'll let you know.

One last thing: are you planning to host the code somewhere like github or similar ?
full member
Activity: 175
Merit: 100
Rbitcoin - R & bitcoin integration (bitstamp, btce, kraken)

I would like to share R package. Current version 0.9
R is programming environment, R packages are the plugins.

Use cases:
- place limit buy/sell orders without the need to enter lagged market’s websites - you can place an order in a most efficient way, directly on market’s API.
- call any other method on the market’s API, both public and private.
- transform the data returned by API calls to tabular shape.
- easy to code a stop loss (download ticker, conditionally place order).
- build a wider logic on the package and create any bot you can imagine.

Package advantages:
- open source
- handle following markets: mtgox, bitstamp, btce, kraken
- unification of in-out data structures used in markets API communication
- error handling (R level error and market level error)
- comprehensive documentation

Package is available in the global repository cran, which increase its accessibility.
Link to package on cran: http://cran.r-project.org/web/packages/Rbitcoin/index.html

In R application you need to run:
Code:
install.packages("Rbitcoin", dependencies = TRUE)                     #package installation
library("Rbitcoin")                                                   #package loading
?btc                                                                  #run documentation
Documentation is also available in pdf on site linked above.

R homepage: http://www.r-project.org/
Recommended also RStudio (Powerful IDE for R): http://www.rstudio.com/

BTC donation: bitcoin:15Mb2QcgF3XDMeVn6M7oCG6CQLw4mkedDi

known issues in 0.9:
- I forget to export antiddos function, call it by Rbitcoin:::antiddos till the next update
Jump to: