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 |
list (or it's nested data.table object) returned by |
open_orders |
list (or it's nested 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 | ## Not run:
wallet <- market.api.process('kraken', action='wallet', key='', secret='')
open_orders <- market.api.process('kraken', action='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.