.</p>
<p>Open .Renviron:</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="fu"><a href="https://rdrr.io/r/utils/file.edit.html">file.edit</a></span><span class="op">(</span><span class="st">"~/.Renviron"</span><span class="op">)</span></code></pre></div>
<p>For a testnet API key use:</p>
<pre><code>testnet_bitmex_apikey = "your testnet api key"
testnet_bitmex_apisecret = "your testnet api sectret"</code></pre>
<p>For a live API key use:</p>
<pre>