//------------------------------------------------------------------------- internal static EtdOptionTrade sut() { return(EtdOptionTrade.builder().info(TRADE_INFO).security(SECURITY).quantity(3000).price(20).build()); }
internal static EtdOptionTrade sut2() { return(EtdOptionTrade.builder().security(EtdOptionSecurityTest.sut2()).quantity(4000).price(30).build()); }
public EtdOptionTrade createTrade(TradeInfo tradeInfo, double quantity, double tradePrice, ReferenceData refData) { return(EtdOptionTrade.builder().info(tradeInfo).quantity(quantity).price(tradePrice).security(this).build()); }