<code>bitmex_apikey = "your live api key"
bitmex_apisecret = "your live api sectret"</code></pre>
<p>Make sure to restart your R session after making changes to the .Renviron file!</p>
<p>Functions in <code>bitmexr</code> requiring authentication will use relevant key/secret when creating the encrypted signature to send to private API endpoints. You can use the testnet API to ensure the functions work as you’d expect prior to using the live API.</p>
<p>For more information about how the authentication pro