lass="kc">True</span><span class="p">)</span>

            <span class="n">universe_dict</span><span class="p">[</span><span class="n">instrument</span><span class="p">]</span> <span class="o">=</span> <span class="n">df</span>

    <span class="k">elif</span> <span class="n">commodity_name</span> <span class="o">==</span> <span class="s2">&quot;custom&quot;</span> <span class="ow">and</span> <span class="n">custom_list</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</spa