Package org.drip.market.exchange
Class TreasuryFuturesContract
java.lang.Object
org.drip.market.exchange.TreasuryFuturesContract
public class TreasuryFuturesContract
extends java.lang.Object
TreasuryFuturesContract holds the Parameters/Settings of the Common Treasury Futures Contracts.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TreasuryFuturesContract(java.lang.String strID, java.lang.String strCode, java.lang.String strType, java.lang.String strTenor)
TreasuryFuturesContract Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TreasuryFuturesContract
public TreasuryFuturesContract(java.lang.String strID, java.lang.String strCode, java.lang.String strType, java.lang.String strTenor) throws java.lang.ExceptionTreasuryFuturesContract Constructor- Parameters:
strID
- Contract IDstrCode
- Underling Treasury CodestrType
- Underlying Treasury TypestrTenor
- Contract Tenor- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
id
public java.lang.String id()Retrieve the Treasury Futures Contract ID- Returns:
- The Contract ID
-
code
public java.lang.String code()Retrieve the Underlying Treasury Code- Returns:
- The Underlying Treasury Code
-
type
public java.lang.String type()Retrieve the Underlying Treasury Type- Returns:
- The Underlying Treasury Type
-
tenor
public java.lang.String tenor()Retrieve the Contract Tenor- Returns:
- The Contract Tenor
-