fix: map CoinGlass heatmap range bounds
Some checks failed
ci / build + vet + guard + race (push) Has been cancelled
Some checks failed
ci / build + vet + guard + race (push) Has been cancelled
This commit is contained in:
@@ -20,7 +20,7 @@ func TestMapLiqHeatMap_FloatToString(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
name: "real decrypted data object",
|
||||
plaintext: `{"instrument":{"exName":"Binance","instrumentId":"BTCUSDT"},"liq":[[1,2,3.4]],"priceMin":110234.5,"priceMax":118888.0}`,
|
||||
plaintext: `{"instrument":{"exName":"Binance","instrumentId":"BTCUSDT"},"liq":[[1,2,3.4]],"prices":[110000,111000],"rangeLow":110234.5,"rangeHigh":118888.0,"updateTime":1779717600600,"y":[]}`,
|
||||
wantSymbol: "Binance_BTCUSDT",
|
||||
wantMin: "110234.5",
|
||||
wantMax: "118888",
|
||||
|
||||
Reference in New Issue
Block a user