/** * Gets the security identifier. * <p> * This identifier uniquely identifies the security within the system. * * @return the security identifier */ @Override public default SecurityId getSecurityId() { return getSecurity().getSecurityId(); }
/** * Gets the currency of the position. * <p> * This is the currency of the security. * * @return the trading currency */ public default Currency getCurrency() { return getSecurity().getCurrency(); }
/** * Gets the type of the contract - future or option. * * @return the type, future or option */ public default EtdType getType() { return getSecurity().getType(); }