powered by
Use tn_post_bitmex() to send POST requests to the testnet API. All POST requests require authentication.
tn_post_bitmex()
tn_post_bitmex(path, args = NULL)
Returns a data.frame containing the response from the request.
data.frame
string. End point for the api.
A named list containing valid parameters for the given API endpoint.
https://www.bitmex.com/api/explorer/
if (FALSE) { # edit leverage on a position tn_post_bitmex( path = "/position/leverage", args = list("symbol" = "XBTUSD", "leverage" = 10) ) }
Run the code above in your browser using DataLab