Skip to content

Commit c3f34bf

Browse files
authored
Fix missing pyproject.toml (#30)
* Fix pydantic issue and update variable names to more meaningful names in models.py * Update README.md * Update pyproject.toml, poetry.lock, and CHANGELOG.md
1 parent 240aaca commit c3f34bf

File tree

3 files changed

+1273
-1120
lines changed

3 files changed

+1273
-1120
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG
22

3+
## 1.3.1 (2024-09-27)
4+
5+
- discriminator="type" removed from strategy: list[StrategyLeg] = Field(..., min_length=1) in models.py, since
6+
it was causing errors in new Pydantic versions.
7+
- Changed StotckStrategy and OptionStrategy to Stock and Option in models.py, respectively.
8+
- Changed BaseStrategy to BaseLeg in models.py.
9+
- Changed Strategy to StrategyLeg in models.py.
10+
- Removed premium field from Stock in models.py.
11+
- Moved n field to BaseLeg in models.py.
12+
313
## 1.3.0 (2024-09-13)
414

515
- Remove the deprecated `StrategyEngine` class (it remains commented in the code).

0 commit comments

Comments
 (0)