This commit is contained in:
Facu Marion
2026-03-13 14:23:47 -03:00

View File

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