Esempio n. 1
0
func NewOrder() (ib.Order, error) {
	order, err := ib.NewOrder()

	if gEnableRTH {
		order.OutsideRTH = true
	}

	order.TIF = "DAY"
	if gEnableGTC {
		order.TIF = "GTC"
	}

	return order, err
}
Esempio n. 2
0
//NewOrder comment
func NewOrder() (ib.Order, error) {
	order, err := ib.NewOrder()
	order.OutsideRTH = false
	return order, err
}