okx-public
Skill1 starsChanged 9 months agoApache-2.0View on GitHub
Use this skill when users need public reference data: instrument listings, funding rates, open interest, price limits, mark prices, delivery/exercise history, option summaries, position tiers, insurance fund, contract-coin conversion, tick bands, premium history, economic calendar, or system time. No authentication required. For real-time prices/candles, use okx-market.
- Installs packages
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- okx-accountSkill
- okx-assetSkill
- okx-copy-tradingSkill
- okx-financeSkill
- okx-marketSkill
- okx-rfqSkill
- okx-rubikSkill
- okx-spreadSkill
- okx-subaccountSkill
- okx-systemSkill
- okx-tradeSkill
- okx-trading-botSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Confirm installed: Run which okx. If not found: npm install -g okx-trader-cli
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OKX Public Data CLI
20+ commands for public reference data. No authentication required.
Pre-flight Checks
- Confirm installed: Run
which okx. If not found:npm install -g okx-trader-cli - No auth needed for all public data commands.
Skill Routing
- For real-time prices/candles/order book → use
okx-market - For account info → use
okx-account - For order placement → use
okx-trade - For trading analytics → use
okx-rubik
Commands
Get Instruments
okx public instruments --instType SPOT
okx public instruments --instType SWAP --uly BTC-USDT
okx public instruments --instType OPTION --instFamily BTC-USD
okx public instruments --instType FUTURES --instId BTC-USDT-250808Get Funding Rate
okx public funding-rate --instId BTC-USDT-SWAP
okx public funding-rate --instId ETH-USDT-SWAPGet Funding Rate History
okx public funding-rate-history --instId BTC-USDT-SWAP --limit 100Get Open Interest
okx public open-interest --instType SWAP
okx public open-interest --instType SWAP --instId BTC-USDT-SWAP
okx public open-interest --instType OPTION --instFamily BTC-USDGet Price Limit
okx public price-limit --instId BTC-USDT-SWAPGet Mark Price
okx public mark-price --instType SWAP
okx public mark-price --instType SWAP --instId BTC-USDT-SWAPGet Estimated Delivery/Exercise Price
okx public estimated-price --instId BTC-USD-250808Get Delivery/Exercise History
okx public delivery-exercise-history --instType FUTURES --uly BTC-USDGet Option Summary
okx public opt-summary --instFamily BTC-USDGet Discount Rate & Interest-Free Quota
okx public discount-rate
okx public discount-rate --ccy BTCGet System Time
okx public timeGet Position Tiers
okx public position-tiers --instType SWAP --tdMode cross --uly BTC-USDTGet Interest Rate & Loan Quota
okx public interest-rate-loan-quotaGet Underlying
okx public underlying --instType SWAP
okx public underlying --instType FUTURESGet Insurance Fund
okx public insurance-fund --instType SWAP
okx public insurance-fund --instType SWAP --ccy BTCConvert Contract/Coin
okx public convert-contract-coin --instId BTC-USDT-SWAP --sz 100 --type 1
okx public convert-contract-coin --instId BTC-USDT-SWAP --sz 0.1 --type 2 --px 65000Get Instrument Tick Bands
okx public instrument-tick-bands --instType OPTION --instFamily BTC-USDGet Premium History
okx public premium-history --instId BTC-USDT-SWAP --limit 100Get Economic Calendar
okx public economic-calendar
okx public economic-calendar --importance 3Get Estimated Settlement Info
okx public estimated-settlement-info --instId BTC-USDT-SWAPGet Settlement History
okx public settlement-history --instId BTC-USDT-SWAPInstrument Types
| Type | Description |
SPOT | Spot trading |
MARGIN | Margin trading |
SWAP | Perpetual swap |
FUTURES | Futures (delivery) |
OPTION | Options |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

