Package org.openfeed.InstrumentDefinition

Examples of org.openfeed.InstrumentDefinition.Decimal


    if (!def.hasMinimumPriceIncrement()) {
      return Price.NULL;
    }

    final Decimal d = def.getMinimumPriceIncrement();
    return factory.newPrice(d.getMantissa(), d.getExponent());

  }
View Full Code Here


    if (!def.hasContractPointValue()) {
      return Price.NULL;
    }

    final Decimal d = def.getContractPointValue();
    return factory.newPrice(d.getMantissa(), d.getExponent());

  }
View Full Code Here

  public Price strikePrice() {

    if (!def.hasOptionStrike())
      return Price.NULL;

    final Decimal d = def.getOptionStrike();
    return factory.newPrice(d.getMantissa(), d.getExponent());

  }
View Full Code Here

TOP

Related Classes of org.openfeed.InstrumentDefinition.Decimal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.