価格/利回り計算API | ||||
---|---|---|---|---|
リクエスト | URL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetPriceAndYield | ||
サンプルURL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetPriceAndYield?compoundYieldPercent=0.15&couponRatePercent=0.1&maturityDate=2050-06-20&tradeDate=2019-08-26 | |||
パラメータ | 価格 | price | ||
単利(%) | simpleYieldPercent | |||
複利(%) | compoundYieldPercent | |||
クーポン率(%) | couponRatePercent | |||
償還日 | maturityDate | |||
約定日 | tradeDate | |||
レスポンス | フォーマット | JSON | ||
サンプルJSON | {"price":98.509543786472278, "simpleYieldPercent":0.15031752510178389, "compoundYieldPercent":0.15} | |||
計算結果 | 価格 | price | number 型 | |
単利(%) | simpleYieldPercent | number 型 | ||
複利(%) | compoundYieldPercent | number 型 |
経過利息計算API | ||||
---|---|---|---|---|
リクエスト | URL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetAccruedInterest | ||
サンプルURL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetAccruedInterest?lastCouponDate=2019-06-20&couponRatePercent=0.1&tradeDate=2019-08-26 | |||
パラメータ | 前回利払日 | lastCouponDate | ||
クーポン率(%) | couponRatePercent | |||
約定日 | tradeDate | |||
レスポンス | フォーマット | JSON | ||
サンプルJSON | {"settlementDate":"2019-08-27T00:00:00","lapsedDays":68,"accruedInterest":0.0186301} | |||
計算結果 | 受渡日 | settlementDate | Date 型 | |
経過日数 | lapsedDays | number 型 | ||
経過利息 | accruedInterest | number 型 |
価格感応度計算API | ||||
---|---|---|---|---|
リクエスト | URL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetSensitivity | ||
サンプルURL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetSensitivity?maturityDate=2050-06-20&couponRatePercent=0.1&price=99&tradeDate=2019-08-26 | |||
パラメータ | 償還日 | maturityDate | ||
クーポン率(%) | couponRatePercent | |||
価格 | price | |||
約定日 | tradeDate | |||
レスポンス | フォーマット | JSON | ||
サンプルJSON | {"yearFracToMaturity":31.004109589041096,"duration":30.489632780379,"convexity":956.63032273437136} | |||
計算結果 | 残存年数 | yearFracToMaturity | number 型 | |
デュレーション | duration | number 型 | ||
コンベクシティ | convexity | number 型 |
キャッシュフロー計算API | ||||
---|---|---|---|---|
リクエスト | URL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetShiftedCashflow | ||
サンプルURL | https://financierjgbapi.azurewebsites.net/api/jgbfixedrate/GetShiftedCashflow?firstCouponDate=2018-06-20&maturityDate=2050-06-20&couponRatePercent=0.1&tradeDate=2019-08-26 | |||
パラメータ | 初回利払日 | firstCouponDate | ||
償還日 | maturityDate | |||
クーポン率(%) | couponRatePercent | |||
約定日 | tradeDate | |||
レスポンス | フォーマット | JSON | ||
サンプルJSON | [{"period":{"start":"2019-08-26T00:00:00","end":"2019-12-20T00:00:00"}, "yearFraction":0.31780821917808222, "accYearFraction":0.31780821917808222, "amount":0.05}, {"period":{"start":"2019-12-20T00:00:00","end":"2020-06-22T00:00:00"}, "yearFraction":0.50684931506849318, "accYearFraction":0.8246575342465754, "amount":0.05}] | |||
計算結果 | スタート日 | period.start | Date 型 | |
エンド日 | period.end | Date 型 | ||
期間年数 | yearFraction | number 型 | ||
年数 | accyearFraction | number 型 | ||
金額 | amount | number 型 |