A few bug fixes from coding in the middle of the night.
Also added the delete current order function.
#############################################################################
# Rbitcoinica v 0.2
#############################################################################
# Dislcaimer: Use at your own risk. We make no gaurantees that this will work. Please
# be advised that bitcoin is highly volitile and you can lose money.
#
# Questions: Visit
http://www.stochastically.com# Donations: 18DjCVYqbHo6vnEZvVkp9ZNNWHJFnHQoyw
#
# This software is released under the GNU General Public License,
# version 3 (GPL-3.0)
#
http://www.opensource.org/licenses/gpl-3.0.htmlthis#
# Purpose: To utizilize the Bitcoinica API for utilization in R for statistical
# analysis and trading.
#
# R is a free software environemnt for statistical computing and graphics.
# It is platform independent. To download see
http://www.r-project.org/#
# Bitcoin is a peer-to-peer digital currency that enables instant payments to anyone.
# For more information see
http://www.bitcoin.org#
# Version Changes:
# v.0.1 - just mimic the Bitcoinica API with R functions
# v.0.2 - Minor bug fixes
Added a function to delete an existing order
###############################################################################
#
# To run first download and/or load the 3 required R packages. You can do this by typing
install.packages("RCurl","rjson","xts")
# After that is completed enter your username and password into R
username = "yourusername"
password = "yourpassword"
# Then just copy and paste the functions into R.
# To run a function type the function name and any variables it has.
y = tick(pair="BTCUSD")
# Most of the functions have output in data frames.
buying pair selling Time spread
1 5.54132 BTCUSD 5.59863 2012-01-30 11:33:53 0.05731
#################################################################################
# QUESTIONS:
#
# If you are confused then feel free to contact me. I can be found on
#
http://www.bitcointalk.org, username dropoutbox
#
# Donations: 18DjCVYqbHo6vnEZvVkp9ZNNWHJFnHQoyw