howt to implement VaR?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

howt to implement VaR?

tangray-2
Hello,

I want to implement the VaR.Could someone please
point me to the relevant example or unit test to get me started,
 Any other comments or hints would of course be
greatly appreciated!

best regards
tangray



全国最低价,天天在家冲照片,24小时发货上门!

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: howt to implement VaR?

Luigi Ballabio
On Fri, 2010-10-08 at 10:58 +0800, tangray wrote:
> I want to implement the VaR.Could someone please
> point me to the relevant example or unit test to get me started

The RiskStatistics class can calculate VaR given a series of
observations (see <ql/math/statistics/riskstatistics.hpp>.)
I'm afraid that's all the VaR-related code in the library.

Luigi


--

The young man knows the rules, but the old man knows the exceptions.
-- O. W. Holmes



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users