>
<span class="sd">    :type  lag:                int</span>

<span class="sd">    :param lg_only:            Whether to return a dataset of log returns only</span>
<span class="sd">    :type  lg_only:            bool</span>

<span class="sd">    :param price_only:         Whether to return a dataset of raw prices only</span>
<span class="sd">    :type  price_only:         bool</span>

<span class="sd">    :return:                   The time series</span>
<span class="sd">    :rtype:                    pd.D