Observed since 20 Oct, 15:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Hyperliquid trading and query CLI (HIP-3 supported)
Hyperliquid trading and query CLI (HIP-3 supported).
pip install 1m-trade
The CLI command is hl1m.
It loads environment variables from the OpenClaw state .env:
OPENCLAW_STATE_DIR (if set)~/.openclaw/.1m-trade/.env# trade wallet (shared state .env)
hl1m exchange wallet --pri_key 0x...
# copytrade wallet (optional; if not set, copytrade falls back to trade wallet)
hl1m copy wallet --addr 0x... --pri_key 0x...
# start copytrade
hl1m copy start --leader 0xLeader --target 123
# stop copytrade
hl1m copy stop --target 123
query ..., exchange ...hl1m copy ... subcommands (start/stop/config/wallet). copy start --reverse inverts leader open/add side (default: same direction as leader).hl1m monitor run ... / hl1m monitor stop ...hl1m analyze address ...hl1m news ...# start copy-trading
hl1m copy start --leader 0x... --target 123 [--scale 1.0] [--slippage 0.05] [--coins "BTC,HYPE"] [--reverse]
# stop copy-trading
hl1m copy stop --target 123
# update running parameters
hl1m copy config --target 123 [--scale 1.2] [--max-notional-usd 200] [--max-leverage 10] [--coins "BTC,HYPE"|off]
# monitor addresses
hl1m monitor run --target 123 --user 0x... [--min-notional-usd 0] [--language zh|en]
hl1m monitor stop --target 123 --user 0x...
hl1m monitor stop --target 123 --user all
# analyze one address
hl1m analyze address --addr 0x... [--days 30] [--out report.md] [--out-json report.json]
hl1m news ... uses BlockBeats Pro API and stores the key in the shared state .env as BLOCKBEATS_API_KEY.
# set api key
hl1m news set <api_key>
# scenarios
hl1m news snapshot --lang cn
hl1m news fund-flow --network solana
hl1m news macro --timeframe 1M
hl1m news derivatives --data-type 1D --exchanges-size 10
# single endpoints
hl1m news newsflash --type important --size 5 --lang cn
hl1m news article --type important --size 10 --lang cn
hl1m news search --keyword "bitcoin" --size 10 --lang en
hl1m news data --name us10y --type 1M
.env variablesAll variables live in the same state file (~/.openclaw/.1m-trade/.env by default).
HYPERLIQUID_WALLET_ADDRESS: the account address used for queries / user fieldsHYPERLIQUID_PRIVATE_KEY_ENC: encrypted private key payload (v1)HYPERLIQUID_PK_ENC_PASSWORD: password used to decrypt HYPERLIQUID_PRIVATE_KEY_ENCIf these are present, copytrade will use them. If not, copytrade falls back to trade wallet keys above.
1M_TRADE_COPY_WALLET_ADDRESS1M_TRADE_COPY_PRIVATE_KEY_ENC1M_TRADE_COPY_PK_ENC_PASSWORDBLOCKBEATS_API_KEY: BlockBeats Pro API key (set via hl1m news set <api_key>)hl1m query user-state
hl1m query open-orders
hl1m query meta
hl1m query kline --coin BTC --period 1m --start 1700000000000 --end 1700003600000
需要先初始化 trade 钱包(写入加密私钥到 state
.env)。
hl1m exchange place --coin BTC --is-buy true --qty 0.01 --limit-px 60000 --tif Gtc
hl1m exchange market --coin BTC --is-buy true --qty 0.01 --slippage 0.02
hl1m exchange cancel --coin BTC
hl1m exchange leverage --coin BTC --leverage 5 --is-cross true
hl1m exchange close --coin BTC --qty 0.01 --slippage 0.02
hl1m exchange wallet --pri_key 0xYourPrivateKey
hl1m exchange wallet --address 0xYourPublicAddress --pri_key 0xYourPrivateKey
# copytrade wallet (optional; separate keys)
hl1m copy wallet --pri_key 0xYourPrivateKey
hl1m copy wallet --addr 0xYourPublicAddress --pri_key 0xYourPrivateKey
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.8.3 | 2 Apr 2026 | 6 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 15:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:677dbb377f5211ac3f7aff11b64f320e1833352642518216a4d8b155021b8d76