Description Usage Arguments Value References See Also Examples
View source: R/market_hitbtc.R
Send request to hitbtc market API.
1 2 | market.api.query.hitbtc(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 |
Character string a response from markets API call.
https://github.com/hitbtc-com/hitbtc-api
1 2 3 4 5 6 7 8 9 | ## Not run:
# ticker
market.api.query.hitbtc(url = "https://api.hitbtc.com/api/1/public/BTCUSD/ticker")
# wallet
market.api.query.hitbtc(url = "https://api.hitbtc.com/api/1/trading/balance",
key = '', secret = '')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.