powered by
kucoin_signature
kucoin_signature(api_secret, time, method, path, body)
returns a signature for use in you Kucoin API calls.
your Kucoin API secret
a timestamp string formatted the way Kucoin requires. This can be created with the "kucoin_time" function.
"GET" or "POST"
the endpoint you are using to make an API call.
needs to be a json string which matches url parameters. Use a blank string if not applicable.
if (FALSE) { api_secret <- "..." time <- kucoin_time() method <- "GET" path <- "/api/v1/sub/user" body <- "" sig <- kucoin_signature(api_secret, time, method, path, body)}
Run the code above in your browser using DataLab