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).
What this skill does
# 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](https://www.binance.com), top-right avatar → **API Management** - Direct link: https://www.binance.com/en/my/settings/api-management 2. **Create API** → **System generated** 3. Complete 2FA verification (email + Authenticator / SMS) 4. Name the key → submit 5. **Copy** `API Key` + `Secret Key` immediately (Secret is shown only once) 6. **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) 7. Set the values into this skill's environment variables Reference: [Binance official tutorial](https://www.binance.com/en/support/faq/how-to-create-api-keys-on-binance-360002502072) ## 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 ```bash 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: ```python 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 ```bash python3 skills/binance-account/scripts/bn_account.py <action> [options] ``` ### Scenario script ```bash python3 skills/binance-account/scripts/account_scenarios.py <scenario> [options] ``` ## Actions - `summary`: one-shot summary - `spot_balance` / `futures_balance` / `futures_positions` - `spot_orders` / `futures_orders` / `spot_trades` / `futures_trades` - `deposits` / `withdrawals` / `funding_income` / `account_snapshot` ## 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 ```bash 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.
Related in Data & Analytics
clawarr-suite
IncludedComprehensive management for self-hosted media stacks (Sonarr, Radarr, Lidarr, Readarr, Prowlarr, Bazarr, Overseerr, Plex, Tautulli, SABnzbd, Recyclarr, Unpackerr, Notifiarr, Maintainerr, Kometa, FlareSolverr). Deep library exploration, analytics, dashboard generation, content management, request handling, subtitle management, indexer control, download monitoring, quality profile sync, library cleanup automation, notification routing, collection/overlay management, and media tracker integration (Trakt, Letterboxd, Simkl).
querying-soql
IncludedSOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan analysis, and performance or safety improvements for Salesforce queries. TRIGGER when: user writes, optimizes, or debugs SOQL/SOSL queries, touches .soql files, or asks about relationship queries, aggregates, or query performance. DO NOT TRIGGER when: bulk data operations (use handling-sf-data), Apex DML logic (use generating-apex), or report/dashboard queries.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
habit-flow
IncludedAI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching. Use for creating habits, logging completions naturally ("I meditated today"), viewing progress, and getting personalized coaching.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
visualizing-data
IncludedBuilds dashboards, reports, and data-driven interfaces requiring charts, graphs, or visual analytics. Provides systematic framework for selecting appropriate visualizations based on data characteristics and analytical purpose. Includes 24+ visualization types organized by purpose (trends, comparisons, distributions, relationships, flows, hierarchies, geospatial), accessibility patterns (WCAG 2.1 AA compliance), colorblind-safe palettes, and performance optimization strategies. Use when creating visualizations, choosing chart types, displaying data graphically, or designing data interfaces.