powered by
okcoin_signature
okcoin_signature(path, secret, formatted_time, method)
returns a base64 encoded SHA256 signature for signing Okcoin API calls
the API endpoint
your Okcoin secret key
a string containing the currrent timestamp in ISO 8601 format
'POST' or 'GET'
if (FALSE) { path <- "..." secret <- "..." formatted_time <- okcoin_time() method <- "GET" signature <- okcoin_signature(path, secret, formatted_time, method)}
Run the code above in your browser using DataLab