ForwardStartOptionDefinition extends OptionDefinition { public double getAlpha() { return _alpha; } ForwardStartOptionDefinition(final Expiry expiry, final Boolean isCall, final Expiry startTime);  ForwardStartOptionDefinition(final Expiry expiry, final Boolean isCall, final Expiry startTime, final double percent, final Moneyness moneyness); Expiry getStartTime(); double getAlpha(); double getPercent(); Moneyness getMoneyness(); @Override OptionExerciseFunction<StandardOptionDataBundle> getExerciseFunction(); @Override OptionPayoffFunction<StandardOptionDataBundle> getPayoffFunction(); double getTimeToStart(final ZonedDateTime date); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void testAlpha() { assertEquals(ATM_CALL.getAlpha(), 1, 0); assertEquals(ATM_PUT.getAlpha(), 1, 0); assertEquals(ITM_CALL.getAlpha(), 0.6, 0); assertEquals(ITM_PUT.getAlpha(), 1.4, 0); assertEquals(OTM_CALL.getAlpha(), 1.4, 0); assertEquals(OTM_PUT.getAlpha(), 0.6, 0); }