ransaction is a “Buy” (B) or a “Sell” (S), and only this two values are allowed.</p>
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="fu"><a href="https://rdrr.io/r/base/unique.html" class="external-link">unique</a></span><span class="op">(</span><span class="va">trx</span><span class="op">$</span><span class="va">type</span><span class="op">)</span>
<span class="co">#&gt; [1] "B" "S"</span></code></pre></div>
<p>Moreover, as expected, not a