T- the type of the prorated result
public interface Proratable<T>
A loan contract transaction is an example of a proratable type. Consider a global repayment of 2MM on a 100MM facility. A participant assigned 50MM of that facility will have a 50% share and thus the 2MM repayment would be prorated to 1MM.
T prorate(com.opengamma.strata.product.ProductTrade trade)
trade- buy or sell trade representing a full or partial allocation
Copyright © 2018. All rights reserved.