class FraTemplate implements TradeTemplate, ImmutableBean, Serializable {

  public static FraTemplate of(Period periodToStart, IborIndex index) {
    return of(periodToStart, periodToStart.plus(index.getTenor().getPeriod()), FraConvention.of(index));
  }

  private  FraTemplate(
      Period periodToStart,
      Period periodToEnd,
      FraConvention convention);

}