Skip to content

Exchange endpoint userPortfolioMargin, info endpoint exchangeStatus - #155

Merged
TuxedoFish merged 2 commits into
mainfrom
endpoint/portfolio-margin-exchange-status
Sep 8, 2026
Merged

Exchange endpoint userPortfolioMargin, info endpoint exchangeStatus#155
TuxedoFish merged 2 commits into
mainfrom
endpoint/portfolio-margin-exchange-status

Swap userPortfolioMargin response fixtures for real testnet captures

6ee2f81
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 8, 2026 in 1s

70.17% (+0.15%) compared to cec0144

View this Pull Request on Codecov

70.17% (+0.15%) compared to cec0144

Details

Codecov Report

❌ Patch coverage is 79.57746% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.17%. Comparing base (cec0144) to head (6ee2f81).

Files with missing lines Patch % Lines
src/rest/RestApi.cpp 0.00% 12 Missing ⚠️
src/websocket/WebsocketApi.cpp 0.00% 7 Missing ⚠️
src/rest/RestApiMessageParser.cpp 85.00% 3 Missing ⚠️
src/websocket/PostResponseDispatch.cpp 0.00% 3 Missing ⚠️
include/hyperliquid/types/RequestTypes.h 50.00% 2 Missing ⚠️
include/hyperliquid/rest/RestEndpointListener.h 0.00% 1 Missing ⚠️
...clude/hyperliquid/websocket/WebsocketApiListener.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
+ Coverage   70.02%   70.17%   +0.15%     
==========================================
  Files          53       54       +1     
  Lines        8640     8782     +142     
  Branches      533      534       +1     
==========================================
+ Hits         6050     6163     +113     
- Misses       2587     2616      +29     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.