//-------------------------------------------------------------------------
        public virtual void test_resolve()
        {
            ResolvedBondFutureOptionTrade expected = ResolvedBondFutureOptionTrade.builder().info(POSITION_INFO).product(PRODUCT.resolve(REF_DATA)).quantity(QUANTITY).build();

            assertEquals(sut().resolve(REF_DATA), expected);
        }
Пример #2
0
        //-------------------------------------------------------------------------
        public virtual void test_resolve()
        {
            ResolvedBondFutureOptionTrade expected = ResolvedBondFutureOptionTrade.builder().info(TRADE_INFO).product(OPTION_PRODUCT.resolve(REF_DATA)).quantity(QUANTITY).tradedPrice(TradedPrice.of(TRADE_INFO.TradeDate.get(), PRICE.Value)).build();

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