Package org.drip.market.exchange
Class FuturesOptions
java.lang.Object
org.drip.market.exchange.FuturesOptions
public class FuturesOptions
extends java.lang.Object
FuturesOptions contains the details of the exchange-traded Short-Term Futures Options Contracts.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FuturesOptions(java.lang.String strFullyQualifiedName, java.lang.String strTradingMode)FuturesOptions Constructor -
Method Summary
Modifier and Type Method Description java.util.Set<java.lang.String>exchanges()Retrieve the Set of Traded Exchangesjava.lang.StringfullyQualifiedName()Retrieve the Fully Qualified NameLastTradingDateSetting[]ltdsArray(java.lang.String strExchange)Retrieve the LTDS Array corresponding to the ExchangebooleansetLDTS(java.lang.String strExchange, LastTradingDateSetting[] aLTDS)Add a Named Exchange LTDS Array Map Entryjava.lang.StringtradingMode()Retrieve the Trading ModeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FuturesOptions
public FuturesOptions(java.lang.String strFullyQualifiedName, java.lang.String strTradingMode) throws java.lang.ExceptionFuturesOptions Constructor- Parameters:
strFullyQualifiedName- Fully Qualified NamestrTradingMode- Trading Mode - PREMIUM | MARGIN- Throws:
java.lang.Exception- Thrown if inputs are invalid
-
-
Method Details
-
fullyQualifiedName
public java.lang.String fullyQualifiedName()Retrieve the Fully Qualified Name- Returns:
- The Fully Qualified Name
-
tradingMode
public java.lang.String tradingMode()Retrieve the Trading Mode- Returns:
- The Trading Mode
-
setLDTS
Add a Named Exchange LTDS Array Map Entry- Parameters:
strExchange- Named ExchangeaLTDS- Array of LTDS- Returns:
- TRUE - Named Exchange LTDS Array Map Entry successfully added
-
ltdsArray
Retrieve the LTDS Array corresponding to the Exchange- Parameters:
strExchange- The Exchange- Returns:
- The LTDS Array
-
exchanges
public java.util.Set<java.lang.String> exchanges()Retrieve the Set of Traded Exchanges- Returns:
- The Set of Traded Exchanges
-