Some swap suggestions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- fintech-quant
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 3.2k
- Fork
- 457
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của domokane/FinancePy
-
Bond.yield_to_maturity defaults to US_TREASURY while price and risk methods default to UK_DMOĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
Build SOFR curve - suggestionsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
-
Add Equity Vol productĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
-
Add Equity Autocallable productĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
-
FinEquityVolSurfacePlusĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Tất cả issue của domokane/FinancePy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
nael5x/creative-ai#130 ·
-
Make the "%" unit spacing the same in the web and in A10Có thể đã có người làm @kragent66-glitch đã nhận hôm nay. Đang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 bình luận ·
-
ci severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TMHSDigital/Spackle#205 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pkg:lgm type:chore upstream-gaussx
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jejjohnson/pyrox#610 ·
Maintainer thường phản hồi trong vòng 1 ngày