Some swap suggestions
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 3.2k
- フォーク
- 457
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
domokane/FinancePy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
domokane/FinancePy の issue をすべて見る
似ている issue
-
Make the "%" unit spacing the same in the web and in A10対応中かも @kragent66-glitch が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
maiychrus25/OpenTea-DX-OS#226 · コメント 1 件 ·
-
ci severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Spackle#205 ·
メンテナーはふだん 1 日以内に返信
-
pkg:lgm type:chore upstream-gaussx
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jejjohnson/pyrox#610 ·
メンテナーはふだん 1 日以内に返信
-
changelog investigate
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ramnes/notion-sdk-py#523 ·
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-telemetry/opentelemetry-python#5994 ·
メンテナーはふだん 2 日以内に返信