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