Testing the Market risk and Portfolio risk Analyzer modules.

Hi guys,
Somehow(don't ask me how) I have configured Market risk analyzer and Portfolio risk analyzer module. When I run report AIS_STDREP it spews out some figures for Duration, convexity... TWRR, MWRR... etc. But I am clueless as to how to test whether these figures are correct.
Any help in this direction will be highly appreciated.
Thanks
Kalyan

Hi,
I would test them manually using the formulas.
E.g. for a fixed semiannual coupon bond, we can first calculate the present value (PV) of each coupon and principal payment by dividing that amount by (1y)^t where y is seminanual coupon and t is 1 for 6 months, 2 for 1 year, etc. Multiply each PV by corresponding t to get corresponding duration term and then add up all duration terms to get dollar duration. Divide that by face value to get duration (in half years) and further divide by 2 to get duration in years. This would be Macaulay duration. Divide by 1y to get modified duration in years.
For convexity, multiply each PV by t(t1)/(1y)^2 to get corresponding convexity term; then add up all convexity terms to get dollar convexity. Divide that by face value to get convexity (in half years squared ) and further divide by 4 to get convexity in years squared.
As you know, it is much simpler for a zero coupon bond; so may be that scenario can be tried first to see if system is producing correct values. Duration (Macaulay) is same as actual duration (term) of the bond and Modified duration is D/(1y); Convexity is T(T1)/(1+Y)^2.
For a long duration bond (say, 30 years or more), duration does not depend on the coupon and is approximately (1+y)/y.
Manish

Similar Messages

  • How to Test the individualmapping field and conditions...

    Hi Frnds,
    I done mapping from source to destination as per tech spec in my scenario based on some conditions
    i used node functions also..
    But my question is how to test the every mapping filed , condition is correct or not, what i used node function working properly or not...
    Regards,
    Raj

    Hi
    If you want to check mapping for individual mapping then in design go to test tab and put your data there and then come again on Design tab and click on any target field fro which you want to check mapping then right click on target field in mpping area and click on Display queue and check whether it is expected output for that particular field mapping.
    Regards
    Sami
    Reward points if useful.

  • How to test the JSP pages and sevlets using JUnit. ?

    How to test the JSP pages using JUnit. How to configure what are all the steps to execute the JUnit test cases.

    Hi xiepei,
    since you are using modbus, a simple error checking is implicit in the protocol and is the comparison between returned checksum and the calculated one on the received message: checksum errors, if any, are an effect of communications errors (you should have at least 2 bits changed and on particular patterns to have the checksum be calculated correctly!). You won't be able to calculate BER on them, but you can calculate PER (Packet Error Rate).
    Another flag for communication errors, on the other direction, is to intercept error messages from the device: if it fully implements modbus protocol, it should return some warning in case of error (I seem to remember that in some cases it returns the reveived message with some error bits added: please check in modbus documentation).
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to test the communication stability and calculate ber using the CVI ?

    Our chief engineer gave me a task yeasterday.He asked me to do software testing and calculate bit error rate that we would know our communication stability.
    However,I have never touched this aspect of knowledge. I have known a bit about CVI and I want to write  bit error rate code using CVI.Thus,I could test the communication stability.
    But I don't know how to analyse and judge the receiving codes whether they are right or wrong.
    We use Modbus communication protocol and receive data via serial port,so I want to save all datas and record the total datas number ,marking as M.
    then,save the eligible datas and record the mumber marking as N. So, bit error rate is (M-N)/M   .
    Whether this is feasible ? Or you have any good idea. Thank you very much.
    unsigned char in_data[100];
    inqlen = GetInQLen (comport);
    for(i=0;i<inqlen;i++)
    in_data[i]=ComRdByte(comport);
     Above is my code that receive all datas and I want to save the array in_data[] data and record the number.
    switch(inqlen)
    case 19:
    crc=usMBCRC16(in_data,inqlen );
    if((in_data[1] == 0x03)&&(crc==0)&&(in_data[0]==device_addr))
     Above is the condition judgement that receive eligible datas which number marks as N.
    I know there is a precondition that I filter out all the wrong data . However ,I don't know any good idea. I will appreciate if anyone could help me.
    Thank you very much.
    Best regards.
    xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.
    Solved!
    Go to Solution.

    Hi xiepei,
    since you are using modbus, a simple error checking is implicit in the protocol and is the comparison between returned checksum and the calculated one on the received message: checksum errors, if any, are an effect of communications errors (you should have at least 2 bits changed and on particular patterns to have the checksum be calculated correctly!). You won't be able to calculate BER on them, but you can calculate PER (Packet Error Rate).
    Another flag for communication errors, on the other direction, is to intercept error messages from the device: if it fully implements modbus protocol, it should return some warning in case of error (I seem to remember that in some cases it returns the reveived message with some error bits added: please check in modbus documentation).
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • I tested the FTP connection and says good, but nothing shows up on my domain name address?

    I have a 3 page website built in iWeb. Tested the connection after entering my domain and FTP user info, said "test successful". I go to my domain name and all it says in "coming soon" for the past 36+ hours. I contacted GoDaddy to ensure it wasn't them, they assured all was well.
    How can I get this website PUBLISHED???
    I even tried save to folder and it doesn't show up in the folder. Also, now the "Publish" button and "Visit" button are greayed out?
    Please help, I open my diner Saturday and have a radio ad driving traffic to a non-existent website!!
    Thanks!!

    Set the publish destination to the Desktop and use the File ➙ Publish Entire site menu option to publish the site.  It will result in your site folder, an index.html file and an asset file on your Desktop.
    You can always publish your site to a designated folder on your hard drive and use the free FTP client  Cyberduck to upload the site folder and index.thml file to your server. With CD you can see your root folder on the server as if in a Finder window.  With iWeb you're shooting blind.
    What's the URL of your site so we can check there first hand?
    OT

  • Market Risk Analyzer - Master data - Generic Transaction (RCA00)

    Hi Expert,
    Can anybody tell mw how we create mass Generic transaction (RCA00) in MRA. Is there any way to create mass generic transaction.
    Thanks and Regards
    Gaurav

    Thanks Konstantin for your reply.
    We manage our forex transactions in a custom development in SAP (not using product cat 600) but have a Z development. we want to calculate NPV and risks on these deals using tcode JBRX . we understand to achieve this we need to create a generic transaction in RCA00 (for non sap deals) and then assign in JBDO.
    Can we use the function module (RM_RRT_FDU_KO ) to create generic transactions for this purpose? we could not figure out the input format for this function. Pl guide. is there any documentation/ note available?
    Regards,
    Gaurav

  • Market Risk Analyzer : ALM simulation

    Business requirement : to make a interest income/expense budget/forecast for the next fiscal year and to evaluate the P&L impact of future changes in the debt / investment portfolio.
    Idea for solution : JBRT_CFM report (Net Interest income tab)
    Problem :
    1. There are many (intercompany) loans are rolled over many times during the year. The same holds for the short term investments in securities.
    2. On the other hand, there are also expected pre-payments on some of the existing loans, that will be renewed at different conditions or that will not be renewed at all.
    Is there an other solution than to create manually a bunch of fictitious transactions
    OR
    is there better report for this kind of request?
    I was also considering report AISPL, but I do not fully grasp the figures of this report and I cannot find any good documentation about it neither), so my focus for this business requirement is still on JBRT_CFM.
    I have seen in SPRO a node "additional settings for simulation using scenarios", but I am not sure of its relevance for net interest income calculation in JBRT_CFM.
    Has anyone relevant experience and good suggestions to meet such business requirement in SAP?
    Thanks,
    Carl

    Hi Carl,
    AISPL is not going to help you much on this.
    You are absolutely right. JBRT_CFM is your best bet to work on such a scenario. If you are expecting some loan rollovers which is not in your deal yet or a coupon interest payment from a security which is also not in the class position, then fictitious transaction is the only option you have.
    Regards,
    Jitesh

  • Market Risk Analyzer : JBRT_CFM ALM Simulation

    Business requirement : to make a interest income/expense budget/forecast for the next fiscal year and to evaluate the P&L impact of future changes in the debt / investment portfolio.
    Idea for solution : JBRT_CFM report (Net Interest income tab)
    Problem :
    1. There are many (intercompany) loans are rolled over many times during the year. The same holds for the short term investments in securities.
    2. On the other hand, there are also expected pre-payments on some of the existing loans, that will be renewed at different conditions or that will not be renewed at all.
    Is there an other solution than to create manually a bunch of fictitious transactions
    OR
    is there better report for this kind of request?
    I was also considering report AISPL, but I do not fully grasp the figures of this report and I cannot find any good documentation about it neither), so my focus for this business requirement is still on JBRT_CFM.
    I have seen in SPRO a node "additional settings for simulation using scenarios", but I am not sure of the relevance for net interest income calculation. Has anyone relevant experience and good suggestions to meet such business requirement in SAP?
    Thanks,
    Carl

    Hi Carl,
    AISPL is not going to help you much on this.
    You are absolutely right. JBRT_CFM is your best bet to work on such a scenario. If you are expecting some loan rollovers which is not in your deal yet or a coupon interest payment from a security which is also not in the class position, then fictitious transaction is the only option you have.
    Regards,
    Jitesh

  • Market risk analyzer ALM simulation JBRT_CFM

    Business requirement : to make a interest income/expense budget/forecast for the next fiscal year and to evaluate the P&L impact of future changes in the debt / investment portfolio.
    Idea for solution : JBRT_CFM report (Net Interest income tab) 
    Problem :
    1.  There are many (intercompany) loans are rolled over many times during the year.  The same holds for the short term investments in securities.
    2. On the other hand, there are also expected pre-payments on some of the existing loans, that will be renewed at different conditions or that will not be renewed at all.
    Is there an other solution than to create manually a bunch of fictitious transactions
    OR
    is there better report for this kind of request?
    I was also considering report AISPL, but I do not fully grasp the figures of this report and I cannot find any good documentation about it neither), so my focus for this business requirement is still on JBRT_CFM.
    I have seen in SPRO a node "additional settings for simulation using scenarios", but I am not sure of the relevance for net interest income calculation.  Has anyone relevant experience and good suggestions to meet such business requirement in SAP?
    Thanks,
    Carl
    Edited by: Carl Gijpen on Jan 28, 2011 6:17 PM

    Hi Carl,
    AISPL is not going to help you much on this.
    You are absolutely right. JBRT_CFM is your best bet to work on such a scenario. If you are expecting some loan rollovers which is not in your deal yet or a coupon interest payment from a security which is also not in the class position, then fictitious transaction is the only option you have.
    Regards,
    Jitesh

  • How to test the extended controller and AM Object

    I added a button in a OAF page and extended the CO and AM. When we click this button, an XML Publisher concurrent program should be called and the PO will be displayed in PDF format.
    What is the best way to test this. Should I copy all the libraries from oracle/apps/... to my pc and attach or can I test without doing this. If so, what is the best approach.
    I am new to this.
    Thanks for your Help.
    HP

    I got the code ready for with extended Co java file. How can test this. How to generate the class file. Once I gerenarate the class file, if I ftp the file to cust/oracle/apps/pos/changeorder/webui and in the personalization if I attach this CO and run the page and click the button will this call the new CO? Yes after FTP the Contorller class file to appropriate path and attach the extended controller through personalization New Controller will get called.
    But DO REMEMBER TO BOUNCE THE APPACHE SERVER then only the extended Controller file get called.
    here is the link having steps to bounce it for Apps 11i.
    http://oracleanil.blogspot.com/2009/04/ncrimmessageproc.html
    Please let me know if these steps are correct..
    1. New OAWorkSpace
    2. New Project
    3. right click on project and click New class to generate the extended CO Class.Yes, It is right..
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Testing the sender AS2 and Split997 adapters in sap xi

    Hi,
    We configured a sender Split997 adapter communication channel in sap xi. Now we want to test if the communication is working fine in converting the EDIfact message to XML. How can we test this.
    Thanks in  advance.

    Wih out the AS2 server access.Is there a way i trigger the sender split9997 adapter for testing.
    You may simply use the file adapter with Split997 and BIC module. It will paste the required output at your required file system.
    For EDIFACT/X12 to EDIFACT-xml/X12-xml or vice versa, BIC Mapper Designer is the tool available with Seeburger Business Suite. This is used to create the sda file which could be deployed on adapter engine of XI. Now when you use bic as module, then the conversion will take place according to the mapping defined in the tool.
    Regards,
    Prateek

  • Please test the start speed and viewing and sound quality of this video

    hi to you all,
    After playing around all week with quicktime i need some feedback on this video, i need to know how good or stress free getting to view and listen to this video was for you.
    please give marks out of 10
    http://web.mac.com/dvjfitz1/iWeb/dvj%20fitz/dvj%20mix.html
    thanks in advance
    dvj fitz
    imac g5 Mac OS X (10.4.4) 20" isight 512mb ram 250gb hd
    imac g5 Mac OS X (10.4.4) 20" isight 512mb ram 250gb hd
    imac g5   Mac OS X (10.4.4)   20" isight 512mb ram 250gb hd

    thanks for the feedback so far.
    its been very helpful.
    and to my fellow leicesterfarian, new parks thats where i went to school a very very long time ago.
    peace x
    imac g5 Mac OS X (10.4.4) 20" isight 512mb ram 250gb hd

  • Error while testing the Webservice created from RFC enabled function module

    Our client has provided the SAP WSDL URL and We tried to generate stub using AXIS 2 tool from this SAP WSDL URL and got u201Cservice and binding tagu201D missing error.
    It seems that clients SAP wsdl file is having only web service interface information and does not have Access Description i.e service and binding tag information . 
    Is it mandatory to have service and binding tag in SAP wsdl to consume webservice from third party java application ?
    Could you please let us know how to resolve this error?
    <urgency removed by moderator>.
    Thanks ,
    Ranjit
    Edited by: Thomas Zloch on Mar 25, 2011 1:16 PM

    Hi,
    I think you might have received wrong WSDL.
    In transaction SOAMANGER for a WebService you can select:
    Porttype WSDL document
    or
    WSDL document for selected binding or service -> for a concrete binding
    You need to get the second one which contains service and binding information. The first one is just interface description.

  • Can we copy the marketing and banking documents to another database

    dear all,
    Is it possible to copy all the marketing documents and banking documents form one database to another. The target database is fresh one. Please help me in this.
    thanks and regards,
    Yeshwanth

    hi prakash,
    Why don't specifically want to copy marketing & banking documents from old db ?
    1. Take latest Backup of old databse & restore it in new one.
    2.Extract the datas thru SQL queries in old database & then map this data to DTW templates &
    Import datas thru DTW to new database.
    Jeyakanthan

  • Invoking a process to return a SQL query as XML results in empty XML tag (but testing the SQL works)

    I have a process that runs a SQL query and returns the results as XML.  When I test the query in the Process Properties tab in Workbench it appears to execute just fine.  I can also test the XML information and see that the results are coming back correctly.  But when I invoke the process I get an emtpy XML tag with no results.  Recording the invocation and playing back the recording doesn't tell me anything useful.  Has anyone ever seen this issue before?  I don't understand why everything within the process seems to bring back results just fine but invoking it returns nothing.

    Unfortunately I am not the admin for our LiveCycle instance and do not have access to the server logs (long story).  I also am not authorized to share any LCA files for this project.  Thanks though.

Maybe you are looking for

  • Why different result for the same jsp file run at oc4j902 and oc4j903?

    In a jsp file, It use class in "java.util" package, It is not import "java.util.*". The jsp file run at oc4j 902: It run correctly The jsp file run at oc4j 903: appear Compile error. the error is: "OracleJSP: oracle.jsp.provider.JspCompileException:

  • ORA-01465:invalid hex number

    Hi, Insert into ur3users select user_id, pass_mgmnt.decrypt_pass(password), user_name from users ; ur3users.user _id (number 38,0) ur3user.user_name (varchar 100 byte) ur3users._password (varchar 100 byte) users.user _id (number 38,0) user.user_name

  • 7k vPC best practice with multiple line cards?

    I have a pair of 7k's that have a single line card with a 2 port vPC linked to a pair of 5k's, another 2 port vPC linked to the layer 3 VDC and a 4 port vPC used for peer link.  I recently added an additional line card to the 7k's and want to add red

  • How do I hide the duration on the TOC in an Aggregator project.

    Hi I installed the widget to hide the duration on the TOC in my Adobe Captivate 5 project and it worked great.  However when I combine the Flash files in an Aggregator project it no longer works and the duration is showing at the bottom of the Aggreg

  • Account suspended by security system

    Hi m sharan recently my Skype acc was suspended by security system.they did that after getting money from my credit card n sent me a email that ur acc has suspended because I shared it with others or I breached there terms n conditions.whereas I was