kucoin_accounts {cryptotrackr}R Documentation

kucoin_accounts

Description

kucoin_accounts

Usage

kucoin_accounts(
  api_key,
  api_secret,
  passphrase,
  version = "2",
  timeout_seconds = 60
)

Arguments

api_key

your Kucoin API key.

api_secret

your Kucoin API secret.

passphrase

the passphrase you created when you created your Kucoin API key.

version

your API key version. This can be retrieved from your Kucoin API console. The default value is "2".

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a dataframe containing your Kucoin accounts and balances.

Examples

## Not run: 
api_key <- "..."
api_secret <- "..."
passphrase <- "..."
accounts <- kucoin_accounts(api_key, api_secret, passphrase)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]