aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/process.rst40
1 files changed, 18 insertions, 22 deletions
diff --git a/docs/process.rst b/docs/process.rst
index 359fd5c0..b5d85c1e 100644
--- a/docs/process.rst
+++ b/docs/process.rst
@@ -5,6 +5,18 @@ In everything that follows the paths are relative from
our directory ``//WDSENTINEL/share/CorpCDOs`` on Windows and
``/home/share/CorpCDOs`` on Linux.
+Restarting the tasks server
+--------------------------
+
+Most of the operation below rely on the task server being
+operational. In the unlikely event that it stops, it can be restarted
+as follows: ::
+
+ ssh debian
+ cd /home/share/CorpCDOs/code/python
+ python http-server.py stop
+ python http-server.py start
+
Load data from intex and populate the database
----------------------------------------------
@@ -33,30 +45,14 @@ From the spreadsheet, this is driven by the two shortcuts
``Portfolio_TrInfo(i).txt`` for some ``i``.
We're done exporting the data from intex, now we need to load it into
-the database. We need to run 2 scripts. To do so, after connecting to
-the remote server, at the prompt do: ::
-
- cd /home/share/CorpCDOs/code/python
- python load_indicative.py
- python load_intex_collateral.py
-
-The script ``load_intex_collateral.py`` might error out, just type c and
-enter to keep it going.
+the database. To that end, click on the link ``Load Intex Indicative Data``
+in the Excel spreadsheet.
Steps to build the model
------------------------
-* We need to have a monitor running that will trigger the scenarios
- generations for us. ::
-
- cd /home/share/CorpCDOs/scripts
- bash monitor.sh
-
- **Note** need to set it up as a daemon so that it get automatically
- started at boot.
-* After that, scenarios generation can be triggered by selecting the
- cusips in the excel spreadsheet and using the ``CTRL+Shift+H``
- shortcut.
+* Scenarios generation can be triggered by selecting the cusips in the
+ excel spreadsheet and using the ``CTRL+Shift+H`` shortcut.
* To disable Reinvestment put "Y" under "DisableReinv" column before
using ``CTRL+Shift+H``.
* htop to monitor server activities.
@@ -66,7 +62,7 @@ Steps to build the model
them into ``Scenarios/Intex curves_%Y-%m%d/csv``, and finally
generate the sss files that we can load into intex in
``Scenarios/Intex curves_%Y-%m%d/sss``.
-* You can look at the logs file in ``scripts/logs``
+* You can look at the logs file in ``logs``
to monitor the process.
@@ -101,7 +97,7 @@ Running the scenarios in Intex
Calibration
-----------
-The model calibration is triggered via a cronjob at 8pm. If something
+The model calibration is triggered via a cronjob at 8am. If something
wrong happened or we forgot to save the data, it's possible to
re-trigger it manually as follows: ::