Description Usage Arguments Value Examples
Get user's balance(s) list
1 | get_kucoin_balances(currency = NULL, type = NULL)
|
currency |
A |
type |
A |
A tibble
containing balance details
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ## Not run:
# to run this example, make sure
# you already setup the API key
# in a proper .Renviron file
# import library
library(rucoin)
# get user's balance details
balances <- get_kucoin_balances()
# quick check
balances
# get user's balance details for BTC only
balances <- get_kucoin_balances(
currency = "BTC"
)
# quick check
balances
# get user's balance details for trade account only
balances <- get_kucoin_balances(
type = "trade"
)
# quick check
balances
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.