# Pricing engine project

#### NotAQuant

Hey guys,

I am new to the forum and I would like to implement a pricing engine for classic equity derivatives and structured products.
I am not sure whether this topic belongs to this section (My apologies if this is not the case).

I am looking for two to three people with basic knowledge of Object-Oriented Programming in C++ and design patterns.
We would start from a basic Monte Carlo engine for Vanilla, Asian options in the Black&Scholes world. Bit by bit we would move to more complex products in a multi-asset framework with the Heston model (Phoenix Notes, Auto-Callable Notes, or Capital-Guaranteed Notes).

The goal is to think ahead of an architecture that satisfies as much as possible the SOLID principles (cf. down below for the meaning).

Depending on the success of this implementation, we could implement a binomial tree and/or the finite difference method for American options. And hopefully, we would move towards interest rate and credit derivatives.

This is not an easy task and it will take time.

If you're interested do not hesitate to contact me.

Regards.
NotAQuant

PS: The SOLID principles are:
1. Single-Responsibility Principle​
2. Open-Close Principle​
3. Liskov Substitution Principle​
4. Interface Segregation Principle​
5. Dependency Inversion Principle​

#### Daniel Duffy

##### C++ author, trainer
Is this a (student) project? Or production?

SOLID is neither necessary nor sufficient.

Is it pro-bono or commercial?

This is not an easy task and it will take time. And SPENDING MONEY and PRECIOUS TIME.

Last edited:

#### NotAQuant

This is not a student project nor a professional one. As a beginner, I am looking for other beginners to join forces.

The aim is to learn.

Regarding the SOLID principles, I understand that it is not necessary to follow them strictly. However, it will force us to think about the reusability of code and manage the dependencies as much as possible.

Obviously, you are not a beginner in the field. Thanks for the reply.

Last edited:

#### Daniel Duffy

##### C++ author, trainer
"basic knowledge of Object-Oriented Programming in C++ and design patterns."
Not a good start.

#### Daniel Duffy

##### C++ author, trainer
This is not a student project nor a professional one. As a beginner, I am looking for other beginners to join forces.

The aim is to learn.
better go off and Learn Quantlib and my C++ books.

#### NotAQuant

What would be a good start?

#### NotAQuant

Your book is a bit expensive as I am unemployed.

#### Daniel Duffy

##### C++ author, trainer
What would be a good start?
Start at the beginning i.e. learn C++.

#### NotAQuant

This is not an easy task and it will take time. And SPENDING MONEY and PRECIOUS TIME.

I don't understand how this will cost me money or precious time. As I am a beginner, I don't want to jump into Quantlib without any experience.

#### NotAQuant

Start at the beginning i.e. learn C++.
That is one of the goals. That is why I focused on "simple" products so we can learn programming and the valuation of derivatives.

#### Daniel Duffy

##### C++ author, trainer
You should learn C++ before even 'simple' products.

#### NotAQuant

You should learn C++ before even 'simple' products.
I believe I have enough knowledge to start this project.

#### NotAQuant

With all due respect, do you think your book is a better starting point than Mark Joshi's book?

### C++ Design Patterns and Derivatives Pricing ​

#### Daniel Duffy

##### C++ author, trainer
With all due respect, do you think your book is a better starting point than Mark Joshi's book?

### C++ Design Patterns and Derivatives Pricing ​

Depends what you want to learn. The best way to learn C++ is QN C++ course.

// OO Design patterns is OK but somewhat outdated in the C++11/C++17 era. Mark's book is 90s C++.
TBD traditional OOP has seen its best days. But what do I know.

I would install Quantlib and get Luigi's book

Last edited:

#### NotAQuant

If your book is a bit expensive for me, I let you imagine what I think about the QN C++ course.

I consider Part I to Part IV of the QN course to be basic. As I know my knowledge covers most of the course, I would pay the full price for Part V and Part VI. Which I can learn by myself.

To sum up:
1. According to the QN C++ course, I have sufficient knowledge to start (I don't mean master) programming in C++;​
2. I believe my math background is good enough to understand the scope of the project.​
3. I know enough of quantitative finance to start this project​
4. I am currently unemployed and this is not a scam to make people work for me for free
5. The project is about sharing and growing together​
6. All I have to give is a bit of knowledge and some time, and I am looking for beginners like me who are willing to do the same​

#### NotAQuant

When I see the price of the QN C++ course, thinking about people actually paying for it reminds me of Will Hunting's saying: "You wasted $150,000 on an education you coulda got for a buck fifty in late charges at the public library" #### Daniel Duffy ##### C++ author, trainer When I see the price of the QN C++ course, thinking about people actually paying for it reminds me of Will Hunting's saying: "You wasted$150,000 on an education you coulda got for a buck fifty in late charges at the public library"
A little knowledge is a dangerous thing.
Of Will Hunting is Hollywood, i.e. fantasy.

Good luck.

#### NotAQuant

A little knowledge is a dangerous thing.

I totally agree with you.
No matter what we want to learn, we have to start with little knowledge and build on it.

Will Hunting is Hollywood, i.e. fantasy.

Indeed it is fantasy. The fact remains that his saying isn't any less true in the real world because he is a fictional character.

Thanks for the luck and for your time. It is very much appreciated.

#### NotAQuant

// OO Design patterns is OK but somewhat outdated in the C++11/C++17 era. Mark's book is 90s C++.
TBD traditional OOP has seen its best days. But what do I know.

I know I must trust an expert in his field.

I would install Quantlib and get Luigi's book

Many thanks again.

Last edited:

#### Daniel Duffy

##### C++ author, trainer
You're welcome. Regarding design patterns, I have used them since 1994 in application an 1000s of students QL uses them a lot. There are 23 patterns .. about 5 do the business.

Replies
1
Views
938
Replies
0
Views
634
Replies
1
Views
1K
Replies
1
Views
892
Replies
1
Views
1K