feat: osrs/para BTCSWP swap perps + mainnet HIP-3 dex support#63
Open
JaeLeex wants to merge 2 commits into
Open
feat: osrs/para BTCSWP swap perps + mainnet HIP-3 dex support#63JaeLeex wants to merge 2 commits into
JaeLeex wants to merge 2 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Re-add osrs to HIP3_DEXS (reverted in minified models) and register BTCSWP-OSRS/osrs:BTCSWP in strategy_registry without changing yex/para network defaults. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BTCSWP-PARA/para:BTCSWP) while keeping YEX testnet behavior forBTCSWP-USDYPand other YEX-only assets (VXX, US3M).mainnet/HL_TESTNETthrough instrument resolution, HL coin mapping, strategy guard, and parent HL proxy so CLItrade,run, andguardcommands resolve the correct dex per network.test_instrument_registry, strategy registry, HL adapter coin mapping).Test plan
pytest tests/test_instrument_registry.py tests/test_strategy_registry.py tests/test_hl_adapter.py::TestCoinMapping -q(27 passed)trade run --instrument BTCSWP-PARA --mainnet(orHL_TESTNET=false) resolvespara:BTCSWPBTCSWP→BTCSWP-USDYP/yex:BTCSWPMade with Cursor