Open
Conversation
Natural-language one-shot perpetual trading on Hyperliquid via OnchainOS Agentic Wallet — open long/short with leverage and OCO stop-loss/take-profit bracket in a single user-confirmed command. - depends on hyperliquid-plugin ^0.3.9 (order command with bracket OCO) - every order is user-confirmed; no autonomous trading - every example uses --strategy-id hl-instant-order for attribution
The strategy attribution path depends on `onchainos wallet report-plugin-info`, which only exists in onchainos >= 2.5.0. With an older CLI, hyperliquid-plugin emits "Warning: report-plugin-info failed: unrecognized subcommand 'report-plugin-info'" and the trade is not credited on the leaderboard even though it settles on Hyperliquid. Reproduced locally: a buy with onchainos 2.2.9 produced the warning and was not attributed; after `onchainos upgrade` to 2.5.0 the close ran cleanly with no warning. Adds a preflight gate that probes `report-plugin-info --help` and falls back to `onchainos upgrade` so the AI agent never silently drops attribution.
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.
Plugin Submission
Plugin name: hl-instant-order
Version: 1.0.0
Type: new-plugin
Checklist
okx-,official-,plugin-store-)nameanddescriptionplugin-store lintpasses locally — Cargo not available in dev environment, relying on CI lint. File-size, frontmatter, schema, and--strategy-idcoverage manually verified.What does this plugin do?
Turns one natural-language sentence into one bracketed Hyperliquid perpetual order. The AI agent parses coin/side/size/leverage/SL/TP from the user's message, previews the exact
hyperliquid ordercommand, and on explicit user confirmation submits it via OnchainOS Agentic Wallet — entry, stop-loss, and take-profit all signed atomically as a single OCO bracket (grouping: normalTpsl).Strategy attribution: every write-op example uses
--strategy-id hl-instant-orderso trades are recorded for the Plugin Store leaderboard.Which onchainos commands does it use?
Read-only:
onchainos wallet statusonchainos wallet addressesThrough
hyperliquid-plugin(declared asdependent_plugin):hyperliquid prices(read)hyperliquid quickstart(read)hyperliquid positions(read)hyperliquid register(one-time setup)hyperliquid order— write, always with--strategy-id hl-instant-orderand user--confirmhyperliquid tpsl— write, same constraintshyperliquid close— write, same constraintsSecurity Considerations
standard. Every write op requires explicit per-call user--confirmafter preview; no autonomous trading.Testing
trading-strategyplugins (e.g.smart-money-signal-copy-trade) in this repo.tpslandclosefollow-ups confirmed to include--strategy-id hl-instant-order(11 occurrences in SKILL.md).dependent_plugin: hyperliquid-plugin ^0.3.9resolves against the currentregistry.json(v0.3.9 is the latest published version with bracket OCO + strategy attribution).Notes
This plugin and the companion
hl-grid-batch(separate PR) are submissions for the Plugin Store Season 1 Developer Challenge (Apr 23 – May 7, 2026).