Skip to content

Commit

Permalink
corrected typo in README and removed files from git
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymakarewicz committed Dec 23, 2024
1 parent e9af3f2 commit a376c1e
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 312 deletions.
Binary file removed .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ bin/
bckp
flattened_folder

.DS_Store

ideas

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ add_library(solver SHARED
target_link_libraries(option PUBLIC marketdata payoff)
target_link_libraries(model PUBLIC option random)
target_link_libraries(solver PUBLIC option model numerical_analysis Boost::random Eigen3::Eigen)
target_link_libraries(numerical_analysis PUBLIC Eigen3::Eigen)

# Create main executable
add_executable(Option_pricer main.cpp)
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
The **Option Pricer** is a C++ library designed to model and price various financial options, such as European, American, and exotic path-dependent options (e.g., Asian, Barrier).
It is optimized for financial institutions, quantitative analysts, and researchers who need fast, flexible, and accurate option pricing methods.

This library complies with **SOLID** principles and leverages modern C++ features (up to C++20).
It incorporates various design patterns to ensure maintainability and extensibility.
The library supports multiple pricing methods, including **Monte Carlo simulations** and **Finite Difference Methods (FDM)**, giving users the flexibility to select the most appropriate solver for their needs.

## Table of Contents
Expand Down Expand Up @@ -71,7 +69,7 @@ vcpkg install eigen3 boost-random gtest
### Build Instructions
1. Clone the repository:
```
git clone https://github.com/anthonymakarewicz/option_pricer.git
git clone https://github.com/anthonymakarewicz/option-pricer.git option_pricer
cd option_pricer
```

Expand Down Expand Up @@ -122,9 +120,9 @@ params.setParameter("K", K);

// Create a European call and American Put using the factory method
EuropeanOptionFactory europeanFactory;
AmericanOptionFactory factory;
AmericanOptionFactory americanFactory;
std::shared_ptr<Option> europeanCall = europeanFactory.createCallOption(params);
std::shared_ptr<AmericanOption> americanPut = factory.createPutOption(params);
std::shared_ptr<AmericanOption> americanPut = americanFactory.createPutOption(params);
```
### 2. Pricing an European call option with Finite Difference Method
Expand Down
26 changes: 0 additions & 26 deletions ideas/custome_excpetion-factory.txt

This file was deleted.

53 changes: 0 additions & 53 deletions ideas/factories/templated_factory.h

This file was deleted.

63 changes: 0 additions & 63 deletions ideas/logger/di_async.h

This file was deleted.

53 changes: 0 additions & 53 deletions ideas/logger/di_sync.h

This file was deleted.

43 changes: 0 additions & 43 deletions ideas/logger/singleton_async.h

This file was deleted.

58 changes: 0 additions & 58 deletions ideas/monte_carlo/mc_inherit_marketdata.h

This file was deleted.

Loading

0 comments on commit a376c1e

Please sign in to comment.