Skip to content

Commit a99ff8d

Browse files
committed
Improve get_pop and engine.py
1 parent fe984d4 commit a99ff8d

File tree

7 files changed

+332
-268
lines changed

7 files changed

+332
-268
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# CHANGELOG
22

3-
## 1.4.0 (01-01-2025)
3+
## 1.4.1 (2025-01-04)
4+
5+
- Removed a small bug in `create_price_seq` in support.py
6+
- Improved the algorithm in `get_profit_range` in support.py
7+
- Created a helper function `_get_sign_changes` in support.py, called by `get_profit_range`
8+
- Removed the fields `probability_of_profit_from_mc`, `average_profit_from_mc` and `average_loss_from_mc` from `Outputs` in models.py
9+
- Created the fields `expected_profit` and `expected_loss` in `Outputs` in models.py
10+
- Created a class `PoPOutputs` in models.py containing fields returned by `get_pop` in support.py
11+
- Removed Laplace form `get_pop` in support.py
12+
- Improved `get_pop` in support.py to return a `PoPOutputs` object with more information
13+
14+
## 1.4.0 (2025-01-01)
415

516
- Changed the class name `DistributionInputs` to `TheoreticalModelInputs` in models.py, to be more descriptive
617
- Changed the class name `DistributionBlackScholesInputs` to `BlackScholesModelInputs` in models.py

optionlab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import typing
22

33

4-
VERSION = "1.4.0"
4+
VERSION = "1.4.1"
55

66

77
if typing.TYPE_CHECKING:

0 commit comments

Comments
 (0)