- 20
- 10 582
ORE Academy
United Kingdom
เข้าร่วมเมื่อ 10 ก.พ. 2023
Open-Source Risk Engine (ORE) project - One of the largest, most trusted and most powerful C++ libraries in the financial industry.
It is based on QuantLib and grew from work developed by market professionals and academics.
ORE is sponsored and maintained by Acadia - leading industry provider of integrated risk management services for the derivatives community (see links below).
The ORE project aims at establishing a transparent peer-reviewed framework for pricing and risk analysis that can serve as:
- Benchmarking
- Validation
- Training
- Teaching reference
- Extensible foundation for tailored risk solutions
ORE provides:
- Contemporary risk analytics and value adjustments (XVAs)
- Interfaces for trade/market data and system configuration (API and XML)
- Simple application launchers in Excel, LibreOffice, Python, Jupyter
- Various examples that demonstrate typical use cases
- Comprehensive test suites
It is based on QuantLib and grew from work developed by market professionals and academics.
ORE is sponsored and maintained by Acadia - leading industry provider of integrated risk management services for the derivatives community (see links below).
The ORE project aims at establishing a transparent peer-reviewed framework for pricing and risk analysis that can serve as:
- Benchmarking
- Validation
- Training
- Teaching reference
- Extensible foundation for tailored risk solutions
ORE provides:
- Contemporary risk analytics and value adjustments (XVAs)
- Interfaces for trade/market data and system configuration (API and XML)
- Simple application launchers in Excel, LibreOffice, Python, Jupyter
- Various examples that demonstrate typical use cases
- Comprehensive test suites
How to Configure the Pricing Engine File In ORE - Part 2: the Product-Model Combination
🎬 Ready to simplify your ORE Pricing Engine setup? In this video, we’ll show you how to configure *the Pricing Engine XML file* for any product or instrument in the Open-Source Risk Engine (ORE) *using a free, downloadable Excel spreadsheet.*
Suppose you wonder which models are available for a given instrument, or the reciprocal. In that case, this video is for you as we dig through the principles of this important relationship, and how it looks in ORE.
This hands-on guide will save you time and effort, giving you the tools to create customized pricing engines quickly and easily. Whether you're a seasoned pro or just starting with ORE, this tutorial will help you work more efficiently. Don’t miss out-download the spreadsheet and start building today!
The spreadsheet demonstrated in this video can be found in the _ORE Tools repository:_
github.com/OpenSourceRisk/Tools/tree/main/ORE%20Academy/Files%20Configuration/FC004%20%E2%80%93%20Product-Model-Engine%20Combinations
The _pricingengine.xml_ file shown in this video can be found in the _Engine repository:_
github.com/OpenSourceRisk/Engine/blob/master/Examples/Input/pricingengine.xml
*Note:*
_This video was originally created in April 2023, shortly after the launch of the TH-cam channel. As such, you may notice that the audio quality and content don't quite match the standards of our more recent videos. This is a positive sign of our ongoing progress. The delayed upload was due to the need to first establish the Tools repository, which was completed in September 2024._
This video is the second episode of a two-part series:
1. In the first episode, we explored the ORE _pricingengine.xml_ file by examining the various XML nodes that make it up and how these nodes can be represented as a schema. Using an Excel spreadsheet that maps out every *Product/Instrument, Model, and Engine covered by ORE,* we demonstrated all the possible combinations and we showed you how to generate a personalized pricing engine XML node, which you can easily copy and paste into your own _pricingengine.xml_ file.
2. In this episode, we will provide a detailed explanation of *the Product-Model-Engine combination,* broken down into three steps-from a broad overview to the specific implementation in ORE:
- Every product is assigned a model to calculate its fair value.
- In ORE, each product requires both a model and an engine, with the trade type acting as a parent classification of the product. These three elements work together as a combination.
- Some products in ORE require additional parameters for selecting the appropriate model/engine, such as details about the underlying asset and other specific parameters. For scripted trades, an additional layer of classification, called the Product Tag, is also necessary to ensure the correct combination.
_Reference: FC004_
_Category: Files Configuration_
_Complexity: Moderate_
_Operating System: All_
*Link(s) to Supporting Document(s):*
ORE Repository: github.com/OpenSourceRisk
ORE Website: www.opensourcerisk.org/
_Author(s): Alexis David_
_Speaker(s): Alexis David_
_Editor(s): Alexis David_
*Prerequisite(s):*
- FC002 - General Configuration and Master File: th-cam.com/video/VwElOydYjxk/w-d-xo.html
- FC004 - How to Configure the Pricing Engine File In Open-Source Risk Engine - Part 1: Principles Overview: th-cam.com/video/TGjnAj2mI5U/w-d-xo.html
*Chapters & Key Moments of the video:*
00:00 - Introduction
*The Product-Model Combination - General View*
00:23 - 1-to-1 Case
00:47 - Many-to-Many Case
01:01 - Example: Bermudan Swaption Case - HW1F vs BGM
*The Product-Model Combination - ORE Simplified View*
02:16 - Schema - Product-Model-Engine Simplified Configuration in ORE
02:42 - Model Definition
03:01 - Engine Definition
03:11 - Example: Equity Option Case
04:36 - Product-to-Trade Type Relationship
05:20 - An Analogy (with Vehicles 🚲/🚗/🚀...) - Part 1
*The Product-Model Combination - ORE Specific View*
07:29 - Spreadsheet Additional Field Demonstration
07:59 - Database Representation
10:38 - Schema - Product-Model-Engine Real Configuration in ORE
11:33 - Additional Parameters Explanations
12:17 - Product Tag Field for Scripted Trade
13:01 - An Analogy (with Vehicles 🚲/🚗/🚀...) - Part 2
14:35 - Outro
#financialproduct #instrument #model #pricingengine #productmodelengine #opensource #opensourceriskengine #ore #exceltutorial #excel #cplusplus #cplusplustutorial #cplusplusprogramming #quantlib #example
Suppose you wonder which models are available for a given instrument, or the reciprocal. In that case, this video is for you as we dig through the principles of this important relationship, and how it looks in ORE.
This hands-on guide will save you time and effort, giving you the tools to create customized pricing engines quickly and easily. Whether you're a seasoned pro or just starting with ORE, this tutorial will help you work more efficiently. Don’t miss out-download the spreadsheet and start building today!
The spreadsheet demonstrated in this video can be found in the _ORE Tools repository:_
github.com/OpenSourceRisk/Tools/tree/main/ORE%20Academy/Files%20Configuration/FC004%20%E2%80%93%20Product-Model-Engine%20Combinations
The _pricingengine.xml_ file shown in this video can be found in the _Engine repository:_
github.com/OpenSourceRisk/Engine/blob/master/Examples/Input/pricingengine.xml
*Note:*
_This video was originally created in April 2023, shortly after the launch of the TH-cam channel. As such, you may notice that the audio quality and content don't quite match the standards of our more recent videos. This is a positive sign of our ongoing progress. The delayed upload was due to the need to first establish the Tools repository, which was completed in September 2024._
This video is the second episode of a two-part series:
1. In the first episode, we explored the ORE _pricingengine.xml_ file by examining the various XML nodes that make it up and how these nodes can be represented as a schema. Using an Excel spreadsheet that maps out every *Product/Instrument, Model, and Engine covered by ORE,* we demonstrated all the possible combinations and we showed you how to generate a personalized pricing engine XML node, which you can easily copy and paste into your own _pricingengine.xml_ file.
2. In this episode, we will provide a detailed explanation of *the Product-Model-Engine combination,* broken down into three steps-from a broad overview to the specific implementation in ORE:
- Every product is assigned a model to calculate its fair value.
- In ORE, each product requires both a model and an engine, with the trade type acting as a parent classification of the product. These three elements work together as a combination.
- Some products in ORE require additional parameters for selecting the appropriate model/engine, such as details about the underlying asset and other specific parameters. For scripted trades, an additional layer of classification, called the Product Tag, is also necessary to ensure the correct combination.
_Reference: FC004_
_Category: Files Configuration_
_Complexity: Moderate_
_Operating System: All_
*Link(s) to Supporting Document(s):*
ORE Repository: github.com/OpenSourceRisk
ORE Website: www.opensourcerisk.org/
_Author(s): Alexis David_
_Speaker(s): Alexis David_
_Editor(s): Alexis David_
*Prerequisite(s):*
- FC002 - General Configuration and Master File: th-cam.com/video/VwElOydYjxk/w-d-xo.html
- FC004 - How to Configure the Pricing Engine File In Open-Source Risk Engine - Part 1: Principles Overview: th-cam.com/video/TGjnAj2mI5U/w-d-xo.html
*Chapters & Key Moments of the video:*
00:00 - Introduction
*The Product-Model Combination - General View*
00:23 - 1-to-1 Case
00:47 - Many-to-Many Case
01:01 - Example: Bermudan Swaption Case - HW1F vs BGM
*The Product-Model Combination - ORE Simplified View*
02:16 - Schema - Product-Model-Engine Simplified Configuration in ORE
02:42 - Model Definition
03:01 - Engine Definition
03:11 - Example: Equity Option Case
04:36 - Product-to-Trade Type Relationship
05:20 - An Analogy (with Vehicles 🚲/🚗/🚀...) - Part 1
*The Product-Model Combination - ORE Specific View*
07:29 - Spreadsheet Additional Field Demonstration
07:59 - Database Representation
10:38 - Schema - Product-Model-Engine Real Configuration in ORE
11:33 - Additional Parameters Explanations
12:17 - Product Tag Field for Scripted Trade
13:01 - An Analogy (with Vehicles 🚲/🚗/🚀...) - Part 2
14:35 - Outro
#financialproduct #instrument #model #pricingengine #productmodelengine #opensource #opensourceriskengine #ore #exceltutorial #excel #cplusplus #cplusplustutorial #cplusplusprogramming #quantlib #example
มุมมอง: 86
วีดีโอ
How to Configure the Pricing Engine File In Open-Source Risk Engine - Part 1: Principles Overview
มุมมอง 1492 หลายเดือนก่อน
🎬 Ready to simplify your ORE Pricing Engine setup? In this video, we’ll show you how to configure *the Pricing Engine XML file* for any product or instrument in the Open-Source Risk Engine (ORE) *using a free, downloadable Excel spreadsheet.* This hands-on guide will save you time and effort, giving you the tools to create customized pricing engines quickly and easily. Whether you're a seasoned...
Building a Comprehensive Market Data Utility for Risk and Pricing Calculations
มุมมอง 482 หลายเดือนก่อน
In this latest episode of Ahead of the Curve, our host Scott Sobolewski chats with James Mac Hale - Head of Acadia Market Data about the monumental task of creating a centralised market data library of over fifty thousand different types of daily curve inputs as part of the Acadia hosted service to support firms in their risk and pricing calculations. The podcast provides tips and advice for fi...
OIS Discounting - Curve Bootstrapping - Part 2: The Practice (Free Excel Spreadsheet to Download)
มุมมอง 8683 หลายเดือนก่อน
🎬 In this video, follow the step-by-step construction of an *OIS Discounting Curve using the bootstrapping methodology* in an Excel spreadsheet available for download. Don't forget to watch the first video about the theory before! The spreadsheet used as support can be found in the _ORE Tools repository:_ github.com/OpenSourceRisk/Tools/tree/main/ORE Academy/Trades & Analytics/TA003 – Equity Op...
How to Run Open-Source Risk Engine (ORE) Python in a Jupyter Notebook
มุมมอง 2494 หลายเดือนก่อน
🎬 We are bringing the *most powerful functionalities of ORE into Python!* ⚡⚡⚡ And we made it super easy and quick to install. Let's look at how to use it in a *Jupyter Notebook*. The target audience for this video is anybody who wants to use ORE with Python in a Jupyter Notebook, We will also provide a few other tips such as how to run ORE from any folder and importing the _Utilities_ python fi...
OIS Discounting - Curve Bootstrapping - Part 1: The Theory
มุมมอง 2K7 หลายเดือนก่อน
🎬 In this video, learn the *theory* behind the construction of an *OIS Discounting Curve using the bootstrapping methodology* Have you ever wondered about how yield curves and discount factor curves are constructed from quoted instruments? Have you always wondered what _bootstrapping_ really meant? This video will show you just that: from the very general concepts to the detailed mathematical f...
Implementing Open-Source Risk Engine (ORE): Accessing online resources
มุมมอง 2518 หลายเดือนก่อน
Our host Devin Cook is joined by Alexis David, both Senior Consultants within Acadia’s Quantitative Services team. They discuss the merits of Open-Source Risk Engine (ORE) and explain the myriad of resources available to assist in implementing the software. They share nuggets of information which will be useful to anybody that wanting to use ORE for the first time, or looking to expand their kn...
Super-charging ORE: How technology advancements have enabled improved run times using GPUs
มุมมอง 1818 หลายเดือนก่อน
Eric Ehlers, Principal Consultant at Acadia makes his debut hosting Ahead of the Curve podcast alongside his colleague Zeyu (Jerry) Shen. They share their expertise in explaining how to speed up crucial processing time for running complex calculations in Open-Source Risk Engine (ORE) by utilizing GPGPU (General-purpose computing on graphics processing units). Listen time: 11 mins *Link(s) to Su...
How to Build Open-Source Risk Engine (ORE) as an Enterprise Risk Solution
มุมมอง 2679 หลายเดือนก่อน
Now that you have ORE up and running, and maybe tried out some of the examples, you might be wondering how this can scale up to a full *Enterprise Risk Solution.* 00:00 - Intro: 01:09 - ORE in an Enterprise Ecosystem 02:19 - Design Patter & Its Implementation 06:39 - Showcase of an ORE Enterprise Risk Solution Implementation In this video: *Chapter 1* - We explaing how ORE can fit into an enter...
What is the ORE Academy
มุมมอง 192ปีที่แล้ว
Discover the ORE Academy on TH-cam - a library of content about how to use the Open-Source Risk Engine, one of the most powerful C libraries in the financial industry for pricing and risk analysis. Watch explainer videos covering all of the possibilities within ORE from its installation to showcasing its incredible features.
Debugging ORE Example in Visual Studio (in OpenFolder Mode)
มุมมอง 353ปีที่แล้ว
🎬We've got a helpful video for you today on *how to debug ORE examples in Visual Studio.* We'll be showing you some tips on how to do this when you open a folder as the source of your code and we'll walk you through the process step-by-step to make it easy for you. *Data Source:* - ORE Website: www.opensourcerisk.org/ - ORE Repository: github.com/OpenSourceRisk _Reference: TT001_ _Category: Too...
How to install Open-Source Risk Engine (Newer Version)
มุมมอง 1.3Kปีที่แล้ว
🎬 In this video, we explain *how to install and test Open source Risk Engine (ORE) in Visual Studio 2022* using the package manager vcpkg and CMake as a way to build the library. This video is intended as a continuation of the previous installation video uploaded in April-2023 called "SI003 - How to Install ORE" (see link below ▼). We will provide you with step-by-step instructions on: ➭ 00:00 ...
How To Install Open Source Risk Engine (ORE) Python Libraries
มุมมอง 760ปีที่แล้ว
🎬 We are bringing the *most powerful functionalities of ORE into Python!* ⚡⚡⚡ And we made it super easy and quick to install. The target audience for this video is anybody who wants to use ORE with Python. While anyone with the right version of Python/Pip can now simply install the *Open Source Risk Engine (ORE) Python library* with the following command: ➡ _pip install open-source-risk-engine_...
How to price an Equity Option with Implied Volatility Surface with Open-Source Risk Engine (ORE)
มุมมอง 484ปีที่แล้ว
🎬In this video, learn how to set up Open-Source Risk Engine (ORE) to *calculate the NPV of an Equity Option with Implied Volatility Surface.* This is a good video to watch for beginners as it goes into a bit more detail regarding the connection between all input files than the pricing videos that will be produced next. Get access to all the *data used to price this trade* below ▼ github.com/Ope...
Understand How to Configure Open-Source Risk Engine (ORE)
มุมมอง 360ปีที่แล้ว
🎬 Learn the basics of *how ORE is configured!* More particularly, learn how all configuration files interact with the master file and how you set them up in a way that most suits your needs. In this Video, we explain the general setup of ORE and in particular, how the master file (usually called 'ore.xml') contains all information regarding the other input files. It is recommended to watch this...
How to Install Open-Source Risk Engine (Older Version)
มุมมอง 815ปีที่แล้ว
How to Install Open-Source Risk Engine (Older Version)
How to Price an Interest Rate Swap in Open-Source Risk Engine (ORE)
มุมมอง 413ปีที่แล้ว
How to Price an Interest Rate Swap in Open-Source Risk Engine (ORE)
How to Change the Collateralization Currency in Open-Source-Risk Engine (ORE)
มุมมอง 142ปีที่แล้ว
How to Change the Collateralization Currency in Open-Source-Risk Engine (ORE)
Introduction to Open-Source Risk Engine (ORE) Trades XML Files
มุมมอง 429ปีที่แล้ว
Introduction to Open-Source Risk Engine (ORE) Trades XML Files
Hello, are examples updated for version 2.7?
Thank you very much for your explanation and materials, Alexis! I have one question, how easy do you think this could be applied to other FRFs like SOFR or SARON? It would also be nice to see if we can construct the same curve but with the CSA in another currency.
Thank you @danielalanistellez3178, you are very welcome! This is a great question that we were actually discussing a few days ago with my team. This spreadsheet was originally meant to work with a snapshot of ESTER data, so out-of-the-box, it wouldn’t work for other rates, and it wouldn’t even work for ESTER data for other days when the number and composition of the quotes are different. While saying though, I think that the main mechanism of bootstrapping is scalable and with a bit of work, it could be adapted to be more dynamic and accept of variety of inputs, including different rates. Some “top-of-my-head” guidelines for this in terms of changes: 1. Accept a variable number of total quotes (at the moment it accepts only 37 and there are some hardcoded data) 2. Accept a variable composition of quotes (at the moment it accepts only 1 deposit for 36 swaps) 3. Allow for more convention parameters (at the moment, it only accepts EONIA/ESTER conventions) 4. Allow for more types of quotes (at the moment, it only accepts Deposits and Swaps and we should allow for Futures for example). Steps 1 and 2 are pretty straightforward but steps 3. and 4. would require a deep analysis of the C++ to understand what is happening in ORE, and how to replicate it in Excel. There are some caveats though as for example, this spreadsheet doesn’t include the case where there is some juxtaposition of quote periods and if it happens, there are some special mechanisms that happen in ORE which would need to be looked at.
Regarding your second point, we have made a video describing the steps needed to do exactly that th-cam.com/video/AmBs_QktIoQ/w-d-xo.htmlsi=H6gbnV4gkVuc6CAF
Amazing work Alexis and team !!! Well done
Thank you @nicolaspolo1945, glad you liked it
Part 2?
Hi @karavanidet, I am delighted to say that part 2 will be released tomorrow (Friday 13 Sep) at 3pm London time. While you wait for the video release, you can already access the files though, enjoy! :) github.com/OpenSourceRisk/Tools And if there are any bugs or feedback, please don't hesitate to raise them at oreacademy.support@acadia.inc
i'm getting LNK2019 and LNK1120 errors when i ran runCMakeVS.cmd OREData-x64-mt.lib(log.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl boost::log::v2s_ mt_nt6::aux::stream_provider<char>::release_compound(struct boost::log::v2s_mt_nt6::aux::stream_provider<char>::stream_ compound *)" (?release_compound@?$stream_provider@D@aux@v2s_mt_nt6@log@boost@@SAXPEAUstream_compound@12345@@Z) referenc ed in function "public: __cdecl boost::log::v2s_mt_nt6::aux::record_pump<class boost::log::v2s_mt_nt6::sources::severit y_logger_mt<enum oreSeverity> >::~record_pump<class boost::log::v2s_mt_nt6::sources::severity_logger_mt<enum oreSeverit y> >(void)" (??1?$record_pump@V?$severity_logger_mt@W4oreSeverity@@@sources@v2s_mt_nt6@log@boost@@@aux@v2s_mt_nt6@log@b oost@@QEAA@XZ) [C:\Users\XXXX\Engine\build\OREData\test\ored-test-suite.vcxproj] C:\Users\XXXX\Engine\build\OREData\test\Release\ored-test-suite.exe : fatal error LNK1120: 40 unresolved externals [ C:\Users\XXXX\Engine\build\OREData\test\ored-test-suite.vcxproj]
Amazing video! Where can I find part two of Excel implementation?
Thank you very much for the feedback @daniel_alanis, I am delighted to say that part 2 will be released tomorrow (Friday 13 Sep) at 3pm London time. While you wait for the video release, you can already access the files though, enjoy! :) github.com/OpenSourceRisk/Tools And if there are any bugs or feedback, please don't hesitate to raise them at oreacademy.support@acadia.inc
Great video and great explanation, can't wait for part two of the excel implementation!!!
Hi @danielalanistellez3178, thanks for your kind comment. We are hoping to release part 2 in the next few days :)
@@oreacademy Hi Alexis, I hope you're doing well. Do you have any updates on part two of the video? It seems like you’ve abandoned us haha.
@@danielalanistellez3178 I am delighted to say that part 2 will be released tomorrow (Friday 13 Sep) at 3pm London time. It was a bit of a hurdle but we finally got there and the next file releases will be smoother. While you wait for the video release, you can already access the files though, enjoy! :) github.com/OpenSourceRisk/Tools And if there are any bugs or feedback, please don't hesitate to raise them at oreacademy.support@acadia.inc
does it work equivalently with Mac OSX on Apple ARM Silicon processors?
Hi @vincenzoe.corallo4448, as far as I know, it should work fine with both OSX Intel and ARM, if that was your question. For more detailed instructions on how to install ORE with Windows/Mac/Linux, you can check our documentation available here github.com/OpenSourceRisk/Engine/blob/master/Docs/userguide.pdf
@oreacademy At 31:20, shouldn't the cash flow date 1Y before December 27, 2023, be December 27, 2022? Also, at 32:41, please confirm if the speaker is referring to the swap rate rather than the price of the swap. These two terms are different: the swap rate is the agreed-upon fixed rate in the swap contract, while the price of the swap is the net present value (NPV) of the future cash flows of the swap.
Hi @vincenttan1954, that's a typo. Very well spotted, thank you for pointing it out
where is the part 2 of python implementation of OIS curve zero deravation
Hi @alpserbetli6219, if you are referring to part 2 of this video, we are expecting to release it in a few days hopefully. Regarding the Python implementation related to an OIS curve bootstrapping I am mentioning at 01:25 in this video, this has not been created yet and it might not come out before a few months I am afraid. The notebook I am showing can be found in the ORE Swig repository but is unrelated to bootstrapping. I invite you to check our latest video if you are interested in the Python library in general: th-cam.com/video/McILG4PlNFc/w-d-xo.html
@@oreacademy did u put the excel and git for python
Hi @alpserbetli6219, I am delighted to say that part 2 will be released tomorrow (Friday 13 Sep) at 3pm London time. While you wait for the video release, you can already access the files though, enjoy! :) github.com/OpenSourceRisk/Tools And if there are any bugs or feedback, please don't hesitate to raise them at oreacademy.support@acadia.inc
Hi, is the spreadsheet released as version 12 of ORE is already out.
Hi, thanks for your interest @AbulKalamFaruk-eh8ev. The second part of this tutorial and the Excel spreadsheet that goes with it will likely be out in the coming weeks. We are setting up a new repository to upload all the additional tools related to this channel and there are some constraints we didn't anticipate, so it couldn't be uploaded at the same time as our 12th ORE release. Thanks for your patience in advance, we are also eager to release this to our community as soon as possible!
Interesting project. Going over the source code now.
Hi @andrewjgilley, glad to hear you that! Let us know if we can be of any help
Eric, one of my heroes!
Eric is the best!
Hey Francois, the feeling is mutual! 🙂
Can I use Jupyter with python 3.7.3 for the ORE examples?
Hi @user-ey8vj2om6n, as far as I know, ORE doesn't work with python versions anterior to version 3.8 unfortunately
Hi. Thanks for your explanation. What would you recommend to do in order to "override" the parameters on the XML files. I mean. I want to replace Currency "EUR" for "USD", and so on but in a quickly and efficient manner. do you have some video where this is explained? Kind regards,
Hi @miguelcontras7416, apologies, I can see your question was months ago. It is not that straighforward as you need to add the configuration for this new curve and its relevant data in a few configuration file. We do explore in details how to change the reporting currency from EUR to USD in this video, though: th-cam.com/video/AmBs_QktIoQ/w-d-xo.html
Where are the other videos you are referring here?