示例#1
0
//FromApp implemented as part of Application interface. This is the callback for all Application level messages from the counter party.
func (e TradeClient) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) {
	fmt.Printf("FromApp: %s\n", msg.String())
	return
}
示例#2
0
//Use Message Cracker on Incoming Application Messages
func (e *Executor) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) {
	log.Infof("FIX->SIM: FIX44NewOrderSingle \n%v", msg.String())
	return e.Route(msg, sessionID)
}
示例#3
0
func (e *AcceptorApp) FromApp(msg quickfix.Message,
	sessionID quickfix.SessionID) quickfix.MessageRejectError {
	log.Print("Got ", msg.String())
	return nil
}
示例#4
0
func (app FIXClient) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) {
	log.Infof("FIX->MC EXEC: \n%v", msg.String())
	return app.Route(msg, sessionID)
}