okcoin_signature | R Documentation |
okcoin_signature
okcoin_signature(path, secret, formatted_time, method)
path |
the API endpoint |
secret |
your Okcoin secret key |
formatted_time |
a string containing the currrent timestamp in ISO 8601 format |
method |
'POST' or 'GET' |
returns a base64 encoded SHA256 signature for signing Okcoin API calls
## Not run:
path <- "..."
secret <- "..."
formatted_time <- okcoin_time()
method <- "GET"
signature <- okcoin_signature(path, secret, formatted_time, method)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.