This commit is contained in:
Ramiro Paz
2026-03-13 12:11:40 -03:00
parent fbcaac95f5
commit 4e62548091

View File

@ -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)