diff --git a/src/client/fix/manager.go b/src/client/fix/manager.go index 71714ad..8085cb9 100644 --- a/src/client/fix/manager.go +++ b/src/client/fix/manager.go @@ -7,6 +7,7 @@ import ( "sync" "time" + "github.com/google/uuid" "github.com/rs/zerolog/log" "github.com/shopspring/decimal" @@ -141,7 +142,7 @@ func (m *Manager) SendQuote( } q := quote.New( - field.NewQuoteID(quoteID), + field.NewQuoteID(uuid.NewString()), field.NewQuoteType(enum.QuoteType_INDICATIVE), field.NewTransactTime(time.Now()), ) @@ -154,7 +155,7 @@ func (m *Manager) SendQuote( q.SetSymbol("[N/A]") q.SetSecurityID(symbol) q.SetSecurityIDSource(sIDSource) - q.SetQuoteReqID(clOrdID) + q.SetQuoteReqID(quoteID) if currency != "" { q.SetCurrency(currency)