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 Exchanges
    java.lang.String fullyQualifiedName()
    Retrieve the Fully Qualified Name
    LastTradingDateSetting[] ltdsArray​(java.lang.String strExchange)
    Retrieve the LTDS Array corresponding to the Exchange
    boolean setLDTS​(java.lang.String strExchange, LastTradingDateSetting[] aLTDS)
    Add a Named Exchange LTDS Array Map Entry
    java.lang.String tradingMode()
    Retrieve the Trading Mode

    Methods 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.Exception
      FuturesOptions Constructor
      Parameters:
      strFullyQualifiedName - Fully Qualified Name
      strTradingMode - 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

      public boolean setLDTS​(java.lang.String strExchange, LastTradingDateSetting[] aLTDS)
      Add a Named Exchange LTDS Array Map Entry
      Parameters:
      strExchange - Named Exchange
      aLTDS - Array of LTDS
      Returns:
      TRUE - Named Exchange LTDS Array Map Entry successfully added
    • ltdsArray

      public LastTradingDateSetting[] ltdsArray​(java.lang.String strExchange)
      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