kucoin_signature {cryptotrackr} | R Documentation |
kucoin_signature
Description
kucoin_signature
Usage
kucoin_signature(api_secret, time, method, path, body)
Arguments
api_secret |
your Kucoin API secret |
time |
a timestamp string formatted the way Kucoin requires. This can be created with the "kucoin_time" function. |
method |
"GET" or "POST" |
path |
the endpoint you are using to make an API call. |
body |
needs to be a json string which matches url parameters. Use a blank string if not applicable. |
Value
returns a signature for use in you Kucoin API calls.
Examples
## Not run:
api_secret <- "..."
time <- kucoin_time()
method <- "GET"
path <- "/api/v1/sub/user"
body <- ""
sig <- kucoin_signature(api_secret, time, method, path, body)
## End(Not run)
[Package cryptotrackr version 1.3.3 Index]