From 4e62548091c70f1c76fa74f38f703f04a4f7bdf6 Mon Sep 17 00:00:00 2001 From: Ramiro Paz Date: Fri, 13 Mar 2026 12:11:40 -0300 Subject: [PATCH] fix ids --- src/client/fix/manager.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/fix/manager.go b/src/client/fix/manager.go index 9278d95..bf40b0f 100644 --- a/src/client/fix/manager.go +++ b/src/client/fix/manager.go @@ -6,6 +6,7 @@ import ( "sync" "time" + "github.com/google/uuid" "github.com/rs/zerolog/log" "github.com/shopspring/decimal" @@ -139,7 +140,7 @@ func (m *Manager) SendQuote( } q := quote.New( - field.NewQuoteID("NONREF"), + field.NewQuoteID(uuid.NewString()), field.NewQuoteType(enum.QuoteType_INDICATIVE), field.NewTransactTime(time.Now()), ) @@ -152,7 +153,7 @@ func (m *Manager) SendQuote( q.SetSymbol("[N/A]") q.SetSecurityID(symbol) q.SetSecurityIDSource(sIDSource) - q.SetQuoteID(quoteID) + q.SetQuoteReqID(quoteID) if currency != "" { q.SetCurrency(currency)