本文整理匯總了Golang中github.com/quickfixgo/quickfix/field.NewTransactTime函數的典型用法代碼示例。如果您正苦於以下問題:Golang NewTransactTime函數的具體用法?Golang NewTransactTime怎麽用?Golang NewTransactTime使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了NewTransactTime函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: queryOrderCancelRequest50
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: queryNewOrderSingle43
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
}
示例3: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoOrders) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例4: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationACK) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例5: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m Quote) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例6: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ConfirmationRequest) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例7: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m AllocationReportAck) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例8: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ListExecute) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例9: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m IndicationofInterest) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例10: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m OrderCancelReject) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例11: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoSecurityTypes) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例12: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m ListStatus) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例13: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m MarketDefinition) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例14: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m NoDates) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}
示例15: SetTransactTime
//SetTransactTime sets TransactTime, Tag 60
func (m Advertisement) SetTransactTime(v time.Time) {
m.Set(field.NewTransactTime(v))
}