示例#1
0
func queryOrderCancelRequest50() (msg quickfix.Message) {
	cancel := fix50cxl.New(queryOrigClOrdID(), queryClOrdID(), querySide(), field.NewTransactTime(time.Now()))
	cancel.Set(querySymbol())
	cancel.Set(queryOrderQty())
	msg = cancel.ToMessage()
	queryHeader(msg.Header)
	return
}
示例#2
0
func queryNewOrderSingle43() (msg quickfix.Message) {
	var ordType field.OrdTypeField
	order := fix43nos.New(queryClOrdID(), field.NewHandlInst("1"), querySide(), field.NewTransactTime(time.Now()), queryOrdType(&ordType))
	order.Set(querySymbol())
	order.Set(queryOrderQty())

	switch ordType.Value() {
	case enum.OrdType_LIMIT, enum.OrdType_STOP_LIMIT:
		order.Set(queryPrice())
	}

	switch ordType.Value() {
	case enum.OrdType_STOP, enum.OrdType_STOP_LIMIT:
		order.Set(queryStopPx())
	}

	order.Set(queryTimeInForce())
	msg = order.ToMessage()
	queryHeader(msg.Header)

	return
}
//SetTransactTime sets TransactTime, Tag 60
func (m NoOrders) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationACK) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#5
0
//SetTransactTime sets TransactTime, Tag 60
func (m Quote) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m ConfirmationRequest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationReportAck) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#8
0
//SetTransactTime sets TransactTime, Tag 60
func (m ListExecute) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m IndicationofInterest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m OrderCancelReject) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#11
0
//SetTransactTime sets TransactTime, Tag 60
func (m NoSecurityTypes) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#12
0
//SetTransactTime sets TransactTime, Tag 60
func (m ListStatus) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m MarketDefinition) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m NoDates) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m Advertisement) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m SettlementInstructionRequest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m MarketDefinitionUpdateReport) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#18
0
//SetTransactTime sets TransactTime, Tag 60
func (m IOI) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#19
0
//SetTransactTime sets TransactTime, Tag 60
func (m NoQuoteEntries) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m SecurityStatus) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m ListCancelRequest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m OrderMassCancelRequest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m ExecutionReport) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationInstructionAck) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m NoTradingSessions) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
示例#26
0
//SetTransactTime sets TransactTime, Tag 60
func (m NoRelatedSym) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m CrossOrderCancelRequest) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m NewOrderSingle) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}
//SetTransactTime sets TransactTime, Tag 60
func (m QuoteStatusReport) SetTransactTime(v time.Time) {
	m.Set(field.NewTransactTime(v))
}