Narrow width layout Medium width layout Full-screen width layout    Small text Medium text Large text    Color Palette Selector      Search
Register  |  
Forum policy    

These Discussion Forums are dedicated to discussions on Sophis products. Some are private, you shall be connected to see their content.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to Sophis products.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Publishing information for insider trades or other illegal trading is forbidden and will be reported,
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Private messaging between users is enable. If you already put a message on forums, a registered user can send you a private message by clicking on the username link, and thus on the "Message User" link on the "Private Messaging" row. The messages can be read by clicking on the Inbox button of the toolbar.

 
Forums    
 
  Forum  Risque Support  Calculation ser...  Calculation Servers and Data updates
Previous Previous
 
Next Disabled
New Post 1/15/2008 3:27 AM
  Laurent
21 posts
9th Level Poster


Calculation Servers and Data updates 

Bonjour.

  Ci-dessous des questions sur le fonctionnement de la gestion des paramètres de calcul quand on utilise les CS.

 La question initiale vient du FO qui veut pouvoir modifier les paramètres (vols, correls, …) alors que des calculs sont encore en cours

 Scenario 1 : changement de la volatilité après le début du calcul

 Step1 : folio charge, position d’options sur le HSI (temps de calcul = 10 minutes environ)

Step2 : lancement du calcul sur CS (5 CS)

Step3 : 1 minute après le début : changement de la volatilité du HSI

 Questions :

1 – Est-ce que la volatilité est chargée au début du calcul et gardée telle quelle tout au long du calcul ?

2 - Peut on garantir que la mise a jour ne sera pas vue par les CS tant que le calcul n’est pas fini ?

3 – Même questions pour les taux, les changes, les courbes de taux, les last les dividendes…les corrélations …

 

Scenario 2 : changement de la volatilité après le début du calcul

 Step1 : folio charge, position d’options sur le HSI (temps de calcul = 10 minutes environ)

Step2 : lancement du calcul sur CS (1 CS, les autres sont occupés)

Step3 : 1 minute après le début : changement de la volatilité du HSI

Step4 : le calcul à côté est fini, des CS sont maintenant disponibles, le calcul HSI démarre sur 3 autres CS

 Mêmes questions que ci-dessus

 
Scenario 3 : changement des corrélations après le début du calcul (book d’exotiques, temps de calcul 5h, 10 calculateurs)

 Step1 : lancement des calculs. Comme le calcul des produits est long, un couple particulier peut ne pas être utilise immédiatement, et n’avoir jamais été chargé (sachant qu’au chargement, seul le numéro du graphe est chargé, pas les points)

Step2 : changement de ce couple (via l’interface Sophis avec notification, pour préciser)

Step3 : le couple est utilisé dans un calcul

 Question : quelle valeur est prise ?

 Laurent

 
New Post 1/15/2008 9:21 AM
  Philippe Bonneau
254 posts
www.ebsys.fr
1st Level Poster


Re: Calculation Servers and Data updates 

Hi Laurent,

First, could you write your questions in English, please?

Secondly, the answer, as I would see it, but to confirm by a Sophis guy:

1 - on Sophis Risque and CS, the code is the same, it concerns the API code. This code is mono-thread. Notification messages are received on a thread, and stored in a stack, but treatment concerning the message occur always on the main thread. So, if calculation occur, the instrument is calculated on the main thread. And if a notification occur too, during the instrument calculation, the notification is resolved after the calculation.

2 - for Sophis Risque v4.5.1and before, when notifications occur, even if the underlying is not used, all data are loaded. This is the behavior detected on CPPI, if you remember, except if Sophis corrected the problem...

3 - to confirm, but there is no lock on a portfolio calculation or on an instrument calculation: it means that if an instrument is calculated on a CS, during the calculation or the part of the calculation, there is no market data change. If a notification message occur and if the CS is free, the notification message will load the data. For instance, for an instrument where the Monte Carlo is distributed, during the Monte Carlo calculation on a CS, there is no change. If all CS are free before an instrument calculation and if all calculation of different parts of the Monte Carlo occur at the same time, no market data change will be taken in account. There could be a problem on this scenario:

 

  • CS1 is calculating an instrument 1 (not free)
  • CS2 begins to calculate an instrument 2, Monte Carlo part 1
  • market data notification occur
  • CS1 is released,
  • market data notification is taken in account on CS1
  • CS1 calculates instrument 2, Monte Carlo part 2.

For portfolio, and with instruments with the same underlying, the problem is the same. IMHO, notification data will always be loaded between two calculations.

Rgds,
Philippe

 
Previous Previous
 
Next Disabled
  Forum  Risque Support  Calculation ser...  Calculation Servers and Data updates
 Syndicate  

Copyright 2007-2008 by Ebsys  | Terms Of Use | Privacy Statement  | Skin by Speerio