Description Usage Arguments Value See Also Examples
Calculates assets available to trade, not on hold by current open orders.
1 2 | available_wallet(wallet, open_orders, verbose = getOption("Rbitcoin.verbose",
0))
|
wallet |
data.table object returned by |
open_orders |
data.table object returned by |
verbose |
integer. Rbitcoin processing messages, print to console if |
data.table object, the same as wallet but with the appropriate amounts after subtracting the open orders amounts.
1 2 3 4 5 6 7 8 | ## Not run:
wallet <- market.api.process('kraken',c('BTC','EUR'),'wallet', key = '', secret = '')
Sys.sleep(10)
open_orders <- market.api.process('kraken',c('BTC','EUR'),'open_orders', key = '', secret = '')
aw <- available_wallet(wallet, open_orders, verbose = 1)
print(aw)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.