powered by
okcoin_spot_account_info
okcoin_spot_account_info(secret, key, passphrase, timeout_seconds = 60)
returns a dataframe containing your spot account balances
your secret key for Okcoin
your API key for Okcoin
the passphrase which you created when generating your Okcoin API key
seconds until the query times out. Default is 60.
if (FALSE) { secret <- "..." key <- "..." passphrase <- "..." balances <- okcoin_spot_account_info(secret, key, passphrase)}
Run the code above in your browser using DataLab