Some swap suggestions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- fintech-quant
Direzione di ricerca
The issue proposes three design changes to the swap code: a notional schedule for rolling or amortizing swaps, splitting the SwapLeg class into a common base with Fixed and Floating subclasses, and exposing protected attributes such as the swap's legs through properties. Start by reading the existing SwapLeg and swap classes to see how coupons and notional are computed. Maintainer agreement on the API design is needed before any patch, since the issue has no comments and no linked pull request.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A few swap suggestions (I have implemented most of these locally, happy to contribute into a pull request):
- notional schedule. Allows for swaps with rolling/amortizing notional. Can be backwards compatible, where notional passed into constructor is (float,list)
- refactor SwapLeg classes into a SwapLeg as a common object, and subclasses Fixed and Floating. Apart from string representation, the major difference is how the coupon for a period is calculated. Clearer separating IMO allows for easier implementations of things like libor-in-arrears or compounding swaps.
- expose some more protected attributes via properties, including exposing the legs from the swap class.
- Lingua principale
- Python
- Stelle
- 3.2k
- Fork
- 457
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di domokane/FinancePy
-
Bond.yield_to_maturity defaults to US_TREASURY while price and risk methods default to UK_DMOAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
-
Add Equity Vol productAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
-
FinEquityVolSurfacePlusAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Tutte le issue di domokane/FinancePy
Issue simili
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·
-
ci severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TMHSDigital/Spackle#205 ·
I maintainer di solito rispondono entro 1 giorno
-
pkg:lgm type:chore upstream-gaussx
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jejjohnson/pyrox#610 ·
I maintainer di solito rispondono entro 1 giorno
-
changelog investigate
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ramnes/notion-sdk-py#523 ·
-
feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-telemetry/opentelemetry-python#5994 ·
I maintainer di solito rispondono entro 2 giorni