Skip to content

Commit

Permalink
v0.3.1 (#17)
Browse files Browse the repository at this point in the history
* v0.3.1rc (#15)

* Refactor of test_optimization

* MeanCVaR example updated

* pnl renamed to R in tests

* v0.3.1rc (#16)

* License and version update

* Type hint fix

Co-authored-by: ft-cama <[email protected]>
  • Loading branch information
antonvorobets and ft-cama authored Dec 31, 2021
1 parent 5a9dfc5 commit fae59c0
Show file tree
Hide file tree
Showing 27 changed files with 115 additions and 134 deletions.
Binary file modified docs/build/doctrees/documentation.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 6c7bb0026531f48645aa272780be46d0
config: 3ee25c9b0f40777996b0dc683c49f1c8
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/build/html/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
Expand Down Expand Up @@ -107,7 +107,7 @@ <h1>Contributing<a class="headerlink" href="#contributing" title="Permalink to t
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
6 changes: 3 additions & 3 deletions docs/build/html/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
Expand Down Expand Up @@ -87,7 +87,7 @@ <h2>Data<a class="headerlink" href="#data" title="Permalink to this headline">
<dd><p>Function for loading the P&amp;L parameters from Vorobets (2021).</p>
<dl class="field-list simple">
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p><code class="xref py py-data docutils literal notranslate"><span class="pre">Tuple</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">DataFrame</span></code>]</p>
<dd class="field-odd"><p><code class="xref py py-data docutils literal notranslate"><span class="pre">Tuple</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">list</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ndarray</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ndarray</span></code>]</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Instrument names, means vector, and covariance matrix.</p>
Expand Down Expand Up @@ -323,7 +323,7 @@ <h2>Optimization<a class="headerlink" href="#optimization" title="Permalink to t
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/build/html/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
Expand Down Expand Up @@ -89,7 +89,7 @@ <h1>Examples<a class="headerlink" href="#examples" title="Permalink to this head
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
Expand Down Expand Up @@ -164,7 +164,7 @@ <h2 id="M">M</h2>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<a href="#" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
Expand Down Expand Up @@ -116,7 +116,7 @@ <h2>Disclaimer<a class="headerlink" href="#disclaimer" title="Permalink to this
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
Binary file modified docs/build/html/objects.inv
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/build/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
Expand Down Expand Up @@ -106,7 +106,7 @@ <h1>Python Module Index</h1>
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/build/html/references.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
Expand Down Expand Up @@ -92,7 +92,7 @@ <h1>References<a class="headerlink" href="#references" title="Permalink to this
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
4 changes: 2 additions & 2 deletions docs/build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="index.html" class="icon icon-home"> fortitudo.tech
</a>
<div class="version">
v0.3
v0.3.1
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
Expand Down Expand Up @@ -84,7 +84,7 @@
<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, Fortitudo Technologies.</p>
<p>&#169; Copyright 2021-2022, Fortitudo Technologies.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -34,11 +34,11 @@
# -- Project information -----------------------------------------------------

project = 'fortitudo.tech'
copyright = '2021, Fortitudo Technologies'
copyright = '2021-2022, Fortitudo Technologies'
author = 'Fortitudo Technologies'

# The full version, including alpha/beta/rc tags
version = 'v0.3'
version = 'v0.3.1'


# -- General configuration ---------------------------------------------------
Expand Down
22 changes: 11 additions & 11 deletions examples/1. MeanCVaR_EntropyPooling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -145,7 +145,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -164,7 +164,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -194,7 +194,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -325,7 +325,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -336,7 +336,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -447,7 +447,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -568,7 +568,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -943,12 +943,12 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"# fortitudo.tech - Novel Investment Technologies.\n",
"# Copyright (C) 2021 Fortitudo Technologies ApS.\n",
"# Copyright (C) 2021-2022 Fortitudo Technologies.\n",
"\n",
"# This program is free software: you can redistribute it and/or modify\n",
"# it under the terms of the GNU General Public License as published by\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/2. EntropyPooling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@
"outputs": [],
"source": [
"# fortitudo.tech - Novel Investment Technologies.\n",
"# Copyright (C) 2021 Fortitudo Technologies ApS.\n",
"# Copyright (C) 2021-2022 Fortitudo Technologies.\n",
"\n",
"# This program is free software: you can redistribute it and/or modify\n",
"# it under the terms of the GNU General Public License as published by\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/3. MeanCVaR_MeanVariance.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
"outputs": [],
"source": [
"# fortitudo.tech - Novel Investment Technologies.\n",
"# Copyright (C) 2021 Fortitudo Technologies ApS.\n",
"# Copyright (C) 2021-2022 Fortitudo Technologies.\n",
"\n",
"# This program is free software: you can redistribute it and/or modify\n",
"# it under the terms of the GNU General Public License as published by\n",
Expand Down
2 changes: 1 addition & 1 deletion fortitudo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion fortitudo/tech/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions fortitudo/tech/data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -31,7 +31,7 @@ def load_pnl() -> pd.DataFrame:
return pd.read_csv(pnl_string)


def load_parameters() -> Tuple[list, pd.DataFrame, pd.DataFrame]:
def load_parameters() -> Tuple[list, np.ndarray, np.ndarray]:
"""Function for loading the P&L parameters from Vorobets (2021).
Returns:
Expand Down
2 changes: 1 addition & 1 deletion fortitudo/tech/entropy_pooling.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion fortitudo/tech/optimization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fortitudo.tech - Novel Investment Technologies.
# Copyright (C) 2021 Fortitudo Technologies ApS.
# Copyright (C) 2021-2022 Fortitudo Technologies.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
Loading

0 comments on commit fae59c0

Please sign in to comment.