generic json for fix messages
This commit is contained in:
@ -5,26 +5,20 @@ import "time"
|
||||
|
||||
// ListTrade es la representacion exportada de un trade de List Trading.
|
||||
type ListTrade struct {
|
||||
QuoteReqID string
|
||||
ListID string
|
||||
Symbol string
|
||||
SecurityIDSrc string
|
||||
Currency string
|
||||
Side string
|
||||
OrderQty string
|
||||
SettlDate string
|
||||
Price string
|
||||
OwnerTraderID string
|
||||
QuoteRequest FixMessageJSON `json:"quote_request"`
|
||||
Quoted bool `json:"quoted"`
|
||||
Price string `json:"price,omitempty"`
|
||||
}
|
||||
|
||||
// FixMessageJSON es la representacion estructurada de un mensaje FIX para almacenamiento.
|
||||
type FixMessageJSON struct {
|
||||
Direction string `json:"direction"`
|
||||
MsgType string `json:"msg_type"`
|
||||
QuoteReqID string `json:"quote_req_id"`
|
||||
Header map[string]interface{} `json:"header"`
|
||||
Body map[string]interface{} `json:"body"`
|
||||
ReceiveTime time.Time `json:"receive_time"`
|
||||
Direction string `json:"direction"`
|
||||
MsgType string `json:"msg_type"`
|
||||
QuoteReqID string `json:"quote_req_id"`
|
||||
Header map[string]any `json:"header"`
|
||||
Body map[string]any `json:"body"`
|
||||
Trailer map[string]any `json:"trailer"`
|
||||
ReceiveTime time.Time `json:"receive_time"`
|
||||
}
|
||||
|
||||
// TradeMessage es una fila de qfixdpl_messages.
|
||||
|
||||
Reference in New Issue
Block a user