Skip to content

Commit

Permalink
Fix missing pyproject.toml (#30)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rgaveiga authored Oct 1, 2024
1 parent 240aaca commit c3f34bf
Show file tree
Hide file tree
Showing 3 changed files with 1,273 additions and 1,120 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## 1.3.1 (2024-09-27)

- discriminator="type" removed from strategy: list[StrategyLeg] = Field(..., min_length=1) in models.py, since
it was causing errors in new Pydantic versions.
- Changed StotckStrategy and OptionStrategy to Stock and Option in models.py, respectively.
- Changed BaseStrategy to BaseLeg in models.py.
- Changed Strategy to StrategyLeg in models.py.
- Removed premium field from Stock in models.py.
- Moved n field to BaseLeg in models.py.

## 1.3.0 (2024-09-13)

- Remove the deprecated `StrategyEngine` class (it remains commented in the code).
Expand Down
Loading

0 comments on commit c3f34bf

Please sign in to comment.