[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D9KZE4N7C145NZBD84WDCT":3,"skill-same:01M7D9KZE4N7C145NZBD84WDCT":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7D9KZE4N7C145NZBD84WDCT","binance-api",null,"Trading and account access on Binance spot and USD-M futures using an API key and secret held by the DIME credential proxy. Covers the whole flow: building the signed query string, reading balances, positions and orders, placing, amending and cancelling orders on both products, and the places where spot and futures disagree. Use for ANY request to api.binance.com or fapi.binance.com — including \"buy BTC on Binance\", \"what is my Binance balance\", \"close my Binance position\", \"my USD-M futures PnL\", or a 403 from the credential proxy on a Binance call. Read this BEFORE calling Binance: the signature covers the bytes of the query string as transmitted, and the encoding rules changed in 2026.","tradeparadigm\u002Fdt-apps","tradeparadigm","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72768132?v=4","01M7D9KY0PDJW6NWY8P936YNEX","Paradigm","01M7D9KY1BYPTKX9MGQHZKW4BP",0,"MIT","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fbinance\u002Fskills\u002Fbinance-api\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: binance-api\ndescription: >\n  Trading and account access on Binance spot and USD-M futures using an API key\n  and secret held by the DIME credential proxy. Covers the whole flow: building\n  the signed query string, reading balances, positions and orders, placing,\n  amending and cancelling orders on both products, and the places where spot and\n  futures disagree. Use for ANY request to api.binance.com or fapi.binance.com —\n  including \"buy BTC on Binance\", \"what is my Binance balance\", \"close my\n  Binance position\", \"my USD-M futures PnL\", or a 403 from the credential proxy\n  on a Binance call. Read this BEFORE calling Binance: the signature covers the\n  bytes of the query string as transmitted, and the encoding rules changed in\n  2026.\nmetadata:\n  author: tradeparadigm\n---\n\n# Binance\n\nTwo products behind one skill, and they are not the same API.\n\n| Product | Host | Paths |\n|---|---|---|\n| Spot | `api.binance.com` | `\u002Fapi\u002Fv3\u002F*`, `\u002Fsapi\u002Fv1\u002Fasset\u002F*` |\n| USD-M futures | `fapi.binance.com` | `\u002Ffapi\u002Fv1\u002F*`, `\u002Ffapi\u002Fv2\u002F*`, `\u002Ffapi\u002Fv3\u002F*` |\n| Spot — demo | `demo-api.binance.com` | same paths |\n| USD-M futures — demo | `demo-fapi.binance.com` | same paths |\n\nDemo keys are minted at `demo.binance.com` and work **only** against the demo\nhosts; live keys work only against the live ones. Check which environment the\ncredential is scoped to before assuming a host.\n\nYour `AGENTS.md` explains the placeholder mechanism in general — how\n`CRED_\u003CNAME>` works, what `sign-` means, and how to name the `X-Dime-Sign-`\nheader. This file covers only what is specific to Binance.\n\n## What you hold, and what you do not\n\n**You never send an API key.** Binance's signature does not cover the key, so\nthe key stays sealed and the proxy attaches `X-MBX-APIKEY` itself on every\nsigned path. Do not set that header, and do not go looking for the key.\n\nWhat you do hold is the signing placeholder — `CRED_BINANCE_\u003CENV>_SECRET`, a\n`sign-` value. You put it where the signature goes and tell the proxy what to\nsign.\n\n## Every signed request\n\nRun the client the app ships, at `scripts\u002Fbinance.mjs` beside this file.\n\n```sh\nMETHOD=GET TARGET='\u002Ffapi\u002Fv3\u002Fbalance?recvWindow=5000' node scripts\u002Fbinance.mjs\n\nMETHOD=GET TARGET='\u002Fapi\u002Fv3\u002Faccount' node scripts\u002Fbinance.mjs\n\nMETHOD=POST TARGET='\u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC&quantity=0.002&price=50000' node scripts\u002Fbinance.mjs\n```\n\n`TARGET` is the path and its query, with no `signature` and no `timestamp`. The\nclient adds the timestamp, percent-encodes the query, signs that exact string\nand appends the placeholder last. Binance takes parameters in the query string\non every method, so a POST puts them there too.\n\nIt picks the host from the path: `\u002Ffapi` is USD-M futures, `\u002Fapi` is spot. It\ncannot tell demo from live that way, so when the credential's name does not say,\nit refuses and asks you to set `BINANCE_HOST`. Guessing there would put a live\norder on a demo key's account.\n\nYou never send an API key. Binance's signature does not cover it, so the proxy\nattaches `X-MBX-APIKEY` itself on every signed path. Do not set that header.\n\nHow the signing works is in [references\u002Fsigning.md](references\u002Fsigning.md).\nRead it when a call fails, not before.\n\n### When this client is wrong\n\nCheck `~\u002F.openclaw\u002Fworkspace\u002Ftools\u002Fbinance\u002Ferrata-1.1.0.md` before your first\ncall. An earlier chat writes it when this client turns out to be wrong against\nthe live venue. The version in the name is this app's version, so a file naming\nany other version is stale: delete it and ignore what it said.\n\nWhen the client is wrong and no errata covers it, fix your own call, get the\nuser their answer, then write that file yourself. Say what failed, how you knew,\nand what you changed. Tell the user in one line that you did.\n\nNever edit `scripts\u002Fbinance.mjs`. A publish replaces it, so an edit there is\nlost and the next chat repeats your work.\n\n\n## Which calls need signing\n\nThe proxy demands the placeholder on the private paths only — every\n`\u002Fapi\u002Fv3` order, account, trade and allocation path, `\u002Fsapi\u002Fv1\u002Fasset\u002F*` and\n`\u002Fsapi\u002Fv3\u002Fasset\u002F*`, and the `\u002Ffapi` order, position, account and income\nfamilies. A request to one of them without the placeholder is refused with 403\nbefore it leaves the building.\n\nPublic market data is **not** in that set and must be sent with no auth at all:\n\n```\nGET \u002Fapi\u002Fv3\u002FexchangeInfo?symbol=BTCUSDT          GET \u002Ffapi\u002Fv1\u002FexchangeInfo\nGET \u002Fapi\u002Fv3\u002Fdepth?symbol=BTCUSDT&limit=100       GET \u002Ffapi\u002Fv1\u002Fdepth\nGET \u002Fapi\u002Fv3\u002Fklines?symbol=BTCUSDT&interval=1h    GET \u002Ffapi\u002Fv1\u002Fklines\nGET \u002Fapi\u002Fv3\u002Fticker\u002Fprice?symbol=BTCUSDT          GET \u002Ffapi\u002Fv1\u002FpremiumIndex\n```\n\nAdding a signature to a public call is not harmless: the proxy is not watching\nthose paths, so your placeholder would reach Binance verbatim.\n\n## Where spot and futures disagree\n\nRead this before assuming one answer works on both.\n\n| | Spot | USD-M futures |\n|---|---|---|\n| `signature` position | any | **must be last** |\n| Security classes | NONE, TRADE, USER_DATA, USER_STREAM | plus **MARKET_DATA** and USER_STREAM, which need the key but **no signature** |\n| Notional filter | `NOTIONAL` (min and max) and legacy `MIN_NOTIONAL` | `MIN_NOTIONAL` only, field `notional` |\n| Account read | one `\u002Fapi\u002Fv3\u002Faccount` | `\u002Ffapi\u002Fv2\u002Faccount` and `\u002Ffapi\u002Fv3\u002Faccount` both live, same for `balance` and `positionRisk` |\n| REST listen key | **gone** | `\u002Ffapi\u002Fv1\u002FlistenKey` still works |\n\n## Private WebSocket streams\n\n**Spot's REST listen key no longer exists.** `POST \u002Fapi\u002Fv3\u002FuserDataStream` was\nretired on 2026-02-20 and answers **410 Gone**. Spot user data now comes from\nthe WebSocket API (`userDataStream.subscribe`), which this credential does not\ncover. Poll the signed REST endpoints instead, and say so rather than\ninventing an endpoint.\n\n**Futures still has one.** `POST \u002Ffapi\u002Fv1\u002FlistenKey` needs the API key and no\nsignature — the proxy attaches the key for you — and returns a key you connect\nwith at `wss:\u002F\u002Ffstream.binance.com\u002Fws\u002F\u003ClistenKey>`.\n\n## Market data (public, unsigned)\n\n```\nGET \u002Fapi\u002Fv3\u002FexchangeInfo?symbol=BTCUSDT     # filters: PRICE_FILTER, LOT_SIZE, NOTIONAL\nGET \u002Ffapi\u002Fv1\u002FexchangeInfo                   # filters: PRICE_FILTER, LOT_SIZE, MIN_NOTIONAL\n```\n\nCheck the filters before a first order on a symbol. `tickSize` and `stepSize`\nare what an order is rejected for, and the notional minimum is what a small\norder is rejected for.\n\n## Account state (signed)\n\n```\nGET \u002Fapi\u002Fv3\u002Faccount?timestamp=…                     # spot balances\nGET \u002Fapi\u002Fv3\u002FopenOrders?symbol=BTCUSDT&timestamp=…\nGET \u002Fapi\u002Fv3\u002FmyTrades?symbol=BTCUSDT&timestamp=…\nGET \u002Ffapi\u002Fv3\u002Fbalance?timestamp=…                    # futures wallet\nGET \u002Ffapi\u002Fv3\u002Faccount?timestamp=…                    # futures account + positions\nGET \u002Ffapi\u002Fv3\u002FpositionRisk?timestamp=…               # open positions\nGET \u002Ffapi\u002Fv1\u002FuserTrades?symbol=BTCUSDT&timestamp=…\nGET \u002Ffapi\u002Fv1\u002Fincome?timestamp=…                     # funding, realised PnL\n```\n\n`symbol` is mandatory on the spot per-symbol reads (`myTrades`, `allOrders`);\nomitting it is `-1102`, not an empty list.\n\n## Placing an order\n\nSpot:\n\n```\nPOST \u002Fapi\u002Fv3\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC\n     &quantity=0.001&price=40000&newClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\n```\n\nUSD-M futures:\n\n```\nPOST \u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC\n     &quantity=0.002&price=40000&newClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\n```\n\n- `newClientOrderId` is your own id. Set it — it is how you cancel or query\n  without first learning Binance's `orderId`, and how a retry after a timeout\n  avoids placing twice.\n- A market order omits `price` and `timeInForce`.\n- `reduceOnly=true` closes rather than opens, on futures.\n- Futures positions depend on account mode: in hedge mode `positionSide` is\n  required (`LONG`\u002F`SHORT`), in one-way mode it must be omitted. Read\n  `\u002Ffapi\u002Fv1\u002FpositionSide\u002Fdual` if unsure.\n\nCancelling:\n\n```\nDELETE \u002Fapi\u002Fv3\u002Forder?symbol=BTCUSDT&origClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\nDELETE \u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&origClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\nDELETE \u002Fapi\u002Fv3\u002FopenOrders?symbol=BTCUSDT&timestamp=…      # every open order on a symbol\n```\n\n## When something fails\n\nTell the layers apart by the shape of the response, not by guessing.\n\n- **403 with a plain-text body** is the credential proxy. The body names the\n  placeholder and lists exactly where it looked. The request never reached\n  Binance. Read it and retry.\n- **A JSON body with a negative `code`** is Binance.\n- **A key or signature error from Binance can mean the proxy substituted\n  nothing.** When the host or path is outside what your credential covers, the\n  proxy forwards the request untouched and your placeholder arrives at Binance\n  as a literal string. Binance then complains about the key or the signature,\n  and names neither the host nor the credential. Check those before you touch\n  the request.\n- **HTTP 429 \u002F 418** are rate limits: 429 is a violation, 418 is an IP ban for\n  continuing after 429s. Bans scale from 2 minutes to 3 days and carry\n  `Retry-After`. Back off; do not retry in a loop.\n\n| code | meaning |\n|---|---|\n| `-1021` | timestamp outside `recvWindow`, or more than 1s ahead of server time |\n| `-1022` | signature invalid. Since 2026-01-15 this includes signing a payload that was not percent-encoded first |\n| `-1100` | illegal characters in a parameter |\n| `-1102` | a mandatory parameter was missing or malformed — `symbol` on the per-symbol reads is the usual one |\n| `-1104` | not all sent parameters were read — you sent something the endpoint does not take |\n| `-2010` | order rejected (balance, or a filter such as tick size \u002F step size \u002F notional) |\n| `-2011` | cancel rejected, usually an order that is not on the book |\n| `-2013` | order does not exist |\n| `-2014` | no usable `X-MBX-APIKEY` arrived. Three causes, cheapest first: the host is not the one your credential is scoped to, so the proxy passed the request through untouched; the path is outside the credential's routes; or this account enrolled the signing secret and never enrolled the api-key credential, which Binance needs on every signed call |\n| `-2015` | invalid key, IP or permissions — the key lacks the permission, or Binance has an IP allowlist on it |\n\n## What the key is allowed to do\n\nBinance has no endpoint that reports a key's permissions — unlike some venues,\nyou cannot ask. What you get instead is a rejection at the point of use:\n\n- **`-2015 Invalid API-key, IP, or permissions for action`** conflates three\n  different causes. In order of likelihood: the key lacks the permission for\n  that product (futures trading is off by default on a new key), the account\n  has an IP allowlist that does not include the proxy's egress address, or the\n  key is wrong for the host (a demo key against the live API, or the reverse).\n- **`-2014 API-key format invalid`** usually means no key reached the venue at\n  all. On a path the proxy covers, that points at the path not being in the\n  credential's routes rather than at the key itself.\n\nSay which of the three you think it is and what the user must change on\nBinance's API-management page. Do not retry: none of these resolve by\nrepeating the request.\n\n## Reference\n\nSpot: https:\u002F\u002Fdevelopers.binance.com\u002Fdocs\u002Fbinance-spot-api-docs\nUSD-M futures: https:\u002F\u002Fdevelopers.binance.com\u002Fdocs\u002Fderivatives\u002Fusds-margined-futures\n\nGo there for parameter lists, rate limits and the full filter matrix. This file\nis the part their docs cannot tell you: that the secret is not yours to hold,\nand what to send instead.\n","# Binance\n\nTwo products behind one skill, and they are not the same API.\n\n| Product | Host | Paths |\n|---|---|---|\n| Spot | `api.binance.com` | `\u002Fapi\u002Fv3\u002F*`, `\u002Fsapi\u002Fv1\u002Fasset\u002F*` |\n| USD-M futures | `fapi.binance.com` | `\u002Ffapi\u002Fv1\u002F*`, `\u002Ffapi\u002Fv2\u002F*`, `\u002Ffapi\u002Fv3\u002F*` |\n| Spot — demo | `demo-api.binance.com` | same paths |\n| USD-M futures — demo | `demo-fapi.binance.com` | same paths |\n\nDemo keys are minted at `demo.binance.com` and work **only** against the demo\nhosts; live keys work only against the live ones. Check which environment the\ncredential is scoped to before assuming a host.\n\nYour `AGENTS.md` explains the placeholder mechanism in general — how\n`CRED_\u003CNAME>` works, what `sign-` means, and how to name the `X-Dime-Sign-`\nheader. This file covers only what is specific to Binance.\n\n## What you hold, and what you do not\n\n**You never send an API key.** Binance's signature does not cover the key, so\nthe key stays sealed and the proxy attaches `X-MBX-APIKEY` itself on every\nsigned path. Do not set that header, and do not go looking for the key.\n\nWhat you do hold is the signing placeholder — `CRED_BINANCE_\u003CENV>_SECRET`, a\n`sign-` value. You put it where the signature goes and tell the proxy what to\nsign.\n\n## Every signed request\n\nRun the client the app ships, at `scripts\u002Fbinance.mjs` beside this file.\n\n```sh\nMETHOD=GET TARGET='\u002Ffapi\u002Fv3\u002Fbalance?recvWindow=5000' node scripts\u002Fbinance.mjs\n\nMETHOD=GET TARGET='\u002Fapi\u002Fv3\u002Faccount' node scripts\u002Fbinance.mjs\n\nMETHOD=POST TARGET='\u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC&quantity=0.002&price=50000' node scripts\u002Fbinance.mjs\n```\n\n`TARGET` is the path and its query, with no `signature` and no `timestamp`. The\nclient adds the timestamp, percent-encodes the query, signs that exact string\nand appends the placeholder last. Binance takes parameters in the query string\non every method, so a POST puts them there too.\n\nIt picks the host from the path: `\u002Ffapi` is USD-M futures, `\u002Fapi` is spot. It\ncannot tell demo from live that way, so when the credential's name does not say,\nit refuses and asks you to set `BINANCE_HOST`. Guessing there would put a live\norder on a demo key's account.\n\nYou never send an API key. Binance's signature does not cover it, so the proxy\nattaches `X-MBX-APIKEY` itself on every signed path. Do not set that header.\n\nHow the signing works is in [references\u002Fsigning.md](references\u002Fsigning.md).\nRead it when a call fails, not before.\n\n### When this client is wrong\n\nCheck `~\u002F.openclaw\u002Fworkspace\u002Ftools\u002Fbinance\u002Ferrata-1.1.0.md` before your first\ncall. An earlier chat writes it when this client turns out to be wrong against\nthe live venue. The version in the name is this app's version, so a file naming\nany other version is stale: delete it and ignore what it said.\n\nWhen the client is wrong and no errata covers it, fix your own call, get the\nuser their answer, then write that file yourself. Say what failed, how you knew,\nand what you changed. Tell the user in one line that you did.\n\nNever edit `scripts\u002Fbinance.mjs`. A publish replaces it, so an edit there is\nlost and the next chat repeats your work.\n\n\n## Which calls need signing\n\nThe proxy demands the placeholder on the private paths only — every\n`\u002Fapi\u002Fv3` order, account, trade and allocation path, `\u002Fsapi\u002Fv1\u002Fasset\u002F*` and\n`\u002Fsapi\u002Fv3\u002Fasset\u002F*`, and the `\u002Ffapi` order, position, account and income\nfamilies. A request to one of them without the placeholder is refused with 403\nbefore it leaves the building.\n\nPublic market data is **not** in that set and must be sent with no auth at all:\n\n```\nGET \u002Fapi\u002Fv3\u002FexchangeInfo?symbol=BTCUSDT          GET \u002Ffapi\u002Fv1\u002FexchangeInfo\nGET \u002Fapi\u002Fv3\u002Fdepth?symbol=BTCUSDT&limit=100       GET \u002Ffapi\u002Fv1\u002Fdepth\nGET \u002Fapi\u002Fv3\u002Fklines?symbol=BTCUSDT&interval=1h    GET \u002Ffapi\u002Fv1\u002Fklines\nGET \u002Fapi\u002Fv3\u002Fticker\u002Fprice?symbol=BTCUSDT          GET \u002Ffapi\u002Fv1\u002FpremiumIndex\n```\n\nAdding a signature to a public call is not harmless: the proxy is not watching\nthose paths, so your placeholder would reach Binance verbatim.\n\n## Where spot and futures disagree\n\nRead this before assuming one answer works on both.\n\n| | Spot | USD-M futures |\n|---|---|---|\n| `signature` position | any | **must be last** |\n| Security classes | NONE, TRADE, USER_DATA, USER_STREAM | plus **MARKET_DATA** and USER_STREAM, which need the key but **no signature** |\n| Notional filter | `NOTIONAL` (min and max) and legacy `MIN_NOTIONAL` | `MIN_NOTIONAL` only, field `notional` |\n| Account read | one `\u002Fapi\u002Fv3\u002Faccount` | `\u002Ffapi\u002Fv2\u002Faccount` and `\u002Ffapi\u002Fv3\u002Faccount` both live, same for `balance` and `positionRisk` |\n| REST listen key | **gone** | `\u002Ffapi\u002Fv1\u002FlistenKey` still works |\n\n## Private WebSocket streams\n\n**Spot's REST listen key no longer exists.** `POST \u002Fapi\u002Fv3\u002FuserDataStream` was\nretired on 2026-02-20 and answers **410 Gone**. Spot user data now comes from\nthe WebSocket API (`userDataStream.subscribe`), which this credential does not\ncover. Poll the signed REST endpoints instead, and say so rather than\ninventing an endpoint.\n\n**Futures still has one.** `POST \u002Ffapi\u002Fv1\u002FlistenKey` needs the API key and no\nsignature — the proxy attaches the key for you — and returns a key you connect\nwith at `wss:\u002F\u002Ffstream.binance.com\u002Fws\u002F\u003ClistenKey>`.\n\n## Market data (public, unsigned)\n\n```\nGET \u002Fapi\u002Fv3\u002FexchangeInfo?symbol=BTCUSDT     # filters: PRICE_FILTER, LOT_SIZE, NOTIONAL\nGET \u002Ffapi\u002Fv1\u002FexchangeInfo                   # filters: PRICE_FILTER, LOT_SIZE, MIN_NOTIONAL\n```\n\nCheck the filters before a first order on a symbol. `tickSize` and `stepSize`\nare what an order is rejected for, and the notional minimum is what a small\norder is rejected for.\n\n## Account state (signed)\n\n```\nGET \u002Fapi\u002Fv3\u002Faccount?timestamp=…                     # spot balances\nGET \u002Fapi\u002Fv3\u002FopenOrders?symbol=BTCUSDT&timestamp=…\nGET \u002Fapi\u002Fv3\u002FmyTrades?symbol=BTCUSDT&timestamp=…\nGET \u002Ffapi\u002Fv3\u002Fbalance?timestamp=…                    # futures wallet\nGET \u002Ffapi\u002Fv3\u002Faccount?timestamp=…                    # futures account + positions\nGET \u002Ffapi\u002Fv3\u002FpositionRisk?timestamp=…               # open positions\nGET \u002Ffapi\u002Fv1\u002FuserTrades?symbol=BTCUSDT&timestamp=…\nGET \u002Ffapi\u002Fv1\u002Fincome?timestamp=…                     # funding, realised PnL\n```\n\n`symbol` is mandatory on the spot per-symbol reads (`myTrades`, `allOrders`);\nomitting it is `-1102`, not an empty list.\n\n## Placing an order\n\nSpot:\n\n```\nPOST \u002Fapi\u002Fv3\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC\n     &quantity=0.001&price=40000&newClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\n```\n\nUSD-M futures:\n\n```\nPOST \u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&side=BUY&type=LIMIT&timeInForce=GTC\n     &quantity=0.002&price=40000&newClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\n```\n\n- `newClientOrderId` is your own id. Set it — it is how you cancel or query\n  without first learning Binance's `orderId`, and how a retry after a timeout\n  avoids placing twice.\n- A market order omits `price` and `timeInForce`.\n- `reduceOnly=true` closes rather than opens, on futures.\n- Futures positions depend on account mode: in hedge mode `positionSide` is\n  required (`LONG`\u002F`SHORT`), in one-way mode it must be omitted. Read\n  `\u002Ffapi\u002Fv1\u002FpositionSide\u002Fdual` if unsure.\n\nCancelling:\n\n```\nDELETE \u002Fapi\u002Fv3\u002Forder?symbol=BTCUSDT&origClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\nDELETE \u002Ffapi\u002Fv1\u002Forder?symbol=BTCUSDT&origClientOrderId=my-1&timestamp=…&signature=\u003Cplaceholder>\nDELETE \u002Fapi\u002Fv3\u002FopenOrders?symbol=BTCUSDT&timestamp=…      # every open order on a symbol\n```\n\n## When something fails\n\nTell the layers apart by the shape of the response, not by guessing.\n\n- **403 with a plain-text body** is the credential proxy. The body names the\n  placeholder and lists exactly where it looked. The request never reached\n  Binance. Read it and retry.\n- **A JSON body with a negative `code`** is Binance.\n- **A key or signature error from Binance can mean the proxy substituted\n  nothing.** When the host or path is outside what your credential covers, the\n  proxy forwards the request untouched and your placeholder arrives at Binance\n  as a literal string. Binance then complains about the key or the signature,\n  and names neither the host nor the credential. Check those before you touch\n  the request.\n- **HTTP 429 \u002F 418** are rate limits: 429 is a violation, 418 is an IP ban for\n  continuing after 429s. Bans scale from 2 minutes to 3 days and carry\n  `Retry-After`. Back off; do not retry in a loop.\n\n| code | meaning |\n|---|---|\n| `-1021` | timestamp outside `recvWindow`, or more than 1s ahead of server time |\n| `-1022` | signature invalid. Since 2026-01-15 this includes signing a payload that was not percent-encoded first |\n| `-1100` | illegal characters in a parameter |\n| `-1102` | a mandatory parameter was missing or malformed — `symbol` on the per-symbol reads is the usual one |\n| `-1104` | not all sent parameters were read — you sent something the endpoint does not take |\n| `-2010` | order rejected (balance, or a filter such as tick size \u002F step size \u002F notional) |\n| `-2011` | cancel rejected, usually an order that is not on the book |\n| `-2013` | order does not exist |\n| `-2014` | no usable `X-MBX-APIKEY` arrived. Three causes, cheapest first: the host is not the one your credential is scoped to, so the proxy passed the request through untouched; the path is outside the credential's routes; or this account enrolled the signing secret and never enrolled the api-key credential, which Binance needs on every signed call |\n| `-2015` | invalid key, IP or permissions — the key lacks the permission, or Binance has an IP allowlist on it |\n\n## What the key is allowed to do\n\nBinance has no endpoint that reports a key's permissions — unlike some venues,\nyou cannot ask. What you get instead is a rejection at the point of use:\n\n- **`-2015 Invalid API-key, IP, or permissions for action`** conflates three\n  different causes. In order of likelihood: the key lacks the permission for\n  that product (futures trading is off by default on a new key), the account\n  has an IP allowlist that does not include the proxy's egress address, or the\n  key is wrong for the host (a demo key against the live API, or the reverse).\n- **`-2014 API-key format invalid`** usually means no key reached the venue at\n  all. On a path the proxy covers, that points at the path not being in the\n  credential's routes rather than at the key itself.\n\nSay which of the three you think it is and what the user must change on\nBinance's API-management page. Do not retry: none of these resolve by\nrepeating the request.\n\n## Reference\n\nSpot: https:\u002F\u002Fdevelopers.binance.com\u002Fdocs\u002Fbinance-spot-api-docs\nUSD-M futures: https:\u002F\u002Fdevelopers.binance.com\u002Fdocs\u002Fderivatives\u002Fusds-margined-futures\n\nGo there for parameter lists, rate limits and the full filter matrix. This file\nis the part their docs cannot tell you: that the secret is not yours to hold,\nand what to send instead.\n",{"name":5,"metadata":24,"description":25},{"author":9},"Trading and account access on Binance spot and USD-M futures using an API key and secret held by the DIME credential proxy. Covers the whole flow: building the signed query string, reading balances, positions and orders, placing, amending and cancelling orders on both products, and the places where spot and futures disagree. Use for ANY request to api.binance.com or fapi.binance.com — including \"buy BTC on Binance\", \"what is my Binance balance\", \"close my Binance position\", \"my USD-M futures PnL\", or a 403 from the credential proxy on a Binance call. Read this BEFORE calling Binance: the signature covers the bytes of the query string as transmitted, and the encoding rules changed in 2026.\n","main","4befefc366f86a32c20711cf3798aaf13df1cd59","apps\u002Fbinance\u002Fskills\u002Fbinance-api","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps","https:\u002F\u002Fgithub.com\u002Ftradeparadigm","https:\u002F\u002Fparadigm.co\u002F","2026-11-13 17:14:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add tradeparadigm\u002Fdt-apps --skill binance-api",{"tool":39,"command":40},"bunx","bunx skills add tradeparadigm\u002Fdt-apps --skill binance-api",{"tool":42,"command":43},"pnpm","pnpm dlx skills add tradeparadigm\u002Fdt-apps --skill binance-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fbinance\u002Fskills\u002Fbinance-api\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fsigning.md","REFERENCE","参考文档",2202,"https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fbinance\u002Fskills\u002Fbinance-api\u002Freferences\u002Fsigning.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Fbinance.mjs","SCRIPT","脚本",2469,"https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fbinance\u002Fskills\u002Fbinance-api\u002Fscripts\u002Fbinance.mjs",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7D9RW0ZFXNH3MCGZE2B9WHY","example-api","A skill body that exists so the fixture is a complete app. It teaches nothing and is never published.","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fscripts\u002Ftestdata\u002Fapps\u002Fexample\u002Fskills\u002Fexample-api\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D9RN7GJCJR5QA2ZCE4MPTH","telegram-bot","Send messages, photos and files to Telegram through the user's own bot, using a bot token held by the DIME credential proxy. Covers finding the chats the bot can reach, posting to a private chat, group or channel, editing and deleting what it sent, and sending from a data feed. Use for ANY request to message, notify or alert the user on Telegram, \"send this to my Telegram\", \"post alerts to my channel\", or a 403 from the credential proxy on api.telegram.org.","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Ftelegram\u002Fskills\u002Ftelegram-bot\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D9R7K7RPTJ4T7DZRHXD156","paradigm-rfq-trader","Trigger institutional block trades via Paradigm's DRFQv2 flow. The workflow is venue-agnostic — resolve instruments, build the RFQ \u002F order payload, benchmark, run a confirmation gate, submit, verify settlement. Per-venue specifics (fair-value sources, naming conventions, edge syntax, settlement checks) live in references\u002Fvenues.md. In scope today: PRDX (Paradex, primary focus) and DBT (Deribit). Adding more DRFQv2 venues is a references\u002Fvenues.md edit, not a skill-body change. Covers takers (build, benchmark, cross) and makers (poll, price, manage). Every state-changing action goes through an explicit confirmation gate. Needs both Paradigm credentials enrolled. Use when the user asks to \"send a Paradigm block RFQ\", \"block-trade X BTC\", \"send a BTC straddle on Paradex \u002F Deribit\", \"quote rfq_X\", \"hit the best bid\", \"cancel rfq_X\". Does NOT cover pricing a structure without trading (its legs' current marks are paradigm-data-discovery's), small central-order-book trades, post-trade analysis (paradigm-block-analyst), historical tape (paradigm-data-discovery).","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fparadigm\u002Fskills\u002Fparadigm-rfq-trader\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D9QV6WFQDW717AXTW7GJKE","paradigm-options-recap","Options market recap for a requested or default window, invoked via \u002Frecap. Parses \"\u002Frecap [asset] [options] [window]\" (e.g. \"\u002Frecap btc options 8h\") and builds the fixed four-section recap — Snapshot, Biggest Print, Block Flow, Vol Surface — from bounded raw exchange venue files and source tapes, never from Dime hot files, read with the pod's AWS access. Use when the user types \u002Frecap or asks for a market recap, an options flow summary, \"what happened in BTC options\" or \"last Xh of flow\". A single question is not a recap: the biggest print across venues is paradigm-data-discovery's (paradigm-api reads only Paradigm's own tape), and the vol surface, one IV or one venue's data is paradigm-data-discovery's, as are dataset inventory, schema and historical lookups. The output format is fixed — always the same four sections in the same order.","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fparadigm\u002Fskills\u002Fparadigm-options-recap\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7D9QJYMTHRTDVJFW3AC0HDN","paradigm-data-discovery","Catalog and query launcher for raw market data available to Dime in s3:\u002F\u002Fdt-exchange-venue-data, s3:\u002F\u002Fdt-paradigm-data, and s3:\u002F\u002Fdt-paradex-data, read with the pod's AWS access. Use for data inventory, coverage, schema and historical analysis, for current venue market data (marks, IV, greeks, OI, funding, spot) on Deribit, OKX, Bybit and Bullish, and for recent block trades when the user has no Paradigm credentials enrolled (with them, paradigm-api reads the live tape). Explains the per-venue raw files and lets the model choose the bounded reads needed for the question. Does not cover account state, positions, vaults, or order placement.","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fparadigm\u002Fskills\u002Fparadigm-data-discovery\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7D9Q3F60BDBMC8PEGH1VBZG","paradigm-block-analyst","Cross-venue analysis of Paradigm RFQ block trades using live market data from Deribit, OKX, and Bybit. Invoked as `\u002Fanalyze \u003Crfq_id> \u003Crfq description>`: resolves the rfq_id by searching the Paradigm trade tape via the paradigm-data-discovery skill (the daily execution partitions, keyed by RFQ_ID) for the cleared-block record, then fetches live marks, IVs, and greeks per venue, computes net greeks for multi-leg structures, benchmarks the fill vs mark, reports how much of the structure traded over 24h \u002F 7d \u002F 30d and where else it printed, reads whether the flow moved the vol surface, and outputs a concise analysis. Use when the user runs `\u002Fanalyze \u003Crfq_id> ...`, pastes a Paradigm block trade JSON, or asks to analyze, benchmark, or get market color on a Paradigm RFQ execution. Covers outright calls\u002Fputs (CL\u002FPL), strangles (SN), straddles (ST), butterflies (BF), condors (CO), calendars (CA), risk reversals (RR), covered calls, and custom multi-leg combos (CM). Also handles perp combos. Reads the Paradigm trade tape from S3 with the pod's AWS access.","https:\u002F\u002Fgithub.com\u002Ftradeparadigm\u002Fdt-apps\u002Fblob\u002Fmain\u002Fapps\u002Fparadigm\u002Fskills\u002Fparadigm-block-analyst\u002FSKILL.md",[],[]]