Package de.olivergierke.whoops.core

Examples of de.olivergierke.whoops.core.TransactionFeeProvider


  public BigDecimal getTransactionFee(Instrument instrument) {

    Option option = (Option) instrument;
    Instrument underlying = option.getUnderlying();

    TransactionFeeProvider provider = feeProviders.getPluginFor(underlying);
    BigDecimal fee = provider.getTransactionFee(underlying);

    return fee.multiply(multiplier);
  }
View Full Code Here

TOP

Related Classes of de.olivergierke.whoops.core.TransactionFeeProvider

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.