Skip to content

Commit

Permalink
Features:
Browse files Browse the repository at this point in the history
Bug Fixes/Re-organization:

	- State Identifier Entity Credit Label (1, 2)
	- State Identifier Entity Credit Label - Match (3, 4)
	- State Identifier Entity Equity Label #1 (5, 6, 7)
	- State Identifier Entity Equity Label #2 (8)
	- State Identifier Entity Equity Label - Match (9, 10)
	- State Identifier Entity Funding Label #1 (11, 12, 13)
	- State Identifier Entity Funding Label #2 (14, 15, 16)
	- State Identifier Entity Funding Label - Match (17, 18)
	- State Identifier Entity Hazard Label #1 (19, 20, 21)
	- State Identifier Entity Hazard Label #2 (22)
	- State Identifier Entity Hazard Label - Match (23, 24)
	- State Identifier Entity Recovery Label #1 (25, 26, 27)
	- State Identifier Entity Recovery Label #2 (28, 29, 30)
	- State Identifier Entity Recovery Label - Match (31, 32)
	- State Identifier Floater Label (33, 34, 35)
	- State Identifier Floater Label - Tenor (36, 37)
	- State Identifier Floater Label - Index (38, 39)
	- State Identifier Floater Label - Constructor (40, 41)
	- State Identifier Floater Label - Currency (42)
	- State Identifier Floater Label - Family (43)
	- State Identifier Floater Label - Unit Coupon Accrual Setting (44, 45, 46)
	- State Identifier Floater Label - Fully Qualified Name (47)
	- State Identifier Floater Label - Match (48, 49)
	- State Identifier Forward Label #1 (50, 51, 52)
	- State Identifier Forward Label #2 (53, 54)
	- State Identifier Forward Label - Standard (55, 56, 57)
	- State Identifier Forward Label - Create (58, 59, 60)


Samples:

IdeaDRIP:
  • Loading branch information
Lakshmik committed Dec 23, 2023
1 parent 8ce8a2f commit 56adc48
Show file tree
Hide file tree
Showing 9 changed files with 314 additions and 225 deletions.
37 changes: 37 additions & 0 deletions ReleaseNotes/02_15_2023.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Features:

Bug Fixes/Re-organization:

- State Identifier Entity Credit Label (1, 2)
- State Identifier Entity Credit Label - Match (3, 4)
- State Identifier Entity Equity Label #1 (5, 6, 7)
- State Identifier Entity Equity Label #2 (8)
- State Identifier Entity Equity Label - Match (9, 10)
- State Identifier Entity Funding Label #1 (11, 12, 13)
- State Identifier Entity Funding Label #2 (14, 15, 16)
- State Identifier Entity Funding Label - Match (17, 18)
- State Identifier Entity Hazard Label #1 (19, 20, 21)
- State Identifier Entity Hazard Label #2 (22)
- State Identifier Entity Hazard Label - Match (23, 24)
- State Identifier Entity Recovery Label #1 (25, 26, 27)
- State Identifier Entity Recovery Label #2 (28, 29, 30)
- State Identifier Entity Recovery Label - Match (31, 32)
- State Identifier Floater Label (33, 34, 35)
- State Identifier Floater Label - Tenor (36, 37)
- State Identifier Floater Label - Index (38, 39)
- State Identifier Floater Label - Constructor (40, 41)
- State Identifier Floater Label - Currency (42)
- State Identifier Floater Label - Family (43)
- State Identifier Floater Label - Unit Coupon Accrual Setting (44, 45, 46)
- State Identifier Floater Label - Fully Qualified Name (47)
- State Identifier Floater Label - Match (48, 49)
- State Identifier Forward Label #1 (50, 51, 52)
- State Identifier Forward Label #2 (53, 54)
- State Identifier Forward Label - Standard (55, 56, 57)
- State Identifier Forward Label - Create (58, 59, 60)


Samples:

IdeaDRIP:
Binary file modified ScheduleSheet.xlsx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

/*!
* Copyright (C) 2025 Lakshmi Krishnamurthy
* Copyright (C) 2024 Lakshmi Krishnamurthy
* Copyright (C) 2023 Lakshmi Krishnamurthy
* Copyright (C) 2022 Lakshmi Krishnamurthy
* Copyright (C) 2021 Lakshmi Krishnamurthy
* Copyright (C) 2020 Lakshmi Krishnamurthy
Expand Down
68 changes: 36 additions & 32 deletions src/main/java/org/drip/state/identifier/EntityEquityLabel.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

/*!
* Copyright (C) 2025 Lakshmi Krishnamurthy
* Copyright (C) 2024 Lakshmi Krishnamurthy
* Copyright (C) 2023 Lakshmi Krishnamurthy
* Copyright (C) 2022 Lakshmi Krishnamurthy
* Copyright (C) 2021 Lakshmi Krishnamurthy
* Copyright (C) 2020 Lakshmi Krishnamurthy
Expand Down Expand Up @@ -83,21 +86,31 @@

/**
* <i>EntityEquityLabel</i> contains the Identifier Parameters referencing the Latent State of the Entity
* Equity Curve.
*
* <br><br>
* Equity Curve. It implements the following Functionality.
*
* <ul>
* <li><b>Module </b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></li>
* <li><b>Library</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></li>
* <li><b>Project</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/README.md">Latent State Inference and Creation Utilities</a></li>
* <li><b>Package</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/identifier/README.md">Latent State Identifier Labels</a></li>
* <li><i>EntityEquityLabel</i> Constructor</li>
* <li>Make a Standard Equity Entity Label from the Reference Entity Name</li>
* </ul>
* <br><br>
*
* <br>
* <style>table, td, th {
* padding: 1px; border: 2px solid #008000; border-radius: 8px; background-color: #dfff00;
* text-align: center; color: #0000ff;
* }
* </style>
*
* <table style="border:1px solid black;margin-left:auto;margin-right:auto;">
* <tr><td><b>Module </b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></td></tr>
* <tr><td><b>Library</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></td></tr>
* <tr><td><b>Project</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/README.md">Latent State Inference and Creation Utilities</a></td></tr>
* <tr><td><b>Package</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/identifier/README.md">Latent State Identifier Labels</a></td></tr>
* </table>
*
* @author Lakshmi Krishnamurthy
*/

public class EntityEquityLabel extends org.drip.state.identifier.EntityDesignateLabel
public class EntityEquityLabel extends EntityDesignateLabel
{

/**
Expand All @@ -110,48 +123,39 @@ public class EntityEquityLabel extends org.drip.state.identifier.EntityDesignate
*/

public static final EntityEquityLabel Standard (
final java.lang.String referenceEntity,
final java.lang.String currency)
final String referenceEntity,
final String currency)
{
try
{
return new EntityEquityLabel (
referenceEntity,
currency
);
}
catch (java.lang.Exception e)
{
try {
return new EntityEquityLabel (referenceEntity, currency);
} catch (Exception e) {
e.printStackTrace();
}

return null;
}

/**
* EntityEquityLabel constructor
* <i>EntityEquityLabel</i> constructor
*
* @param referenceEntity The Reference Entity
* @param currency The Currency
*
* @throws java.lang.Exception Thrown if the inputs are invalid
* @throws Exception Thrown if the inputs are invalid
*/

private EntityEquityLabel (
final java.lang.String referenceEntity,
final java.lang.String currency)
throws java.lang.Exception
final String referenceEntity,
final String currency)
throws Exception
{
super (
referenceEntity,
currency
);
super (referenceEntity, currency);
}

@Override public boolean match (
final org.drip.state.identifier.LatentStateLabel lslOther)
final LatentStateLabel latentStateLabelOther)
{
return null == lslOther || !(lslOther instanceof org.drip.state.identifier.EntityEquityLabel) ? false
: super.match (lslOther);
return null != latentStateLabelOther && latentStateLabelOther instanceof EntityEquityLabel &&
super.match (latentStateLabelOther);
}
}
87 changes: 43 additions & 44 deletions src/main/java/org/drip/state/identifier/EntityFundingLabel.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

/*!
* Copyright (C) 2025 Lakshmi Krishnamurthy
* Copyright (C) 2024 Lakshmi Krishnamurthy
* Copyright (C) 2023 Lakshmi Krishnamurthy
* Copyright (C) 2022 Lakshmi Krishnamurthy
* Copyright (C) 2021 Lakshmi Krishnamurthy
* Copyright (C) 2020 Lakshmi Krishnamurthy
Expand Down Expand Up @@ -79,16 +82,27 @@

/**
* <i>EntityFundingLabel</i> contains the Identifier Parameters referencing the Latent State of the Entity
* Funding Curve.
*
* <br><br>
* Funding Curve. It implements the following Functionality.
*
* <ul>
* <li><b>Module </b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></li>
* <li><b>Library</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></li>
* <li><b>Project</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/README.md">Latent State Inference and Creation Utilities</a></li>
* <li><b>Package</b> = <a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/identifier/README.md">Latent State Identifier Labels</a></li>
* <li><i>EntityFundingLabel</i> Constructor</li>
* <li>Make a Standard SENIOR Entity Funding Label from the Reference Entity</li>
* <li>Make a Standard SUBORDINATE Entity Funding Label from the Reference Entity</li>
* </ul>
* <br><br>
*
* <br>
* <style>table, td, th {
* padding: 1px; border: 2px solid #008000; border-radius: 8px; background-color: #dfff00;
* text-align: center; color: #0000ff;
* }
* </style>
*
* <table style="border:1px solid black;margin-left:auto;margin-right:auto;">
* <tr><td><b>Module </b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/ProductCore.md">Product Core Module</a></td></tr>
* <tr><td><b>Library</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/FixedIncomeAnalyticsLibrary.md">Fixed Income Analytics</a></td></tr>
* <tr><td><b>Project</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/README.md">Latent State Inference and Creation Utilities</a></td></tr>
* <tr><td><b>Package</b></td> <td><a href = "https://github.com/lakshmiDRIP/DROP/tree/master/src/main/java/org/drip/state/identifier/README.md">Latent State Identifier Labels</a></td></tr>
* </table>
*
* @author Lakshmi Krishnamurthy
*/
Expand All @@ -106,19 +120,12 @@ public class EntityFundingLabel extends org.drip.state.identifier.EntityCreditLa
*/

public static final EntityFundingLabel Senior (
final java.lang.String referenceEntity,
final java.lang.String currency)
final String referenceEntity,
final String currency)
{
try
{
return new EntityFundingLabel (
referenceEntity,
currency,
org.drip.state.identifier.EntityCreditLabel.SENIORITY_SENIOR
);
}
catch (java.lang.Exception e)
{
try {
return new EntityFundingLabel (referenceEntity, currency, EntityCreditLabel.SENIORITY_SENIOR);
} catch (Exception e) {
e.printStackTrace();
}

Expand All @@ -135,52 +142,44 @@ public static final EntityFundingLabel Senior (
*/

public static final EntityFundingLabel Subordinate (
final java.lang.String referenceEntity,
final java.lang.String currency)
final String referenceEntity,
final String currency)
{
try
{
return new EntityFundingLabel (
referenceEntity,
try {
return new EntityFundingLabel (referenceEntity,
currency,
org.drip.state.identifier.EntityCreditLabel.SENIORITY_SUBORDINATE
EntityCreditLabel.SENIORITY_SUBORDINATE
);
}
catch (java.lang.Exception e)
{
} catch (Exception e) {
e.printStackTrace();
}

return null;
}

/**
* EntityFundingLabel constructor
* <i>EntityFundingLabel</i> constructor
*
* @param referenceEntity The Reference Entity
* @param currency The Currency
* @param seniority The Obligation Seniority
*
* @throws java.lang.Exception Thrown if the inputs are invalid
* @throws Exception Thrown if the inputs are invalid
*/

public EntityFundingLabel (
final java.lang.String referenceEntity,
final java.lang.String currency,
final java.lang.String seniority)
throws java.lang.Exception
final String referenceEntity,
final String currency,
final String seniority)
throws Exception
{
super (
referenceEntity,
currency,
seniority
);
super (referenceEntity, currency, seniority);
}

@Override public boolean match (
final org.drip.state.identifier.LatentStateLabel lslOther)
final LatentStateLabel latentStateLabelOther)
{
return null == lslOther || !(lslOther instanceof org.drip.state.identifier.EntityFundingLabel) ?
false : super.match (lslOther);
return null != latentStateLabelOther && latentStateLabelOther instanceof EntityFundingLabel &&
super.match (latentStateLabelOther);
}
}
Loading

0 comments on commit 56adc48

Please sign in to comment.