View source: R/private_balance.R
Get current account balances Requires API key access
1 | private_balance(exchange, portfolio = NULL, dry_run = FALSE)
|
exchange |
Which exchange to use. Supported value is "coinbase-pro". |
portfolio |
Optional value if you have multiple portfolios with separate API keys in an exchange.
This must match the set API key value in the system environment.
Use |
dry_run |
If TRUE, call httr2::req_dry_run, which shows the API call without actually sending it. In this case, there may be some discrepancy since the actual call will use httr to send, not httr2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.