CreateBond

Attributes

ObjectId

See ‘object-id’ in object-type: bond.

Optional

Issuer
See ‘issuer’ in object-type: bond.
Isin

See ‘isin’ in object-type: bond.

Optional

Cusip

See ‘cusip’ in object-type: bond.

Optional

CorporateDebtRatings
See ‘corporate-debt-ratings’ in object-type: bond.
FirstSettlementDate

See ‘first-settlement-date’ in object-type: bond.

Optional

FirstCouponDate
See ‘first-coupon-date’ in object-type: bond.
AmountOutstanding
See ‘amount-outstanding’ in object-type: bond.
MaturityDate
See ‘maturity-date’ in object-type: bond.
CouponType
See ‘coupon-type’ in object-type: bond.
CouponRate
See ‘coupon-rate’ in object-type: bond.
CouponFrequency
See ‘coupon-frequency’ in object-type: bond.
CouponBenchmark

See ‘coupon-benchmark’ in object-type: bond.

Optional

FaceValue
See ‘face-value’ in object-type: bond.

JSON Examples

Example 1:

{
    "UpdateType": "CreateBond",
    "ObjectId": "OBJECT_ID",
    "Issuer": "T",
    "Isin": "US00206RDA77",
    "Cusip": "00206RDA7",
    "AmountOutstanding": 2250000000,
    "CorporateDebtRatings" : {
        "Fitch" : "BBB",
        "Moodys" : "Ba3",
        "S&P" : "BBB-"
    },
    "CouponBenchmark" : "Libor",
    "CouponRate" : 0.015,
    "CouponType" : "Floating",
    "CouponFrequency" : "Quarterly",
    "FirstSettlementDate" : "01/11/2012",
    "FirstCouponDate": "04/01/2012",
    "MaturityDate" : "01/11/2022",
    "FaceValue": 1000
 }

check_valid()

The following checks are performed:

  • Check that all required attributes have been provided.
  • Check that all provided unique attributes do not exist in the store.
  • Check that Issuer is a valid organization.
  • Check that at least one of Isin or Cusip is provided. Also check that there is no other bond with those Isin or Cusip.
  • Check that the Coupon Type is either Fixed or Floating. If it is Floating, the Coupon Benchmark must be set to one of the following Libor benchmarks: Overnight, OneWeek, OneMonth, TwoMonth, ThreeMonth, SixMonth, or OneYear.
  • Check the Maturity date is in the format MM/DD/YYYY.
  • Check that the CouponFrequency is one of ‘Quarterly’, ‘Monthly’, or ‘Daily’
  • Check that the FirstCouponDate is in the format MM/DD/YYYY.

apply()

Create a new object in the store with object-type of ‘bond’.