Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #598 from 805karansaini/master
Browse files Browse the repository at this point in the history
updated the year to current year in docs and fundamental ratios link
  • Loading branch information
erdewit authored Jul 2, 2023
2 parents 858ba2c + 1243d35 commit ecad544
Show file tree
Hide file tree
Showing 25 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
source_suffix = '.rst'
master_doc = 'index'
project = 'ib_insync'
copyright = '2022, Ewald de Wit'
copyright = '2023, Ewald de Wit'
author = 'Ewald de Wit'

__version__ = ''
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ <h1>Source code for ib_insync.client</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/contract.html
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ <h1>Source code for ib_insync.contract</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/flexreport.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h1>Source code for ib_insync.flexreport</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/ib.html
Original file line number Diff line number Diff line change
Expand Up @@ -2285,7 +2285,7 @@ <h1>Source code for ib_insync.ib</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/ibcontroller.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ <h1>Source code for ib_insync.ibcontroller</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_modules/ib_insync/objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ <h1>Source code for ib_insync.objects</h1><div class="highlight"><pre>
<div class="viewcode-block" id="FundamentalRatios"><a class="viewcode-back" href="../../api.html#ib_insync.objects.FundamentalRatios">[docs]</a><span class="k">class</span> <span class="nc">FundamentalRatios</span><span class="p">(</span><span class="n">DynamicObject</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> See:</span>
<span class="sd"> https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</span>
<span class="sd"> https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">pass</span></div>
Expand All @@ -580,7 +580,7 @@ <h1>Source code for ib_insync.objects</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/order.html
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ <h1>Source code for ib_insync.order</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/ticker.html
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ <h1>Source code for ib_insync.ticker</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/ib_insync/util.html
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ <h1>Source code for ib_insync.util</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_modules/ib_insync/wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ <h1>Source code for ib_insync.wrapper</h1><div class="highlight"><pre>
<span class="k">elif</span> <span class="n">tickType</span> <span class="o">==</span> <span class="mi">84</span><span class="p">:</span>
<span class="n">ticker</span><span class="o">.</span><span class="n">lastExchange</span> <span class="o">=</span> <span class="n">value</span>
<span class="k">elif</span> <span class="n">tickType</span> <span class="o">==</span> <span class="mi">47</span><span class="p">:</span>
<span class="c1"># https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</span>
<span class="c1"># https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</span>
<span class="n">d</span> <span class="o">=</span> <span class="nb">dict</span><span class="p">(</span><span class="n">t</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span class="s1">&#39;=&#39;</span><span class="p">)</span> <span class="c1"># type: ignore</span>
<span class="k">for</span> <span class="n">t</span> <span class="ow">in</span> <span class="n">value</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span class="s1">&#39;;&#39;</span><span class="p">)</span> <span class="k">if</span> <span class="n">t</span><span class="p">)</span> <span class="c1"># type: ignore</span>
<span class="k">for</span> <span class="n">k</span><span class="p">,</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">d</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
Expand Down Expand Up @@ -1270,7 +1270,7 @@ <h1>Source code for ib_insync.wrapper</h1><div class="highlight"><pre>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h1>All modules for which code is available</h1>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/html/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -11435,7 +11435,7 @@
<dt class="sig sig-object py" id="ib_insync.objects.FundamentalRatios">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">ib_insync.objects.</span></span><span class="sig-name descname"><span class="pre">FundamentalRatios</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/ib_insync/objects.html#FundamentalRatios"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#ib_insync.objects.FundamentalRatios" title="Permalink to this definition"></a></dt>
<dd><p>See:
<a class="reference external" href="https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html">https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</a></p>
<a class="reference external" href="https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html">https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html</a></p>
</dd></dl>

<dl class="py class">
Expand Down Expand Up @@ -12275,7 +12275,7 @@ <h2>Watchdog<a class="headerlink" href="#watchdog" title="Permalink to this head
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ <h3>Version 0.6.0<a class="headerlink" href="#version-0-6-0" title="Permalink to
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ <h2 id="Y">Y</h2>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h2>Disclaimer<a class="headerlink" href="#disclaimer" title="Permalink to this
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/notebooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h1>Python Module Index</h1>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2>Disclaimer<a class="headerlink" href="#disclaimer" title="Permalink to this
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/recipes.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ <h2>Integration with PyGame<a class="headerlink" href="#integration-with-pygame"
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion docs/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2022, Ewald de Wit.</p>
<p>&#169; Copyright 2023, Ewald de Wit.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
2 changes: 1 addition & 1 deletion ib_insync/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def __repr__(self):
class FundamentalRatios(DynamicObject):
"""
See:
https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html
https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html
"""

pass
2 changes: 1 addition & 1 deletion ib_insync/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ def tickString(self, reqId: int, tickType: int, value: str):
elif tickType == 84:
ticker.lastExchange = value
elif tickType == 47:
# https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html
# https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html
d = dict(t.split('=') # type: ignore
for t in value.split(';') if t) # type: ignore
for k, v in d.items():
Expand Down

0 comments on commit ecad544

Please sign in to comment.