-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ENH: Support PyTorch builtin loss functions for hedging loss (#568) (#569) * You can now use PyTorch built-in loss function modules as `criterion` of `Hedger`. * Migration guide: If you have defined your own `HedgeLoss`, please modify the signatures of its methods as `forward(self, input) -> forward(input, target=0.0)` and `cash(self, input) -> cash(input, target=0.0)`. * ENH: Suppprt multiple hedges in `nn.functional.pl` (#571) * DOC: Add examples to Black-Scholes functionals (#566) * MAINT: Use `cast_state` (#567) * Bumping version from 0.19.2 to 0.20.0 (#573) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
39143c5
commit a5ba9d0
Showing
9 changed files
with
361 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,7 @@ Other Functions | |
d2 | ||
ncdf | ||
npdf | ||
pl | ||
realized_variance | ||
realized_volatility | ||
svi_variance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.