niulai
v0.3.1
Published
niu - read-only terminal dashboard for Binance perpetuals and spot / 币安永续与现货命令行盯盘工具
Maintainers
Readme
niulai
npm distribution of niu, a read-only terminal watcher for Binance USD-M futures, COIN-M futures and spot.
牛真的来了!
npm i -g niulai
niu
# zero install
npx niulai lx
bunx niulai list --top 10What it does: a full-screen dashboard, or one-shot snapshots. Funding rate and
its annualised cost, open interest and where it sits against its own peak, the
four long/short ratios, basis, order book depth, index constituents, and a
liquidation estimate for a position you type in yourself. Proxies are discovered
automatically and mirror domains are ranked by measured latency. Every query
command takes --json.
niu doctor # proxies, endpoints, mirror latency, weight headroom
niu lx # snapshot; lx / longxia / 龙虾 all resolve
niu list --top 10 # market table, sortable
niu --market spot list # um, cm and spot behind the same commands
niu ai position # stream an LLM over the live numbersniu ai takes any OpenAI-compatible endpoint or any local CLI fed on stdin, so
analysis can stay on your machine. Presets are markdown files; drop one into
~/.config/niu/prompts/ and it shows up with no Go involved.
The package itself is a launcher. The real program is a single Go binary that
arrives through one of the niulai-<platform>-<arch> optional dependencies. If
your registry or install flags skip optional dependencies, the postinstall
script downloads the same archive from the GitHub release instead; it uses
curl first so HTTPS_PROXY is honoured, and NIU_BINARY_MIRROR lets you
point at a mirror.
niu only reads public market data. It cannot place orders, it needs no API key, and it is not investment advice.
Full documentation, and five extension points for contributors: https://github.com/VecSum/NiuLai
