Skip to content

Commit 0b1d842

Browse files
fixed docs for black-scholes
1 parent 30539d1 commit 0b1d842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/getting_started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
## Usage
1212

13-
To price an American option, simply create a new `AmericanOption` and pass it to `evaluate` with the desired valuation model:
13+
To price an European option, simply create a new `EuropeanOption` and pass it to `evaluate` with the desired valuation model:
1414

1515
```julia
1616
julia> using FinancialDerivatives
1717

18-
julia> american_put = AmericanOption(100.0, 90.0, 0.05, 0.3, 180/365, -1)
18+
julia> euro_put = EuropeanOption(100.0, 90.0, 0.05, 0.3, 180/365, -1)
1919

20-
julia> evaluate(american_put, BlackScholes())
20+
julia> evaluate(euro_put, BlackScholes())
2121
3.2281936525908073
2222
```

0 commit comments

Comments
 (0)