示例#1
0
文件: Order.cs 项目: TzarIvan/ratel
 public double fillPrice(double tick, bool isOpen)
 {
     return(details.fillPrice(tick, isOpen || isPlacedOnClose || duration.isOnClose()));
 }
示例#2
0
 public override bool canSubmitToFerret(OrderDuration duration)
 {
     return(duration.isOnClose());
 }