Description Usage Arguments Value References See Also Examples
Send request to mtgox market API. MtGox is already closed but public API calls are working. Also it's code/dictionary can be reused in future.
1 2 | market.api.query.mtgox(url, key, secret, req = list(),
verbose = getOption("Rbitcoin.verbose", 0))
|
url |
character with url on which query needs to be passed. |
key |
character API key used in private API calls. |
secret |
character API secret used in private API calls. |
req |
list of object passed to API: price and amount of opening order, id of cancelling order, etc. |
verbose |
integer. Rbitcoin processing messages, print to console if |
R object created by fromJSON
decoded result from market's API call.
https://bitbucket.org/nitrous/mtgox-api
1 2 3 4 5 6 7 8 | ## Not run:
# ticker
market.api.query.mtgox(url = 'https://data.mtgox.com/api/2/BTCUSD/money/ticker_fast')
# wallet
market.api.query.mtgox(url = 'https://data.mtgox.com/api/2/BTCUSD/money/info',
key = '', secret = '')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.