• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sonirico / go-hyperliquid
18%

Build:
DEFAULT BRANCH: master
Repo Added 30 May 2025 11:57PM UTC
Token 0yRH2EThaJxpYOaRxPWy7Xb8lrcojM6FH regen
Build 302 Last
Files 41
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • chore/remove-name-to-coin
  • chore/types
  • correct-msgpack-str16-str8-conversion
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/cache-6
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/akhilmhdh/contributors-readme-action-2.3.11
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.0
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.1
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.3
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.4
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.5
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.7
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.8
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.0
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.1
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.2
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.3
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.4
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.5
  • dependabot/go_modules/github.com/mailru/easyjson-0.9.2
  • dependabot/go_modules/github.com/sonirico/vago-0.10.0
  • dependabot/go_modules/github.com/sonirico/vago-0.11.4
  • dependabot/go_modules/github.com/sonirico/vago-0.12.0
  • dependabot/go_modules/github.com/sonirico/vago-0.7.3
  • dependabot/go_modules/github.com/sonirico/vago-0.8.1
  • dependabot/go_modules/github.com/sonirico/vago-0.9.0
  • dependabot/go_modules/github.com/sonirico/vago/lol-0.1.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/stretchr/testify-1.12.0
  • dependabot/go_modules/github.com/stretchr/testify-1.12.1
  • dependabot/go_modules/github.com/valyala/fastjson-1.6.10
  • dependabot/go_modules/github.com/valyala/fastjson-1.6.7
  • dependabot/go_modules/gopkg.in/dnaeon/go-vcr.v4-4.0.6
  • dependabot/go_modules/gopkg.in/dnaeon/go-vcr.v4-4.0.7
  • feat/add-user-non-funding-ledger-updates
  • feat/add-vault-methods
  • feat/aggregate-by-time
  • feat/allmids
  • feat/asset-info-new-fields
  • feat/custom-client-options
  • feat/debug-mode
  • feat/export-order-types
  • feat/hip3
  • feat/notifications
  • feat/open-order-cloid-origsz
  • feat/perp-dexs
  • feat/signer-di
  • feat/subscribe-user-fills
  • feat/user-active-asset-data
  • feat/ws-active-asset-ctx
  • feat/ws-endpoints-custom-hosts
  • feat/ws-order-updates
  • feat/ws-webdata2
  • feature/add-reserve-request-weight-method
  • feature/context
  • feature/create-token-details-method
  • feature/issue-18
  • feature/nonce
  • fix
  • fix-update-isolated-margin-ntli-int
  • fix/HIP3-markets-order-placing
  • fix/add-security-checks
  • fix/approve-agent-and-cloid-serialization
  • fix/bulk-modify-orders-wiring
  • fix/clearinghousestate-callback
  • fix/context
  • fix/fill-type
  • fix/generate-types
  • fix/hip3-responses
  • fix/lint
  • fix/missing-websocket-matchings
  • fix/nonce
  • fix/order-query-methods
  • fix/order-type-wire
  • fix/parse-meta-collateral-token
  • fix/position-cumfunding
  • fix/remove-log
  • fix/reserve-weight-response-handling
  • fix/sigfigs
  • fix/slippage-price-silent-zero
  • fix/slippage-rounding
  • fix/spot-user-state
  • fix/token-index
  • fix/typing-meta-info
  • fix/user-fills-subscription-type
  • fix/userfees-missing-props
  • fix/vaultaddr-response-parsing
  • fix/websocket-deadlock
  • fix/ws-candles
  • fix/ws-read-timeout
  • fix_orderstatusvalue
  • halt-trading-method
  • master
  • refactor/context
  • refactor/typed-modify-order-request
  • refactor/ws
  • remove-dispatch-pong-err-log
  • set-oracle
  • test/apiresponse-unmarshal
  • test/exchange-orders-cancelbycloid
  • test/meta-methods

31 Aug 2026 10:22AM UTC coverage: 17.672% (+0.04%) from 17.629%
33382103020

push

github

web-flow
fix: don't silently use 0 when a wire price/size fails to parse (#172)

parseFloat returns 0.0 on any parse error. Two financial call sites relied
on it for values coming off the API:

- SlippagePrice (market order price): a malformed mid price became a market
  order priced at 0, with no error.
- MarketClose (position size): a malformed pos.Szi became size 0 (a no-op /
  wrong close).

Add parseFloatStrict (error-returning) and use it at both sites, which both
already return an error. parseFloat is unchanged for its display callers, so
this is non-breaking. Adds a unit test contrasting the two parsers.

6 of 14 new or added lines in 3 files covered. (42.86%)

4111 of 23263 relevant lines covered (17.67%)

330.5 hits per line

Relevant lines Covered
Build:
Build:
23263 RELEVANT LINES 4111 COVERED LINES
330.5 HITS PER LINE
Source Files on master
  • Tree
  • List 41
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33382103020 master fix: don't silently use 0 when a wire price/size fails to parse (#172) parseFloat returns 0.0 on any parse error. Two financial call sites relied on it for values coming off the API: - SlippagePrice (market order price): a malformed mid price be... push 31 Aug 2026 10:24AM UTC web-flow github
17.67
33379757953 fix/slippage-price-silent-zero Merge aef95315c into 435f97812 Pull #172 31 Aug 2026 10:21AM UTC web-flow github
17.67
32712774740 master deps(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 (#171) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.12.0 to 1.12.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](... push 24 Aug 2026 09:42AM UTC web-flow github
17.63
32711683003 dependabot/go_modules/github.com/stretchr/testify-1.12.1 Merge a3bf192f4 into 5dbb7462b Pull #171 24 Aug 2026 09:29AM UTC web-flow github
17.63
32030251690 master fix/ledger-delta-optional-fields (#170) push 17 Aug 2026 12:32PM UTC web-flow github
17.63
32029862258 master Merge 194eda844 into b26bba67c Pull #170 17 Aug 2026 12:27PM UTC web-flow github
17.63
32015874108 master deps(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.0 (#169) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.11.1 to 1.12.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](... push 17 Aug 2026 09:35AM UTC web-flow github
17.52
32015425271 dependabot/go_modules/github.com/stretchr/testify-1.12.0 Merge 1cbdc4921 into 40241410d Pull #169 17 Aug 2026 09:30AM UTC web-flow github
17.52
31974248032 master feat: adds missing ledger delta fields (#168) push 16 Aug 2026 09:43PM UTC web-flow github
17.52
31970365325 master Merge b74c392dd into 37f6b3096 Pull #168 16 Aug 2026 08:24PM UTC web-flow github
17.52
See All Builds (302)

Badge your Repo: go-hyperliquid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc