post_bitmex | R Documentation |
Use post_bitmex()
to send POST requests. All POST requests require authentication.
post_bitmex(path, args = NULL)
path |
string. End point for the api. |
args |
A named list containing valid parameters for the given API endpoint. |
Returns a data.frame
containing the response from the request.
https://www.bitmex.com/api/explorer/
## Not run:
# edit leverage on a position
post_bitmex(
path = "/position/leverage",
args = list("symbol" = "XBTUSD", "leverage" = 10)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.