Closed AnteWall closed 1 year ago
Fixes error json: cannot unmarshal number 7.768779e+06 into Go struct field LastTrade.results.s of type uint32
json: cannot unmarshal number 7.768779e+06 into Go struct field LastTrade.results.s of type uint32
Happens when server is sending big numers with scientific notation. Simular to issue https://github.com/polygon-io/client-go/issues/192
LGTM - This is for LastTrade and Trade already was float64.
LastTrade
Trade
Fixes error
json: cannot unmarshal number 7.768779e+06 into Go struct field LastTrade.results.s of type uint32
Happens when server is sending big numers with scientific notation. Simular to issue https://github.com/polygon-io/client-go/issues/192