## Not run:
# # ticker
# market.api.query(market = 'bitstamp',
# url = 'https://www.bitstamp.net/api/ticker/')
# market.api.query(market = 'btce',
# url = 'https://btc-e.com/api/2/btc_usd/ticker')
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/public/Ticker?pair=XXBTZEUR')
# market.api.query(market = 'bitmarket',
# url = 'https://www.bitmarket.pl/json/LTCPLN/ticker.json')
# # wallet
# market.api.query(market = 'bitstamp',
# url = 'https://www.bitstamp.net/api/balance/',
# client_id = '', # bitstamp specific
# key = '', secret = '')
# market.api.query(market = 'btce',
# url = 'https://btc-e.com/tapi',
# req = list(method = 'getInfo'),
# key = '', secret = '')
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/private/Balance',
# key = '', secret = '')
# market.api.query(market = 'bitmarket',
# url = 'https://www.bitmarket.pl/api2/',
# req = list(method = 'info'),
# key = '', secret = '')
# # order book
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/public/Depth?pair=XXBTZEUR')
# # open orders
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/private/OpenOrders',
# key = '', secret = '')
# # place order
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/private/AddOrder',
# key = '', secret = '',
# req = list(pair = 'XXBTZEUR',
# type = 'sell',
# ordertype = 'limit',
# price = 1200, # 1200 eur
# volume = 0.1)) # 0.1 btc
# # cancel order
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/private/CancelOrder',
# key = '', secret = '',
# req = list(txid = 'id_from_open_orders'))
# # trades
# market.api.query(market = 'kraken',
# url = 'https://api.kraken.com/0/public/Trades?pair=XXBTZEUR')
# ## End(Not run)
Run the code above in your browser using DataLab