mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 12:34:44 +00:00
update stock proto
This commit is contained in:
@@ -58,8 +58,8 @@ func (s *Stock) Quote(ctx context.Context, req *pb.QuoteRequest, rsp *pb.QuoteRe
|
||||
}
|
||||
|
||||
rsp.Symbol = respBody.Symbol
|
||||
rsp.Ask = respBody.Ask
|
||||
rsp.Bid = respBody.Bid
|
||||
rsp.AskPrice = respBody.Ask
|
||||
rsp.BidPrice = respBody.Bid
|
||||
rsp.AskSize = respBody.Asize
|
||||
rsp.BidSize = respBody.Bsize
|
||||
rsp.Timestamp = time.Unix(0, respBody.Timestamp * int64(time.Millisecond)).UTC().Format(time.RFC3339Nano)
|
||||
|
||||
Reference in New Issue
Block a user