starchild-ai-agent/official-skills

binance-account

Read-only Binance tracking: spot balances, USDM futures, PnL, funding, deposits. Use when monitoring Binance positions without trading (e.g. total PnL today, open futures positions, funding earned, recent deposits).

First seen May 14, 2026

Installation

$ npx skills add starchild-ai-agent/official-skills --skill binance-account

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from starchild-ai-agent/official-skills · top by installs.

npx skills add starchild-ai-agent/official-skills

Browse all from starchild-ai-agent/official-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 26
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version2.0.1
More metadata
starchild
{"emoji":"🏦","skillKey":"binance-account","requires":{"env":["BINANCE_RO_API_KEY","BINANCE_RO_SECRET"]},"install":{"0":"kind: pip","package":"python-dotenv","1":"kind: pip"}}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,501 B
  • docs SUMMARY.md 238 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 71 installs

SKILL.md

Binance Account (Read-Only)

Read-only Binance account tracker built on the widely used python-binance library. Use it for account tracking, daily/weekly reports, risk alerts, and cashflow attribution.

How to Get a Binance API Key (Read-Only)

  1. Sign in at binance.com, top-right avatar → API Management

- Direct link: https://www.binance.com/en/my/settings/api-management

  1. Create APISystem generated
  2. Complete 2FA verification (email + Authenticator / SMS)
  3. Name the key → submit
  4. Copy API Key + Secret Key immediately (Secret is shown only once)
  5. Edit restrictions:

- ✅ Enable only Enable Reading - ❌ Disable trading, withdrawal, and all write permissions - Leave the IP whitelist empty (binding an IP causes cloud calls to be rejected)

  1. Set the values into this skill's environment variables

Reference: Binance official tutorial

Prerequisites

1) API key permissions

In Binance API Management, create a read-only key. Enable only:

  • ✅ Enable Reading
  • ❌ Disable trading and withdrawal

2) Environment variables

BINANCE_RO_API_KEY=...
BINANCE_RO_SECRET=...

3) Geo restriction (required)

Binance frequently returns 451 Restricted Location from server environments. This skill defaults to the SC internal HK proxy:

HK_PROXY = "http://hk:[email protected]:8080"

Do not set a global HTTP_PROXY — it would break routing for other services.

Scripts

Base query script

python3 skills/binance-account/scripts/bn_account.py <action> [options]

Scenario script

python3 skills/binance-account/scripts/account_scenarios.py <scenario> [options]

Actions

  • summary: one-shot summary
  • spotbalance / futuresbalance / futures_positions
  • spotorders / futuresorders / spottrades / futurestrades
  • deposits / withdrawals / fundingincome / accountsnapshot

Scenarios

  • portfolio_snapshot: full account snapshot
  • perp_risk: futures risk monitoring (margin ratio + unrealized loss)
  • cashflow: deposits + withdrawals + funding income aggregation
  • trading_activity: recent trades by symbol

Common usage

python3 skills/binance-account/scripts/bn_account.py summary
python3 skills/binance-account/scripts/account_scenarios.py portfolio_snapshot
python3 skills/binance-account/scripts/account_scenarios.py perp_risk --loss-threshold 5000
python3 skills/binance-account/scripts/account_scenarios.py cashflow
python3 skills/binance-account/scripts/account_scenarios.py trading_activity --symbol BTCUSDT

Notes

  • IP whitelist is best left empty for cloud usage.
  • Use time-windowed pagination for high-frequency trade pulls.