okcoin_signature {cryptotrackr} | R Documentation |
okcoin_signature
Description
okcoin_signature
Usage
okcoin_signature(path, secret, formatted_time, method)
Arguments
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' |
Value
returns a base64 encoded SHA256 signature for signing Okcoin API calls
Examples
## Not run:
path <- "..."
secret <- "..."
formatted_time <- okcoin_time()
method <- "GET"
signature <- okcoin_signature(path, secret, formatted_time, method)
## End(Not run)
[Package cryptotrackr version 1.3.3 Index]