Skip to content

Commit

Permalink
small adj for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymakarewicz committed Aug 16, 2024
1 parent 2a5f3dc commit 1f53041
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Overview

The Option Pricer project is a C++ library designed to model and price various financial options.
Expand Down Expand Up @@ -175,6 +174,8 @@ std::shared_ptr<AmericanOption> americanPut = factory.createPutOption(params);
### Explanation:
- **Market Data initialization**: The `MarketData` singleton is used to store and manage the current stock price, volatility, and risk-free interest rate for the asset. This data is essential for pricing the option.
- **Option Creation**: The `AmericanOptionFactory` is used to create an American put option based on the specified parameters (ticker, maturity, and strike price). This factory pattern ensures the option is created and managed correctly.
### 2. Setting Up the Monte Carlo Components
Expand Down Expand Up @@ -245,9 +246,6 @@ mcSolver.setPricer(std::move(americanPricer3));
std::cout << "Config 3, P = " << mcSolver.solve() << "\n";
```




# Testing

## Tests Directory
Expand Down

0 comments on commit 1f53041

Please sign in to comment.