Skip to content

Commit

Permalink
Features:
Browse files Browse the repository at this point in the history
	- Service Environment Frame Context - Shell (19)
	- Env Frame Context - Build Version (20)
	- Env Frame Context - Start Time (21)
	- Env Frame Context - Finish Time (22)
	- Env Frame Context - Elapsed Nanos (23, 24)
	- Frame Context - Constructor and Annotation (25, 26, 27)
	- Frame Context - Record Finish Snap (28, 29)
	- Frame Context - Static Versioned Constructor (30, 31)
	- Frame Context - Formatted Elapsed Time (32, 33, 34)
	- Env Manager - Frame Context Initialization (35)
	- Env Manager - Frame Context Finish (36, 37)
	- Frame Context - Elapsed Milli Seconds (38, 39)
	- Env Manager - Frame Context Invocation (40, 41)
	- Env Manager - Frame Context Termination (42, 43)
	- Service Env Build Record Shell (44)
	- Env Build Record - DRIP Version (45)
	- Env Build Record - Java Version (46)
	- Env Build Record - Build Time (47)
	- Env Build Record - Constructor Annotation (48, 49, 50)
	- Build Manager - Versioned Record Array (51, 52)
	- Populate Build Record Log Entries (53, 54)
	- Env Manager - Latest Build Record (56, 57)


Bug Fixes/Clean-up:

	- Frame Context Time Build Version (55)
	- Frame Context Mill-second Fix (58)


Samples:

	- Bumped State Template Code Coverage #1 (1, 2)
	- Bumped State Template Code Coverage #2 (3, 4)
	- Bumped State Template Code Coverage #3 (5, 6)
	- Bumped State Template Code Coverage #4 (7, 8)
	- UST Template Code Coverage #1 (9, 10)
	- UST Template Code Coverage #2 (11, 12)
	- UST Template Code Coverage #3 (13)
	- WN1 ULTRA UST Futures (14)
	- US1 FV1 UST Futures (15)
	- TU1 TY1 UST Futures (16)
	- Rename Chandigarh to Parbhani (17)
	- Rename Faridabad to Tumkur (18)
  • Loading branch information
Lakshmik committed Dec 20, 2017
1 parent 6578477 commit 22c9523
Show file tree
Hide file tree
Showing 19 changed files with 519 additions and 17 deletions.
Binary file modified .gradle/3.5/fileContent/fileContent.lock
Binary file not shown.
Binary file modified .gradle/3.5/taskHistory/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/3.5/taskHistory/fileSnapshots.bin
Binary file not shown.
Binary file modified .gradle/3.5/taskHistory/jvmClassSignatures.bin
Binary file not shown.
Binary file modified .gradle/3.5/taskHistory/taskHistory.bin
Binary file not shown.
Binary file modified .gradle/3.5/taskHistory/taskHistory.lock
Binary file not shown.
47 changes: 47 additions & 0 deletions ReleaseNotes/12_19_2017.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

Features:

- Service Environment Frame Context - Shell (19)
- Env Frame Context - Build Version (20)
- Env Frame Context - Start Time (21)
- Env Frame Context - Finish Time (22)
- Env Frame Context - Elapsed Nanos (23, 24)
- Frame Context - Constructor and Annotation (25, 26, 27)
- Frame Context - Record Finish Snap (28, 29)
- Frame Context - Static Versioned Constructor (30, 31)
- Frame Context - Formatted Elapsed Time (32, 33, 34)
- Env Manager - Frame Context Initialization (35)
- Env Manager - Frame Context Finish (36, 37)
- Frame Context - Elapsed Milli Seconds (38, 39)
- Env Manager - Frame Context Invocation (40, 41)
- Env Manager - Frame Context Termination (42, 43)
- Service Env Build Record Shell (44)
- Env Build Record - DRIP Version (45)
- Env Build Record - Java Version (46)
- Env Build Record - Build Time (47)
- Env Build Record - Constructor Annotation (48, 49, 50)
- Build Manager - Versioned Record Array (51, 52)
- Populate Build Record Log Entries (53, 54)
- Env Manager - Latest Build Record (56, 57)


Bug Fixes/Clean-up:

- Frame Context Time Build Version (55)
- Frame Context Mill-second Fix (58)


Samples:

- Bumped State Template Code Coverage #1 (1, 2)
- Bumped State Template Code Coverage #2 (3, 4)
- Bumped State Template Code Coverage #3 (5, 6)
- Bumped State Template Code Coverage #4 (7, 8)
- UST Template Code Coverage #1 (9, 10)
- UST Template Code Coverage #2 (11, 12)
- UST Template Code Coverage #3 (13)
- WN1 ULTRA UST Futures (14)
- US1 FV1 UST Futures (15)
- TU1 TY1 UST Futures (16)
- Rename Chandigarh to Parbhani (17)
- Rename Faridabad to Tumkur (18)
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,7 @@ public static final void main (

iBigStringPivot -= iBigStringBlock;
}

EnvManager.TerminateEnv();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
*/

/**
* Chandigarh generates the Full Suite of Replication Metrics for Bond Chandigarh.
* Parbhani generates the Full Suite of Replication Metrics for Bond Parbhani.
*
* @author Lakshmi Krishnamurthy
*/

public class Chandigarh {
public class Parbhani {

private static final void SetEOS (
final BondComponent bond,
Expand Down Expand Up @@ -189,7 +189,7 @@ public static final void main (
double dblFX = 1.;
int iSettleLag = 3;
int iCouponFreq = 12;
String strName = "Chandigarh";
String strName = "Parbhani";
double dblCleanPrice = 1.;
double dblIssuePrice = 1.;
String strCurrency = "USD";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
*/

/**
* Faridabad generates the Full Suite of Replication Metrics for Bond Faridabad.
* Tumkur generates the Full Suite of Replication Metrics for Bond Tumkur.
*
* @author Lakshmi Krishnamurthy
*/

public class Faridabad {
public class Tumkur {

private static final void SetEOS (
final BondComponent bond,
Expand Down Expand Up @@ -189,7 +189,7 @@ public static final void main (
double dblFX = 1.;
int iSettleLag = 3;
int iCouponFreq = 4;
String strName = "Faridabad";
String strName = "Tumkur";
double dblCleanPrice = 1.;
double dblIssuePrice = 1.;
String strCurrency = "USD";
Expand Down
106 changes: 106 additions & 0 deletions src/main/java/org/drip/service/env/BuildManager.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@

package org.drip.service.env;

/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/

/*!
* Copyright (C) 2018 Lakshmi Krishnamurthy
* Copyright (C) 2017 Lakshmi Krishnamurthy
*
* This file is part of DRIP, a free-software/open-source library for buy/side financial/trading model
* libraries targeting analysts and developers
* https://lakshmidrip.github.io/DRIP/
*
* DRIP is composed of four main libraries:
*
* - DRIP Fixed Income - https://lakshmidrip.github.io/DRIP-Fixed-Income/
* - DRIP Asset Allocation - https://lakshmidrip.github.io/DRIP-Asset-Allocation/
* - DRIP Numerical Optimizer - https://lakshmidrip.github.io/DRIP-Numerical-Optimizer/
* - DRIP Statistical Learning - https://lakshmidrip.github.io/DRIP-Statistical-Learning/
*
* - DRIP Fixed Income: Library for Instrument/Trading Conventions, Treasury Futures/Options,
* Funding/Forward/Overnight Curves, Multi-Curve Construction/Valuation, Collateral Valuation and XVA
* Metric Generation, Calibration and Hedge Attributions, Statistical Curve Construction, Bond RV
* Metrics, Stochastic Evolution and Option Pricing, Interest Rate Dynamics and Option Pricing, LMM
* Extensions/Calibrations/Greeks, Algorithmic Differentiation, and Asset Backed Models and Analytics.
*
* - DRIP Asset Allocation: Library for model libraries for MPT framework, Black Litterman Strategy
* Incorporator, Holdings Constraint, and Transaction Costs.
*
* - DRIP Numerical Optimizer: Library for Numerical Optimization and Spline Functionality.
*
* - DRIP Statistical Learning: Library for Statistical Evaluation and Machine Learning.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* BuildManager maintains a Log of the Build Records.
*
* @author Lakshmi Krishnamurthy
*/

public class BuildManager
{
private static org.drip.service.env.BuildRecord[] s_aBuildRecord = null;

/**
* Initialize the Build Logs of the Build Manager
*
* @return TRUE - The Build Manager Successfully Initialized
*/

public static final boolean Init()
{
try {
s_aBuildRecord = new org.drip.service.env.BuildRecord[] {
new org.drip.service.env.BuildRecord (
"3.22.0",
"1.8.0_112",
"Mon Dec 18 17:32:03 EST 2017"
)
};

return true;
} catch (java.lang.Exception e) {
e.printStackTrace();
}

return false;
}

/**
* Retrieve the Array of Build Records
*
* @return Array of Build Records
*/

public static final org.drip.service.env.BuildRecord[] buildRecords()
{
return s_aBuildRecord;
}

/**
* Retrieve the Latest Build Record
*
* @return Latest Build Record
*/

public static final org.drip.service.env.BuildRecord latestBuildRecord()
{
return s_aBuildRecord[0];
}
}
116 changes: 116 additions & 0 deletions src/main/java/org/drip/service/env/BuildRecord.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@

package org.drip.service.env;

/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/

/*!
* Copyright (C) 2018 Lakshmi Krishnamurthy
* Copyright (C) 2017 Lakshmi Krishnamurthy
*
* This file is part of DRIP, a free-software/open-source library for buy/side financial/trading model
* libraries targeting analysts and developers
* https://lakshmidrip.github.io/DRIP/
*
* DRIP is composed of four main libraries:
*
* - DRIP Fixed Income - https://lakshmidrip.github.io/DRIP-Fixed-Income/
* - DRIP Asset Allocation - https://lakshmidrip.github.io/DRIP-Asset-Allocation/
* - DRIP Numerical Optimizer - https://lakshmidrip.github.io/DRIP-Numerical-Optimizer/
* - DRIP Statistical Learning - https://lakshmidrip.github.io/DRIP-Statistical-Learning/
*
* - DRIP Fixed Income: Library for Instrument/Trading Conventions, Treasury Futures/Options,
* Funding/Forward/Overnight Curves, Multi-Curve Construction/Valuation, Collateral Valuation and XVA
* Metric Generation, Calibration and Hedge Attributions, Statistical Curve Construction, Bond RV
* Metrics, Stochastic Evolution and Option Pricing, Interest Rate Dynamics and Option Pricing, LMM
* Extensions/Calibrations/Greeks, Algorithmic Differentiation, and Asset Backed Models and Analytics.
*
* - DRIP Asset Allocation: Library for model libraries for MPT framework, Black Litterman Strategy
* Incorporator, Holdings Constraint, and Transaction Costs.
*
* - DRIP Numerical Optimizer: Library for Numerical Optimization and Spline Functionality.
*
* - DRIP Statistical Learning: Library for Statistical Evaluation and Machine Learning.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* BuildRecord records the Build Log - DRIP Version, Java Version, and Build Time Stamp.
*
* @author Lakshmi Krishnamurthy
*/

public class BuildRecord
{
private java.lang.String _strTimeStamp = "";
private java.lang.String _strDRIPVersion = "";
private java.lang.String _strJavaVersion = "";

/**
* BuildRecord Constructor
*
* @param strDRIPVersion The DRIP Build Version
* @param strJavaVersion The Java Build Version
* @param strTimeStamp The DRIP Build Time Stamp
*
* @throws java.lang.Exception Thrown if the Inputs are Invalid
*/

public BuildRecord (
final java.lang.String strDRIPVersion,
final java.lang.String strJavaVersion,
final java.lang.String strTimeStamp)
throws java.lang.Exception
{
if (null == (_strDRIPVersion = strDRIPVersion) || _strDRIPVersion.isEmpty() ||
null == (_strJavaVersion = strJavaVersion) || _strJavaVersion.isEmpty() ||
null == (_strTimeStamp = strTimeStamp) || _strTimeStamp.isEmpty())
throw new java.lang.Exception ("BuildRecord Constructor => Invalid Inputs");
}

/**
* Retrieve the DRIP Build Version
*
* @return The DRIP Build Version
*/

public java.lang.String dripVersion()
{
return _strDRIPVersion;
}

/**
* Retrieve the Java Build Version
*
* @return The Java Build Version
*/

public java.lang.String javaVersion()
{
return _strJavaVersion;
}

/**
* Retrieve the Build Time Stamp
*
* @return The Build Time Stamp
*/

public java.lang.String timeStamp()
{
return _strTimeStamp;
}
}
Loading

0 comments on commit 22c9523

Please sign in to comment.