@Override public default ImmutableSet<Currency> allCurrencies() { return ImmutableSet.of(getCurrency()); }
/** * Gets the currency of the position. * <p> * This is typically the same as the currency of the product. * * @return the trading currency */ public default Currency getCurrency() { return getProduct().getCurrency(); }