Esempio n. 1
0
 internal static ResolvedIborFutureTrade sut2()
 {
     return(ResolvedIborFutureTrade.builder().info(TRADE_INFO2).product(PRODUCT2).quantity(QUANTITY2).tradedPrice(TradedPrice.of(TRADE_DATE, PRICE2)).build());
 }
Esempio n. 2
0
        //-------------------------------------------------------------------------
        public virtual void test_resolve()
        {
            ResolvedIborFutureTrade expected = ResolvedIborFutureTrade.builder().info(POSITION_INFO).product(PRODUCT.resolve(REF_DATA)).quantity(QUANTITY).build();

            assertEquals(sut().resolve(REF_DATA), expected);
        }