lass="highlight"><pre><span></span><span class="c1"># Compute optimal trades</span>
<span class="n">results</span><span class="p">,</span> <span class="n">netted_trades</span> <span class="o">=</span> <span class="n">oracle</span><span class="o">.</span><span class="n">compute_optimal_trades_for_all_strategies</span><span class="p">(</span>
    <span class="n">settings</span><span class="o">=</span><span class="p">{</span>
        <span class="s2">&quot;strategies&quot;</span><span class="p">:</span> <span 