Create option pricing engine structure, test architecture.
Some checks failed
C++ CI / build (push) Has been cancelled
Some checks failed
C++ CI / build (push) Has been cancelled
This commit is contained in:
10
src/Option.cpp
Normal file
10
src/Option.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Created by David Doebel on 05.03.2026.
|
||||
//
|
||||
|
||||
#include "Option.hpp"
|
||||
|
||||
Option::Option(double maturity, std::unique_ptr<Exercise> exercise, std::unique_ptr<Payoff> payoff,
|
||||
std::unique_ptr<PricingEngine> engine) : Instrument(maturity, std::move(payoff),
|
||||
std::move(engine)), exercise_(std::move(exercise)){
|
||||
}
|
||||
Reference in New Issue
Block a user