skillpp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPATIBILITY.md +58 -0
- package/LICENSE +21 -0
- package/README.md +307 -0
- package/README.zh-CN.md +307 -0
- package/SKILL.md +490 -0
- package/adapters/binance-ai.md +22 -0
- package/adapters/claude.md +21 -0
- package/adapters/gemini.md +26 -0
- package/adapters/gpt.md +28 -0
- package/adapters/kimi.md +26 -0
- package/adapters/mimo.md +22 -0
- package/adapters/openclaw.md +29 -0
- package/assets/skillpp-banner.png +0 -0
- package/package.json +59 -0
- package/pipelines.md +310 -0
- package/prompts/newbie-mode.md +48 -0
- package/prompts/router-prompt.md +32 -0
- package/prompts/universal-system-prompt.md +41 -0
- package/registry.md +209 -0
- package/rules.md +323 -0
- package/schemas/audit.schema.json +67 -0
- package/schemas/checkpoint.schema.json +86 -0
- package/schemas/handoff.schema.json +82 -0
- package/schemas/token.schema.json +36 -0
- package/scripts/compatibility-check.mjs +130 -0
- package/scripts/selftest.mjs +384 -0
- package/scripts/skillpp.mjs +448 -0
- package/scripts/validate-skillpp.mjs +140 -0
- package/skillpp.manifest.json +714 -0
- package/skills/audit-plus/SKILL.md +612 -0
- package/skills/binance/binance/CHANGELOG.md +112 -0
- package/skills/binance/binance/LICENSE.md +9 -0
- package/skills/binance/binance/SKILL.md +69 -0
- package/skills/binance/binance/references/algo.md +21 -0
- package/skills/binance/binance/references/alpha.md +9 -0
- package/skills/binance/binance/references/auth.md +32 -0
- package/skills/binance/binance/references/c2c.md +5 -0
- package/skills/binance/binance/references/convert.md +19 -0
- package/skills/binance/binance/references/copy-trading.md +6 -0
- package/skills/binance/binance/references/crypto-loan.md +27 -0
- package/skills/binance/binance/references/derivatives-options-streams.md +25 -0
- package/skills/binance/binance/references/derivatives-options.md +85 -0
- package/skills/binance/binance/references/derivatives-portfolio-margin-pro-streams.md +5 -0
- package/skills/binance/binance/references/derivatives-portfolio-margin-pro.md +34 -0
- package/skills/binance/binance/references/derivatives-portfolio-margin-streams.md +5 -0
- package/skills/binance/binance/references/derivatives-portfolio-margin.md +146 -0
- package/skills/binance/binance/references/dual-investment.md +15 -0
- package/skills/binance/binance/references/fiat.md +9 -0
- package/skills/binance/binance/references/futures-coin-streams.md +29 -0
- package/skills/binance/binance/references/futures-coin.md +109 -0
- package/skills/binance/binance/references/futures-usds-streams.md +35 -0
- package/skills/binance/binance/references/futures-usds.md +144 -0
- package/skills/binance/binance/references/gift-card.md +10 -0
- package/skills/binance/binance/references/margin-trading-streams.md +6 -0
- package/skills/binance/binance/references/margin-trading.md +101 -0
- package/skills/binance/binance/references/mining.md +17 -0
- package/skills/binance/binance/references/pay.md +5 -0
- package/skills/binance/binance/references/rebate.md +5 -0
- package/skills/binance/binance/references/simple-earn.md +56 -0
- package/skills/binance/binance/references/spot-streams.md +25 -0
- package/skills/binance/binance/references/spot.md +114 -0
- package/skills/binance/binance/references/staking.md +59 -0
- package/skills/binance/binance/references/sub-account.md +67 -0
- package/skills/binance/binance/references/vip-loan.md +27 -0
- package/skills/binance/binance/references/wallet.md +75 -0
- package/skills/binance/fiat/CHANGELOG.md +11 -0
- package/skills/binance/fiat/LICENSE.md +9 -0
- package/skills/binance/fiat/SKILL.md +169 -0
- package/skills/binance/fiat/references/authentication.md +126 -0
- package/skills/binance/fiat/references/sapi-endpoints.md +217 -0
- package/skills/binance/onchain-pay/.local.md.example +10 -0
- package/skills/binance/onchain-pay/CHANGELOG.md +20 -0
- package/skills/binance/onchain-pay/LICENSE.md +9 -0
- package/skills/binance/onchain-pay/SKILL.md +466 -0
- package/skills/binance/onchain-pay/references/authentication.md +92 -0
- package/skills/binance/onchain-pay/scripts/sign_and_call.sh +52 -0
- package/skills/binance/p2p/CHANGELOG.md +33 -0
- package/skills/binance/p2p/LICENSE.md +9 -0
- package/skills/binance/p2p/SKILL.md +1082 -0
- package/skills/binance/p2p/references/agent-sapi-api.md +795 -0
- package/skills/binance/p2p/references/authentication.md +100 -0
- package/skills/binance/payment/SKILL.md +824 -0
- package/skills/binance/payment/common.py +560 -0
- package/skills/binance/payment/payment_skill.py +86 -0
- package/skills/binance/payment/receive.py +109 -0
- package/skills/binance/payment/references/setup-guide.md +77 -0
- package/skills/binance/payment/requirements.txt +4 -0
- package/skills/binance/payment/send.py +952 -0
- package/skills/binance/payment/send_extension/__init__.py +43 -0
- package/skills/binance/payment/send_extension/base.py +48 -0
- package/skills/binance/payment/send_extension/c2c.py +193 -0
- package/skills/binance/payment/send_extension/pix.py +316 -0
- package/skills/binance/square-post/README.md +62 -0
- package/skills/binance/square-post/SKILL.md +171 -0
- package/skills/binance/square-post/scripts/lib.mjs +175 -0
- package/skills/binance/square-post/scripts/post-image.mjs +80 -0
- package/skills/binance/square-post/scripts/post-text.mjs +41 -0
- package/skills/binance/square-post/scripts/post-video.mjs +110 -0
- package/skills/binance/square-post/scripts/save-key.mjs +34 -0
- package/skills/binance-web3/binance-agentic-wallet/SKILL.md +150 -0
- package/skills/binance-web3/binance-agentic-wallet/references/authentication.md +136 -0
- package/skills/binance-web3/binance-agentic-wallet/references/limit-order.md +204 -0
- package/skills/binance-web3/binance-agentic-wallet/references/market-order.md +179 -0
- package/skills/binance-web3/binance-agentic-wallet/references/prediction.md +489 -0
- package/skills/binance-web3/binance-agentic-wallet/references/preflight.md +66 -0
- package/skills/binance-web3/binance-agentic-wallet/references/security.md +47 -0
- package/skills/binance-web3/binance-agentic-wallet/references/send.md +53 -0
- package/skills/binance-web3/binance-agentic-wallet/references/wallet-setting.md +86 -0
- package/skills/binance-web3/binance-agentic-wallet/references/wallet-view.md +312 -0
- package/skills/binance-web3/binance-agentic-wallet/references/x402-payment.md +259 -0
- package/skills/binance-web3/binance-tokenized-securities-info/SKILL.md +613 -0
- package/skills/binance-web3/crypto-market-rank/SKILL.md +91 -0
- package/skills/binance-web3/crypto-market-rank/references/cli.md +219 -0
- package/skills/binance-web3/crypto-market-rank/scripts/cli.mjs +149 -0
- package/skills/binance-web3/meme-rush/SKILL.md +72 -0
- package/skills/binance-web3/meme-rush/references/cli.md +158 -0
- package/skills/binance-web3/meme-rush/scripts/cli.mjs +101 -0
- package/skills/binance-web3/query-address-info/SKILL.md +61 -0
- package/skills/binance-web3/query-address-info/references/cli.md +56 -0
- package/skills/binance-web3/query-address-info/scripts/cli.mjs +132 -0
- package/skills/binance-web3/query-token-audit/SKILL.md +162 -0
- package/skills/binance-web3/query-token-info/SKILL.md +83 -0
- package/skills/binance-web3/query-token-info/references/cli.md +135 -0
- package/skills/binance-web3/query-token-info/scripts/cli.mjs +112 -0
- package/skills/binance-web3/trading-signal/SKILL.md +66 -0
- package/skills/binance-web3/trading-signal/references/cli.md +90 -0
- package/skills/binance-web3/trading-signal/scripts/cli.mjs +92 -0
- package/skills/four-meme/four-guard/API-Contract-TaxToken.md +277 -0
- package/skills/four-meme/four-guard/API-CreateToken.02-02-2026.md +285 -0
- package/skills/four-meme/four-guard/API-Documents.03-03-2026.md +789 -0
- package/skills/four-meme/four-guard/AgentIdentifier.abi +585 -0
- package/skills/four-meme/four-guard/README.md +21 -0
- package/skills/four-meme/four-guard/SKILL.md +31 -0
- package/skills/four-meme/four-guard/TaxToken.abi +969 -0
- package/skills/four-meme/four-guard/TokenIdentifierSample.js_ +81 -0
- package/skills/four-meme/four-guard/TokenIdentifierSample.sol +69 -0
- package/skills/four-meme/four-guard/TokenManager.lite.abi +836 -0
- package/skills/four-meme/four-guard/TokenManager2.lite.abi +2325 -0
- package/skills/four-meme/four-guard/TokenManagerHelper3.abi +999 -0
- package/skills/four-meme/four-guard/go.mod +36 -0
- package/skills/four-meme/four-guard/go.sum +127 -0
- package/skills/four-meme/four-guard/main.go +183 -0
- package/skills/four-meme/four-meme-ai/SKILL.md +31 -0
- package/skills/four-meme/four-meme-ai/references/agent-creator-and-wallets.md +87 -0
- package/skills/four-meme/four-meme-ai/references/api-create-token.md +55 -0
- package/skills/four-meme/four-meme-ai/references/contract-addresses.md +47 -0
- package/skills/four-meme/four-meme-ai/references/create-token-scripts.md +131 -0
- package/skills/four-meme/four-meme-ai/references/errors.md +29 -0
- package/skills/four-meme/four-meme-ai/references/event-listening.md +75 -0
- package/skills/four-meme/four-meme-ai/references/execute-trade.md +31 -0
- package/skills/four-meme/four-meme-ai/references/tax-token-query.md +38 -0
- package/skills/four-meme/four-meme-ai/references/token-query-api.md +44 -0
- package/skills/four-meme/four-meme-ai/references/token-tax-info.md +77 -0
- package/skills/four-meme/four-meme-ai/scripts/8004-balance.ts +52 -0
- package/skills/four-meme/four-meme-ai/scripts/8004-register.ts +108 -0
- package/skills/four-meme/four-meme-ai/scripts/create-token-api.ts +321 -0
- package/skills/four-meme/four-meme-ai/scripts/create-token-chain.ts +102 -0
- package/skills/four-meme/four-meme-ai/scripts/create-token-instant.ts +106 -0
- package/skills/four-meme/four-meme-ai/scripts/execute-buy.ts +198 -0
- package/skills/four-meme/four-meme-ai/scripts/execute-sell.ts +150 -0
- package/skills/four-meme/four-meme-ai/scripts/get-public-config.ts +25 -0
- package/skills/four-meme/four-meme-ai/scripts/get-recent-events.ts +76 -0
- package/skills/four-meme/four-meme-ai/scripts/get-tax-token-info.ts +69 -0
- package/skills/four-meme/four-meme-ai/scripts/get-token-info.ts +94 -0
- package/skills/four-meme/four-meme-ai/scripts/quote-buy.ts +85 -0
- package/skills/four-meme/four-meme-ai/scripts/quote-sell.ts +66 -0
- package/skills/four-meme/four-meme-ai/scripts/send-token.ts +98 -0
- package/skills/four-meme/four-meme-ai/scripts/token-get.ts +31 -0
- package/skills/four-meme/four-meme-ai/scripts/token-list.ts +134 -0
- package/skills/four-meme/four-meme-ai/scripts/token-rankings.ts +162 -0
- package/skills/four-meme/four-meme-ai/scripts/verify-events.ts +47 -0
- package/skills/four-meme/four-meme-integration/SKILL.md +374 -0
- package/skills/four-meme/four-meme-integration/references/agent-creator-and-wallets.md +87 -0
- package/skills/four-meme/four-meme-integration/references/api-create-token.md +55 -0
- package/skills/four-meme/four-meme-integration/references/contract-addresses.md +47 -0
- package/skills/four-meme/four-meme-integration/references/create-token-scripts.md +131 -0
- package/skills/four-meme/four-meme-integration/references/errors.md +29 -0
- package/skills/four-meme/four-meme-integration/references/event-listening.md +75 -0
- package/skills/four-meme/four-meme-integration/references/execute-trade.md +31 -0
- package/skills/four-meme/four-meme-integration/references/tax-token-query.md +38 -0
- package/skills/four-meme/four-meme-integration/references/token-query-api.md +44 -0
- package/skills/four-meme/four-meme-integration/references/token-tax-info.md +77 -0
- package/skills/four-meme/four-meme-integration/scripts/8004-balance.ts +52 -0
- package/skills/four-meme/four-meme-integration/scripts/8004-register.ts +108 -0
- package/skills/four-meme/four-meme-integration/scripts/create-token-api.ts +321 -0
- package/skills/four-meme/four-meme-integration/scripts/create-token-chain.ts +102 -0
- package/skills/four-meme/four-meme-integration/scripts/create-token-instant.ts +106 -0
- package/skills/four-meme/four-meme-integration/scripts/execute-buy.ts +198 -0
- package/skills/four-meme/four-meme-integration/scripts/execute-sell.ts +150 -0
- package/skills/four-meme/four-meme-integration/scripts/get-public-config.ts +25 -0
- package/skills/four-meme/four-meme-integration/scripts/get-recent-events.ts +76 -0
- package/skills/four-meme/four-meme-integration/scripts/get-tax-token-info.ts +69 -0
- package/skills/four-meme/four-meme-integration/scripts/get-token-info.ts +94 -0
- package/skills/four-meme/four-meme-integration/scripts/quote-buy.ts +85 -0
- package/skills/four-meme/four-meme-integration/scripts/quote-sell.ts +66 -0
- package/skills/four-meme/four-meme-integration/scripts/send-token.ts +98 -0
- package/skills/four-meme/four-meme-integration/scripts/token-get.ts +31 -0
- package/skills/four-meme/four-meme-integration/scripts/token-list.ts +134 -0
- package/skills/four-meme/four-meme-integration/scripts/token-rankings.ts +162 -0
- package/skills/four-meme/four-meme-integration/scripts/verify-events.ts +47 -0
- package/skills/skillpp/contract-profiler/SKILL.md +118 -0
- package/skills/skillpp/newbie-tutor/SKILL.md +85 -0
- package/skills/skillpp/opportunity-board/SKILL.md +87 -0
- package/skills/skillpp/risk-fusion/SKILL.md +146 -0
- package/skills/skillpp/scam-pattern-lab/SKILL.md +115 -0
- package/skills/skillpp/wallet-doctor/SKILL.md +119 -0
- package/skills/skillpp/watchtower/SKILL.md +72 -0
- package/tests/compatibility/v0.1.0.json +117 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
## Fiat (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| deposit | `currency` `api-payment-method` `amount` [ `ext`] | Deposit |
|
|
6
|
+
| fiat-withdraw | `currency` `api-payment-method` `amount` `account-info` [ `ext`] | Fiat Withdraw |
|
|
7
|
+
| get-fiat-deposit-withdraw-history | `transaction-type` [`begin-time` `end-time` `page` `rows`] | Get Fiat Deposit/Withdraw History |
|
|
8
|
+
| get-fiat-payments-history | `transaction-type` [`begin-time` `end-time` `page` `rows`] | Get Fiat Payments History |
|
|
9
|
+
| get-order-detail | `order-no` [] | Get Order Detail |
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
## Websocket Market Streams
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| aggregate-trade-streams | `symbol` [`id`] | Aggregate Trade Streams |
|
|
6
|
+
| all-book-tickers-stream | [`id`] | All Book Tickers Stream |
|
|
7
|
+
| all-market-liquidation-order-streams | [`id`] | All Market Liquidation Order Streams |
|
|
8
|
+
| all-market-mini-tickers-stream | [`id`] | All Market Mini Tickers Stream |
|
|
9
|
+
| all-market-tickers-streams | [`id`] | All Market Tickers Streams |
|
|
10
|
+
| continuous-contract-kline-candlestick-streams | `pair` `contract-type` `interval` [`id`] | Continuous Contract Kline/Candlestick Streams |
|
|
11
|
+
| contract-info-stream | [`id`] | Contract Info Stream |
|
|
12
|
+
| diff-book-depth-streams | `symbol` [`id` `update-speed`] | Diff. Book Depth Streams |
|
|
13
|
+
| index-kline-candlestick-streams | `pair` `interval` [`id`] | Index Kline/Candlestick Streams |
|
|
14
|
+
| index-price-stream | `pair` [`id` `update-speed`] | Index Price Stream |
|
|
15
|
+
| individual-symbol-book-ticker-streams | `symbol` [`id`] | Individual Symbol Book Ticker Streams |
|
|
16
|
+
| individual-symbol-mini-ticker-stream | `symbol` [`id`] | Individual Symbol Mini Ticker Stream |
|
|
17
|
+
| individual-symbol-ticker-streams | `symbol` [`id`] | Individual Symbol Ticker Streams |
|
|
18
|
+
| kline-candlestick-streams | `symbol` `interval` [`id`] | Kline/Candlestick Streams |
|
|
19
|
+
| liquidation-order-streams | `symbol` [`id`] | Liquidation Order Streams |
|
|
20
|
+
| mark-price-kline-candlestick-streams | `symbol` `interval` [`id`] | Mark Price Kline/Candlestick Streams |
|
|
21
|
+
| mark-price-of-all-symbols-of-a-pair | `pair` [`id` `update-speed`] | Mark Price of All Symbols of a Pair |
|
|
22
|
+
| mark-price-stream | `symbol` [`id` `update-speed`] | Mark Price Stream |
|
|
23
|
+
| partial-book-depth-streams | `symbol` `levels` [`id` `update-speed`] | Partial Book Depth Streams |
|
|
24
|
+
|
|
25
|
+
## Other streams
|
|
26
|
+
|
|
27
|
+
| Endpoint | Key params | Description |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| user-data | listen-key [id] | Subscribes to the user data WebSocket stream using the provided listen key. |
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
## Account (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| account-information | [] | Account Information |
|
|
6
|
+
| futures-account-balance | [] | Futures Account Balance |
|
|
7
|
+
| get-current-position-mode | [] | Get Current Position Mode |
|
|
8
|
+
| get-download-id-for-futures-order-history | `start-time` `end-time` [] | Get Download Id For Futures Order History |
|
|
9
|
+
| get-download-id-for-futures-trade-history | `start-time` `end-time` [] | Get Download Id For Futures Trade History |
|
|
10
|
+
| get-download-id-for-futures-transaction-history | `start-time` `end-time` [] | Get Download Id For Futures Transaction History |
|
|
11
|
+
| get-futures-order-history-download-link-by-id | `download-id` [] | Get Futures Order History Download Link by Id |
|
|
12
|
+
| get-futures-trade-download-link-by-id | `download-id` [] | Get Futures Trade Download Link by Id |
|
|
13
|
+
| get-futures-transaction-history-download-link-by-id | `download-id` [] | Get Futures Transaction History Download Link by Id |
|
|
14
|
+
| get-income-history | [`symbol` `income-type` `start-time` `end-time` `page` `limit`] | Get Income History |
|
|
15
|
+
| notional-bracket-for-pair | [`pair`] | Notional Bracket for Pair |
|
|
16
|
+
| notional-bracket-for-symbol | [`symbol`] | Notional Bracket for Symbol |
|
|
17
|
+
| user-commission-rate | `symbol` [] | User Commission Rate |
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Market Data
|
|
21
|
+
|
|
22
|
+
| Endpoint | Key params | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| basis | `pair` `contract-type` `period` [`limit` `start-time` `end-time`] | Basis |
|
|
25
|
+
| check-server-time | [] | Check Server time |
|
|
26
|
+
| compressed-aggregate-trades-list | `symbol` [`from-id` `start-time` `end-time` `limit`] | Compressed/Aggregate Trades List |
|
|
27
|
+
| continuous-contract-kline-candlestick-data | `pair` `contract-type` `interval` [`start-time` `end-time` `limit`] | Continuous Contract Kline/Candlestick Data |
|
|
28
|
+
| exchange-information | [] | Exchange Information |
|
|
29
|
+
| get-funding-rate-history-of-perpetual-futures | `symbol` [`start-time` `end-time` `limit`] | Get Funding Rate History of Perpetual Futures |
|
|
30
|
+
| get-funding-rate-info | [] | Get Funding Rate Info |
|
|
31
|
+
| index-price-and-mark-price | [`symbol` `pair`] | Index Price and Mark Price |
|
|
32
|
+
| index-price-kline-candlestick-data | `pair` `interval` [`start-time` `end-time` `limit`] | Index Price Kline/Candlestick Data |
|
|
33
|
+
| kline-candlestick-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Kline/Candlestick Data |
|
|
34
|
+
| long-short-ratio | `pair` `period` [`limit` `start-time` `end-time`] | Long/Short Ratio |
|
|
35
|
+
| mark-price-kline-candlestick-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Mark Price Kline/Candlestick Data |
|
|
36
|
+
| old-trades-lookup | `symbol` [`limit` `from-id`] | Old Trades Lookup |
|
|
37
|
+
| open-interest | `symbol` [] | Open Interest |
|
|
38
|
+
| open-interest-statistics | `pair` `contract-type` `period` [`limit` `start-time` `end-time`] | Open Interest Statistics |
|
|
39
|
+
| order-book | `symbol` [`limit`] | Order Book |
|
|
40
|
+
| premium-index-kline-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Premium index Kline Data |
|
|
41
|
+
| query-index-price-constituents | `symbol` [] | Query Index Price Constituents |
|
|
42
|
+
| recent-trades-list | `symbol` [`limit`] | Recent Trades List |
|
|
43
|
+
| symbol-order-book-ticker | [`symbol` `pair`] | Symbol Order Book Ticker |
|
|
44
|
+
| symbol-price-ticker | [`symbol` `pair`] | Symbol Price Ticker |
|
|
45
|
+
| taker-buy-sell-volume | `pair` `contract-type` `period` [`limit` `start-time` `end-time`] | Taker Buy/Sell Volume |
|
|
46
|
+
| test-connectivity | [] | Test Connectivity |
|
|
47
|
+
| ticker24hr-price-change-statistics | [`symbol` `pair`] | 24hr Ticker Price Change Statistics |
|
|
48
|
+
| top-trader-long-short-ratio-accounts | `symbol` `period` [`limit` `start-time` `end-time`] | Top Trader Long/Short Ratio (Accounts) |
|
|
49
|
+
| top-trader-long-short-ratio-positions | `pair` `period` [`limit` `start-time` `end-time`] | Top Trader Long/Short Ratio (Positions) |
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Portfolio Margin Endpoints (auth required)
|
|
53
|
+
|
|
54
|
+
| Endpoint | Key params | Description |
|
|
55
|
+
|---|---|---|
|
|
56
|
+
| classic-portfolio-margin-account-information | `asset` [] | Classic Portfolio Margin Account Information |
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## Trade (auth required)
|
|
60
|
+
|
|
61
|
+
| Endpoint | Key params | Description |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| account-trade-list | [`symbol` `pair` `order-id` `start-time` `end-time` `from-id` `limit`] | Account Trade List |
|
|
64
|
+
| all-orders | [`symbol` `pair` `order-id` `start-time` `end-time` `limit`] | All Orders |
|
|
65
|
+
| auto-cancel-all-open-orders | `symbol` `countdown-time` [] | Auto-Cancel All Open Orders |
|
|
66
|
+
| cancel-all-open-orders | `symbol` [] | Cancel All Open Orders |
|
|
67
|
+
| cancel-multiple-orders | `symbol` [`order-id-list` `orig-client-order-id-list`] | Cancel Multiple Orders |
|
|
68
|
+
| cancel-order | `symbol` [`order-id` `orig-client-order-id`] | Cancel Order |
|
|
69
|
+
| change-initial-leverage | `symbol` `leverage` [] | Change Initial Leverage |
|
|
70
|
+
| change-margin-type | `symbol` `margin-type` [] | Change Margin Type |
|
|
71
|
+
| change-position-mode | `dual-side-position` [] | Change Position Mode |
|
|
72
|
+
| current-all-open-orders | [`symbol` `pair`] | Current All Open Orders |
|
|
73
|
+
| get-order-modify-history | `symbol` [`order-id` `orig-client-order-id` `start-time` `end-time` `limit`] | Get Order Modify History |
|
|
74
|
+
| get-position-margin-change-history | `symbol` [`type` `start-time` `end-time` `limit`] | Get Position Margin Change History |
|
|
75
|
+
| modify-isolated-position-margin | `symbol` `amount` `type` [`position-side`] | Modify Isolated Position Margin |
|
|
76
|
+
| modify-multiple-orders | `batch-orders` [] | Modify Multiple Orders |
|
|
77
|
+
| modify-order | `symbol` `side` [`order-id` `orig-client-order-id` `quantity` `price` `price-match`] | Modify Order |
|
|
78
|
+
| new-order | `symbol` `side` `type` [`position-side` `time-in-force` `quantity` `reduce-only` `price` `new-client-order-id` `stop-price` `close-position` `activation-price` `callback-rate` `working-type` `price-protect` `new-order-resp-type` `price-match` `self-trade-prevention-mode`] | New Order |
|
|
79
|
+
| place-multiple-orders | `batch-orders` [] | Place Multiple Orders |
|
|
80
|
+
| position-adl-quantile-estimation | [`symbol`] | Position ADL Quantile Estimation |
|
|
81
|
+
| position-information | [`margin-asset` `pair`] | Position Information |
|
|
82
|
+
| query-current-open-order | `symbol` [`order-id` `orig-client-order-id`] | Query Current Open Order |
|
|
83
|
+
| query-order | `symbol` [`order-id` `orig-client-order-id`] | Query Order |
|
|
84
|
+
| users-force-orders | [`symbol` `auto-close-type` `start-time` `end-time` `limit`] | User\'s Force Orders |
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## User Data Streams
|
|
88
|
+
|
|
89
|
+
| Endpoint | Key params | Description |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| close-user-data-stream | [] | Close User Data Stream |
|
|
92
|
+
| keepalive-user-data-stream | [] | Keepalive User Data Stream |
|
|
93
|
+
| start-user-data-stream | [] | Start User Data Stream |
|
|
94
|
+
|
|
95
|
+
### Enums
|
|
96
|
+
|
|
97
|
+
**auto-close-type:** `LIQUIDATION` `ADL`
|
|
98
|
+
**contract-type:** `PERPETUAL` `CURRENT_QUARTER` `NEXT_QUARTER` `CURRENT_QUARTER_DELIVERING` `NEXT_QUARTER_DELIVERING` `PERPETUAL_DELIVERING`
|
|
99
|
+
**interval:** `1m` `3m` `5m` `15m` `30m` `1h` `2h` `4h` `6h` `8h` `12h` `1d` `3d` `1w` `1M`
|
|
100
|
+
**margin-type:** `ISOLATED` `CROSSED`
|
|
101
|
+
**new-order-resp-type:** `ACK` `RESULT`
|
|
102
|
+
**period:** `5m` `15m` `30m` `1h` `2h` `4h` `6h` `12h` `1d`
|
|
103
|
+
**position-side:** `BOTH` `LONG` `SHORT`
|
|
104
|
+
**price-match:** `NONE` `OPPONENT` `OPPONENT_5` `OPPONENT_10` `OPPONENT_20` `QUEUE` `QUEUE_5` `QUEUE_10` `QUEUE_20`
|
|
105
|
+
**self-trade-prevention-mode:** `NONE` `EXPIRE_TAKER` `EXPIRE_BOTH` `EXPIRE_MAKER`
|
|
106
|
+
**side:** `BUY` `SELL`
|
|
107
|
+
**time-in-force:** `GTC` `IOC` `FOK` `GTX`
|
|
108
|
+
**type:** `LIMIT` `MARKET` `STOP` `STOP_MARKET` `TAKE_PROFIT` `TAKE_PROFIT_MARKET` `TRAILING_STOP_MARKET`
|
|
109
|
+
**working-type:** `MARK_PRICE` `CONTRACT_PRICE`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
## Market
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| aggregate-trade-streams | `symbol` [`id`] | Aggregate Trade Streams |
|
|
6
|
+
| all-market-liquidation-order-streams | [`id`] | All Market Liquidation Order Streams |
|
|
7
|
+
| all-market-mini-tickers-stream | [`id`] | All Market Mini Tickers Stream |
|
|
8
|
+
| all-market-tickers-streams | [`id`] | All Market Tickers Streams |
|
|
9
|
+
| composite-index-symbol-information-streams | `symbol` [`id`] | Composite Index Symbol Information Streams |
|
|
10
|
+
| continuous-contract-kline-candlestick-streams | `pair` `contract-type` `interval` [`id`] | Continuous Contract Kline/Candlestick Streams |
|
|
11
|
+
| contract-info-stream | [`id`] | Contract Info Stream |
|
|
12
|
+
| individual-symbol-mini-ticker-stream | `symbol` [`id`] | Individual Symbol Mini Ticker Stream |
|
|
13
|
+
| individual-symbol-ticker-streams | `symbol` [`id`] | Individual Symbol Ticker Streams |
|
|
14
|
+
| kline-candlestick-streams | `symbol` `interval` [`id`] | Kline/Candlestick Streams |
|
|
15
|
+
| liquidation-order-streams | `symbol` [`id`] | Liquidation Order Streams |
|
|
16
|
+
| mark-price-stream | `symbol` [`id` `update-speed`] | Mark Price Stream |
|
|
17
|
+
| mark-price-stream-for-all-market | [`id` `update-speed`] | Mark Price Stream for All market |
|
|
18
|
+
| multi-assets-mode-asset-index | [`id`] | Multi-Assets Mode Asset Index |
|
|
19
|
+
| trading-session-stream | [`id`] | Trading Session Stream |
|
|
20
|
+
|
|
21
|
+
## Public
|
|
22
|
+
|
|
23
|
+
| Endpoint | Key params | Description |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| all-book-tickers-stream | [`id`] | All Book Tickers Stream |
|
|
26
|
+
| diff-book-depth-streams | `symbol` [`id` `update-speed`] | Diff. Book Depth Streams |
|
|
27
|
+
| individual-symbol-book-ticker-streams | `symbol` [`id`] | Individual Symbol Book Ticker Streams |
|
|
28
|
+
| partial-book-depth-streams | `symbol` `levels` [`id` `update-speed`] | Partial Book Depth Streams |
|
|
29
|
+
| rpi-diff-book-depth-streams | `symbol` [`id`] | RPI Diff. Book Depth Streams |
|
|
30
|
+
|
|
31
|
+
## Other streams
|
|
32
|
+
|
|
33
|
+
| Endpoint | Key params | Description |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| user-data | listen-key [id] | Subscribes to the user data WebSocket stream using the provided listen key. |
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
## Account (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| account-information-v2 | [] | Account Information V2 |
|
|
6
|
+
| account-information-v3 | [] | Account Information V3 |
|
|
7
|
+
| futures-account-balance-v2 | [] | Futures Account Balance V2 |
|
|
8
|
+
| futures-account-balance-v3 | [] | Futures Account Balance V3 |
|
|
9
|
+
| futures-account-configuration | [] | Futures Account Configuration |
|
|
10
|
+
| futures-trading-quantitative-rules-indicators | [`symbol`] | Futures Trading Quantitative Rules Indicators |
|
|
11
|
+
| get-bnb-burn-status | [] | Get BNB Burn Status |
|
|
12
|
+
| get-current-multi-assets-mode | [] | Get Current Multi-Assets Mode |
|
|
13
|
+
| get-current-position-mode | [] | Get Current Position Mode |
|
|
14
|
+
| get-download-id-for-futures-order-history | `start-time` `end-time` [] | Get Download Id For Futures Order History |
|
|
15
|
+
| get-download-id-for-futures-trade-history | `start-time` `end-time` [] | Get Download Id For Futures Trade History |
|
|
16
|
+
| get-download-id-for-futures-transaction-history | `start-time` `end-time` [] | Get Download Id For Futures Transaction History |
|
|
17
|
+
| get-futures-order-history-download-link-by-id | `download-id` [] | Get Futures Order History Download Link by Id |
|
|
18
|
+
| get-futures-trade-download-link-by-id | `download-id` [] | Get Futures Trade Download Link by Id |
|
|
19
|
+
| get-futures-transaction-history-download-link-by-id | `download-id` [] | Get Futures Transaction History Download Link by Id |
|
|
20
|
+
| get-income-history | [`symbol` `income-type` `start-time` `end-time` `page` `limit`] | Get Income History |
|
|
21
|
+
| notional-and-leverage-brackets | [`symbol`] | Notional and Leverage Brackets |
|
|
22
|
+
| query-user-rate-limit | [] | Query User Rate Limit |
|
|
23
|
+
| symbol-configuration | [`symbol`] | Symbol Configuration |
|
|
24
|
+
| toggle-bnb-burn-on-futures-trade | `fee-burn` [] | Toggle BNB Burn On Futures Trade |
|
|
25
|
+
| user-commission-rate | `symbol` [] | User Commission Rate |
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Convert (auth required)
|
|
29
|
+
|
|
30
|
+
| Endpoint | Key params | Description |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| accept-the-offered-quote | `quote-id` [] | Accept the offered quote |
|
|
33
|
+
| list-all-convert-pairs | [`from-asset` `to-asset`] | List All Convert Pairs |
|
|
34
|
+
| order-status | [`order-id` `quote-id`] | Order status |
|
|
35
|
+
| send-quote-request | `from-asset` `to-asset` [`from-amount` `to-amount` `valid-time`] | Send Quote Request |
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## Market Data
|
|
39
|
+
|
|
40
|
+
| Endpoint | Key params | Description |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| adl-risk | [`symbol`] | ADL Risk |
|
|
43
|
+
| basis | `pair` `contract-type` `period` [`limit` `start-time` `end-time`] | Basis |
|
|
44
|
+
| check-server-time | [] | Check Server Time |
|
|
45
|
+
| composite-index-symbol-information | [`symbol`] | Composite Index Symbol Information |
|
|
46
|
+
| compressed-aggregate-trades-list | `symbol` [`from-id` `start-time` `end-time` `limit`] | Compressed/Aggregate Trades List |
|
|
47
|
+
| continuous-contract-kline-candlestick-data | `pair` `contract-type` `interval` [`start-time` `end-time` `limit`] | Continuous Contract Kline/Candlestick Data |
|
|
48
|
+
| exchange-information | [] | Exchange Information |
|
|
49
|
+
| get-funding-rate-history | [`symbol` `start-time` `end-time` `limit`] | Get Funding Rate History |
|
|
50
|
+
| get-funding-rate-info | [] | Get Funding Rate Info |
|
|
51
|
+
| index-price-kline-candlestick-data | `pair` `interval` [`start-time` `end-time` `limit`] | Index Price Kline/Candlestick Data |
|
|
52
|
+
| kline-candlestick-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Kline/Candlestick Data |
|
|
53
|
+
| long-short-ratio | `symbol` `period` [`limit` `start-time` `end-time`] | Long/Short Ratio |
|
|
54
|
+
| mark-price | [`symbol`] | Mark Price |
|
|
55
|
+
| mark-price-kline-candlestick-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Mark Price Kline/Candlestick Data |
|
|
56
|
+
| multi-assets-mode-asset-index | [`symbol`] | Multi-Assets Mode Asset Index |
|
|
57
|
+
| old-trades-lookup | `symbol` [`limit` `from-id`] | Old Trades Lookup |
|
|
58
|
+
| open-interest | `symbol` [] | Open Interest |
|
|
59
|
+
| open-interest-statistics | `symbol` `period` [`limit` `start-time` `end-time`] | Open Interest Statistics |
|
|
60
|
+
| order-book | `symbol` [`limit`] | Order Book |
|
|
61
|
+
| premium-index-kline-data | `symbol` `interval` [`start-time` `end-time` `limit`] | Premium index Kline Data |
|
|
62
|
+
| quarterly-contract-settlement-price | `pair` [] | Quarterly Contract Settlement Price |
|
|
63
|
+
| query-index-price-constituents | `symbol` [] | Query Index Price Constituents |
|
|
64
|
+
| query-insurance-fund-balance-snapshot | [`symbol`] | Query Insurance Fund Balance Snapshot |
|
|
65
|
+
| recent-trades-list | `symbol` [`limit`] | Recent Trades List |
|
|
66
|
+
| rpi-order-book | `symbol` [`limit`] | RPI Order Book |
|
|
67
|
+
| symbol-order-book-ticker | [`symbol`] | Symbol Order Book Ticker |
|
|
68
|
+
| symbol-price-ticker | [`symbol`] | Symbol Price Ticker |
|
|
69
|
+
| symbol-price-ticker-v2 | [`symbol`] | Symbol Price Ticker V2 |
|
|
70
|
+
| taker-buy-sell-volume | `symbol` `period` [`limit` `start-time` `end-time`] | Taker Buy/Sell Volume |
|
|
71
|
+
| test-connectivity | [] | Test Connectivity |
|
|
72
|
+
| ticker24hr-price-change-statistics | [`symbol`] | 24hr Ticker Price Change Statistics |
|
|
73
|
+
| top-trader-long-short-ratio-accounts | `symbol` `period` [`limit` `start-time` `end-time`] | Top Trader Long/Short Ratio (Accounts) |
|
|
74
|
+
| top-trader-long-short-ratio-positions | `symbol` `period` [`limit` `start-time` `end-time`] | Top Trader Long/Short Ratio (Positions) |
|
|
75
|
+
| trading-schedule | [] | Trading Schedule |
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Portfolio Margin Endpoints (auth required)
|
|
79
|
+
|
|
80
|
+
| Endpoint | Key params | Description |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| classic-portfolio-margin-account-information | `asset` [] | Classic Portfolio Margin Account Information |
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## Trade (auth required)
|
|
86
|
+
|
|
87
|
+
| Endpoint | Key params | Description |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| account-trade-list | `symbol` [`order-id` `start-time` `end-time` `from-id` `limit`] | Account Trade List |
|
|
90
|
+
| all-orders | `symbol` [`order-id` `start-time` `end-time` `limit`] | All Orders |
|
|
91
|
+
| auto-cancel-all-open-orders | `symbol` `countdown-time` [] | Auto-Cancel All Open Orders |
|
|
92
|
+
| cancel-algo-order | [`algo-id` `client-algo-id`] | Cancel Algo Order |
|
|
93
|
+
| cancel-all-algo-open-orders | `symbol` [] | Cancel All Algo Open Orders |
|
|
94
|
+
| cancel-all-open-orders | `symbol` [] | Cancel All Open Orders |
|
|
95
|
+
| cancel-multiple-orders | `symbol` [`order-id-list` `orig-client-order-id-list`] | Cancel Multiple Orders |
|
|
96
|
+
| cancel-order | `symbol` [`order-id` `orig-client-order-id`] | Cancel Order |
|
|
97
|
+
| change-initial-leverage | `symbol` `leverage` [] | Change Initial Leverage |
|
|
98
|
+
| change-margin-type | `symbol` `margin-type` [] | Change Margin Type |
|
|
99
|
+
| change-multi-assets-mode | `multi-assets-margin` [] | Change Multi-Assets Mode |
|
|
100
|
+
| change-position-mode | `dual-side-position` [] | Change Position Mode |
|
|
101
|
+
| current-all-algo-open-orders | [`algo-type` `symbol` `algo-id`] | Current All Algo Open Orders |
|
|
102
|
+
| current-all-open-orders | [`symbol`] | Current All Open Orders |
|
|
103
|
+
| futures-tradfi-perps-contract | [] | Futures TradFi Perps Contract |
|
|
104
|
+
| get-order-modify-history | `symbol` [`order-id` `orig-client-order-id` `start-time` `end-time` `limit`] | Get Order Modify History |
|
|
105
|
+
| get-position-margin-change-history | `symbol` [`type` `start-time` `end-time` `limit`] | Get Position Margin Change History |
|
|
106
|
+
| modify-isolated-position-margin | `symbol` `amount` `type` [`position-side`] | Modify Isolated Position Margin |
|
|
107
|
+
| modify-multiple-orders | `batch-orders` [] | Modify Multiple Orders |
|
|
108
|
+
| modify-order | `symbol` `side` `quantity` `price` [`order-id` `orig-client-order-id` `price-match`] | Modify Order |
|
|
109
|
+
| new-algo-order | `algo-type` `symbol` `side` `type` [`position-side` `time-in-force` `quantity` `price` `trigger-price` `working-type` `price-match` `close-position` `price-protect` `reduce-only` `activate-price` `callback-rate` `client-algo-id` `new-order-resp-type` `self-trade-prevention-mode` `good-till-date`] | New Algo Order<br>Use this endpoint to place TP/SL (Take Profit / Stop Loss) and trailing stop orders |
|
|
110
|
+
| new-order | `symbol` `side` `type` [`position-side` `time-in-force` `quantity` `reduce-only` `price` `new-client-order-id` `new-order-resp-type` `price-match` `self-trade-prevention-mode` `good-till-date`] | New Order |
|
|
111
|
+
| place-multiple-orders | `batch-orders` [] | Place Multiple Orders |
|
|
112
|
+
| position-adl-quantile-estimation | [`symbol`] | Position ADL Quantile Estimation |
|
|
113
|
+
| position-information-v2 | [`symbol`] | Position Information V2 |
|
|
114
|
+
| position-information-v3 | [`symbol`] | Position Information V3 |
|
|
115
|
+
| query-algo-order | [`algo-id` `client-algo-id`] | Query Algo Order |
|
|
116
|
+
| query-all-algo-orders | `symbol` [`algo-id` `start-time` `end-time` `limit`] | Query All Algo Orders |
|
|
117
|
+
| query-current-open-order | `symbol` [`order-id` `orig-client-order-id`] | Query Current Open Order |
|
|
118
|
+
| query-order | `symbol` [`order-id` `orig-client-order-id`] | Query Order |
|
|
119
|
+
| test-order | `symbol` `side` `type` [`position-side` `time-in-force` `quantity` `reduce-only` `price` `new-client-order-id` `stop-price` `close-position` `activation-price` `callback-rate` `working-type` `price-protect` `new-order-resp-type` `price-match` `self-trade-prevention-mode` `good-till-date`] | Test Order |
|
|
120
|
+
| users-force-orders | [`symbol` `auto-close-type` `start-time` `end-time` `limit`] | User\'s Force Orders |
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## User Data Streams
|
|
124
|
+
|
|
125
|
+
| Endpoint | Key params | Description |
|
|
126
|
+
|---|---|---|
|
|
127
|
+
| close-user-data-stream | [] | Close User Data Stream |
|
|
128
|
+
| keepalive-user-data-stream | [] | Keepalive User Data Stream |
|
|
129
|
+
| start-user-data-stream | [] | Start User Data Stream |
|
|
130
|
+
|
|
131
|
+
### Enums
|
|
132
|
+
|
|
133
|
+
**auto-close-type:** `LIQUIDATION` `ADL`
|
|
134
|
+
**contract-type:** `PERPETUAL` `CURRENT_MONTH` `NEXT_MONTH` `CURRENT_QUARTER` `NEXT_QUARTER` `PERPETUAL_DELIVERING`
|
|
135
|
+
**interval:** `1s` `1m` `3m` `5m` `15m` `30m` `1h` `2h` `4h` `6h` `8h` `12h` `1d` `3d` `1w` `1M`
|
|
136
|
+
**margin-type:** `ISOLATED` `CROSSED`
|
|
137
|
+
**new-order-resp-type:** `ACK` `RESULT`
|
|
138
|
+
**period:** `5m` `15m` `30m` `1h` `2h` `4h` `6h` `12h` `1d`
|
|
139
|
+
**position-side:** `BOTH` `LONG` `SHORT`
|
|
140
|
+
**price-match:** `NONE` `OPPONENT` `OPPONENT_5` `OPPONENT_10` `OPPONENT_20` `QUEUE` `QUEUE_5` `QUEUE_10` `QUEUE_20`
|
|
141
|
+
**self-trade-prevention-mode:** `EXPIRE_TAKER` `EXPIRE_BOTH` `EXPIRE_MAKER`
|
|
142
|
+
**side:** `BUY` `SELL`
|
|
143
|
+
**time-in-force:** `GTC` `IOC` `FOK` `GTX` `GTD` `RPI`
|
|
144
|
+
**working-type:** `MARK_PRICE` `CONTRACT_PRICE`
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
## Market Data (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| create-a-dual-token-gift-card | `base-token` `face-token` `base-token-amount` [] | Create a dual-token gift card(fixed value, discount feature) |
|
|
6
|
+
| create-a-single-token-gift-card | `token` `amount` [] | Create a single-token gift card |
|
|
7
|
+
| fetch-rsa-public-key | [] | Fetch RSA Public Key |
|
|
8
|
+
| fetch-token-limit | `base-token` [] | Fetch Token Limit |
|
|
9
|
+
| redeem-a-binance-gift-card | `code` [`external-uid`] | Redeem a Binance Gift Card |
|
|
10
|
+
| verify-binance-gift-card-by-gift-card-number | `reference-no` [] | Verify Binance Gift Card by Gift Card Number |
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
## Other streams
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| risk-data | listen-key [id] | Subscribes to the risk data WebSocket stream using the provided listen key. |
|
|
6
|
+
| trade-data | listen-key [id] | Subscribes to the trade data WebSocket stream using the provided listen key. |
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
## Account (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| adjust-cross-margin-max-leverage | `max-leverage` [] | Adjust cross margin max leverage |
|
|
6
|
+
| disable-isolated-margin-account | `symbol` [] | Disable Isolated Margin Account |
|
|
7
|
+
| enable-isolated-margin-account | `symbol` [] | Enable Isolated Margin Account |
|
|
8
|
+
| get-bnb-burn-status | [] | Get BNB Burn Status |
|
|
9
|
+
| get-summary-of-margin-account | [] | Get Summary of Margin account |
|
|
10
|
+
| query-cross-isolated-margin-capital-flow | [`asset` `symbol` `type` `start-time` `end-time` `from-id` `limit`] | Query Cross Isolated Margin Capital Flow |
|
|
11
|
+
| query-cross-margin-account-details | [] | Query Cross Margin Account Details |
|
|
12
|
+
| query-cross-margin-fee-data | [`vip-level` `coin`] | Query Cross Margin Fee Data |
|
|
13
|
+
| query-enabled-isolated-margin-account-limit | [] | Query Enabled Isolated Margin Account Limit |
|
|
14
|
+
| query-isolated-margin-account-info | [`symbols`] | Query Isolated Margin Account Info |
|
|
15
|
+
| query-isolated-margin-fee-data | [`vip-level` `symbol`] | Query Isolated Margin Fee Data |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Borrow Repay (auth required)
|
|
19
|
+
|
|
20
|
+
| Endpoint | Key params | Description |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| get-future-hourly-interest-rate | `assets` `is-isolated` [] | Get future hourly interest rate |
|
|
23
|
+
| get-interest-history | [`asset` `isolated-symbol` `start-time` `end-time` `current` `size`] | Get Interest History |
|
|
24
|
+
| margin-account-borrow-repay | `asset` `is-isolated` `symbol` `amount` `type` [] | Margin account borrow/repay |
|
|
25
|
+
| query-borrow-repay-records-in-margin-account | `type` [`asset` `isolated-symbol` `tx-id` `start-time` `end-time` `current` `size`] | Query borrow/repay records in Margin account |
|
|
26
|
+
| query-margin-interest-rate-history | `asset` [`vip-level` `start-time` `end-time`] | Query Margin Interest Rate History |
|
|
27
|
+
| query-max-borrow | `asset` [`isolated-symbol`] | Query Max Borrow |
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Market Data
|
|
31
|
+
|
|
32
|
+
| Endpoint | Key params | Description |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| cross-margin-collateral-ratio | [] | Cross margin collateral ratio |
|
|
35
|
+
| get-all-cross-margin-pairs | [`symbol`] | Get All Cross Margin Pairs |
|
|
36
|
+
| get-all-isolated-margin-symbol | [`symbol`] | Get All Isolated Margin Symbol |
|
|
37
|
+
| get-all-margin-assets | [`asset`] | Get All Margin Assets |
|
|
38
|
+
| get-delist-schedule | [] | Get Delist Schedule |
|
|
39
|
+
| get-limit-price-pairs | [] | Get Limit Price Pairs |
|
|
40
|
+
| get-list-schedule | [] | Get list Schedule |
|
|
41
|
+
| get-margin-asset-risk-based-liquidation-ratio | [] | Get Margin Asset Risk-Based Liquidation Ratio |
|
|
42
|
+
| get-margin-restricted-assets | [] | Get Margin Restricted Assets |
|
|
43
|
+
| query-isolated-margin-tier-data | `symbol` [`tier`] | Query Isolated Margin Tier Data |
|
|
44
|
+
| query-liability-coin-leverage-bracket-in-cross-margin-pro-mode | [] | Query Liability Coin Leverage Bracket in Cross Margin Pro Mode |
|
|
45
|
+
| query-margin-available-inventory | `type` [] | Query Margin Available Inventory |
|
|
46
|
+
| query-margin-priceindex | `symbol` [] | Query Margin PriceIndex |
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## Risk Data Stream
|
|
50
|
+
|
|
51
|
+
| Endpoint | Key params | Description |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| close-user-data-stream | [] | Close User Data Stream |
|
|
54
|
+
| keepalive-user-data-stream | `listen-key` [] | Keepalive User Data Stream |
|
|
55
|
+
| start-user-data-stream | [] | Start User Data Stream |
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## Trade (auth required)
|
|
59
|
+
|
|
60
|
+
| Endpoint | Key params | Description |
|
|
61
|
+
|---|---|---|
|
|
62
|
+
| create-special-key | `api-name` [`symbol` `ip` `public-key` `permission-mode`] | Create Special Key(Low-Latency Trading) |
|
|
63
|
+
| delete-special-key | [`api-name` `symbol`] | Delete Special Key(Low-Latency Trading) |
|
|
64
|
+
| edit-ip-for-special-key | `ip` [`symbol`] | Edit ip for Special Key(Low-Latency Trading) |
|
|
65
|
+
| get-force-liquidation-record | [`start-time` `end-time` `isolated-symbol` `current` `size`] | Get Force Liquidation Record |
|
|
66
|
+
| get-small-liability-exchange-coin-list | [] | Get Small Liability Exchange Coin List |
|
|
67
|
+
| get-small-liability-exchange-history | `current` `size` [`start-time` `end-time`] | Get Small Liability Exchange History |
|
|
68
|
+
| margin-account-cancel-all-open-orders-on-a-symbol | `symbol` [`is-isolated`] | Margin Account Cancel all Open Orders on a Symbol |
|
|
69
|
+
| margin-account-cancel-oco | `symbol` [`is-isolated` `order-list-id` `list-client-order-id` `new-client-order-id`] | Margin Account Cancel OCO |
|
|
70
|
+
| margin-account-cancel-order | `symbol` [`is-isolated` `order-id` `orig-client-order-id` `new-client-order-id`] | Margin Account Cancel Order |
|
|
71
|
+
| margin-account-new-oco | `symbol` `side` `quantity` `price` `stop-price` [`is-isolated` `list-client-order-id` `limit-client-order-id` `limit-iceberg-qty` `stop-client-order-id` `stop-limit-price` `stop-iceberg-qty` `stop-limit-time-in-force` `new-order-resp-type` `side-effect-type` `self-trade-prevention-mode` `auto-repay-at-cancel`] | Margin Account New OCO |
|
|
72
|
+
| margin-account-new-order | `symbol` `side` `type` [`is-isolated` `quantity` `quote-order-qty` `price` `stop-price` `new-client-order-id` `iceberg-qty` `new-order-resp-type` `side-effect-type` `time-in-force` `self-trade-prevention-mode` `auto-repay-at-cancel`] | Margin Account New Order |
|
|
73
|
+
| margin-account-new-oto | `symbol` `working-type` `working-side` `working-price` `working-quantity` `working-iceberg-qty` `pending-type` `pending-side` `pending-quantity` [`is-isolated` `list-client-order-id` `new-order-resp-type` `side-effect-type` `self-trade-prevention-mode` `auto-repay-at-cancel` `working-client-order-id` `working-time-in-force` `pending-client-order-id` `pending-price` `pending-stop-price` `pending-trailing-delta` `pending-iceberg-qty` `pending-time-in-force`] | Margin Account New OTO |
|
|
74
|
+
| margin-account-new-otoco | `symbol` `working-type` `working-side` `working-price` `working-quantity` `pending-side` `pending-quantity` `pending-above-type` [`is-isolated` `side-effect-type` `auto-repay-at-cancel` `list-client-order-id` `new-order-resp-type` `self-trade-prevention-mode` `working-client-order-id` `working-iceberg-qty` `working-time-in-force` `pending-above-client-order-id` `pending-above-price` `pending-above-stop-price` `pending-above-trailing-delta` `pending-above-iceberg-qty` `pending-above-time-in-force` `pending-below-type` `pending-below-client-order-id` `pending-below-price` `pending-below-stop-price` `pending-below-trailing-delta` `pending-below-iceberg-qty` `pending-below-time-in-force`] | Margin Account New OTOCO |
|
|
75
|
+
| margin-manual-liquidation | `type` [`symbol`] | Margin Manual Liquidation |
|
|
76
|
+
| query-current-margin-order-count-usage | [`is-isolated` `symbol`] | Query Current Margin Order Count Usage |
|
|
77
|
+
| query-margin-accounts-all-oco | [`is-isolated` `symbol` `from-id` `start-time` `end-time` `limit`] | Query Margin Account\'s all OCO |
|
|
78
|
+
| query-margin-accounts-all-orders | `symbol` [`is-isolated` `order-id` `start-time` `end-time` `limit`] | Query Margin Account\'s All Orders |
|
|
79
|
+
| query-margin-accounts-oco | [`is-isolated` `symbol` `order-list-id` `orig-client-order-id`] | Query Margin Account\'s OCO |
|
|
80
|
+
| query-margin-accounts-open-oco | [`is-isolated` `symbol`] | Query Margin Account\'s Open OCO |
|
|
81
|
+
| query-margin-accounts-open-orders | [`symbol` `is-isolated`] | Query Margin Account\'s Open Orders |
|
|
82
|
+
| query-margin-accounts-order | `symbol` [`is-isolated` `order-id` `orig-client-order-id`] | Query Margin Account\'s Order |
|
|
83
|
+
| query-margin-accounts-trade-list | `symbol` [`is-isolated` `order-id` `start-time` `end-time` `from-id` `limit`] | Query Margin Account\'s Trade List |
|
|
84
|
+
| query-prevented-matches | `symbol` [`prevented-match-id` `order-id` `from-prevented-match-id` `is-isolated`] | Query Prevented Matches |
|
|
85
|
+
| query-special-key | [`symbol`] | Query Special key(Low Latency Trading) |
|
|
86
|
+
| query-special-key-list | [`symbol`] | Query Special key List(Low Latency Trading) |
|
|
87
|
+
| small-liability-exchange | `asset-names` [] | Small Liability Exchange |
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## Transfer (auth required)
|
|
91
|
+
|
|
92
|
+
| Endpoint | Key params | Description |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| get-cross-margin-transfer-history | [`asset` `type` `start-time` `end-time` `current` `size` `isolated-symbol`] | Get Cross Margin Transfer History |
|
|
95
|
+
| query-max-transfer-out-amount | `asset` [`isolated-symbol`] | Query Max Transfer-Out Amount |
|
|
96
|
+
|
|
97
|
+
### Enums
|
|
98
|
+
|
|
99
|
+
**new-order-resp-type:** `ACK` `RESULT` `FULL`
|
|
100
|
+
**side:** `BUY` `SELL`
|
|
101
|
+
**time-in-force:** `GTC` `IOC` `FOK`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## Mining (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| account-list | `algo` `user-name` [] | Account List |
|
|
6
|
+
| acquiring-algorithm | [] | Acquiring Algorithm |
|
|
7
|
+
| acquiring-coinname | [] | Acquiring CoinName |
|
|
8
|
+
| cancel-hashrate-resale-configuration | `config-id` `user-name` [] | Cancel hashrate resale configuration |
|
|
9
|
+
| earnings-list | `algo` `user-name` [`coin` `start-date` `end-date` `page-index` `page-size`] | Earnings List |
|
|
10
|
+
| extra-bonus-list | `algo` `user-name` [`coin` `start-date` `end-date` `page-index` `page-size`] | Extra Bonus List |
|
|
11
|
+
| hashrate-resale-detail | `config-id` [`page-index` `page-size`] | Hashrate Resale Detail |
|
|
12
|
+
| hashrate-resale-list | [`page-index` `page-size`] | Hashrate Resale List |
|
|
13
|
+
| hashrate-resale-request | `user-name` `algo` `end-date` `start-date` `to-pool-user` `hash-rate` [] | Hashrate Resale Request |
|
|
14
|
+
| mining-account-earning | `algo` [`start-date` `end-date` `page-index` `page-size`] | Mining Account Earning |
|
|
15
|
+
| request-for-detail-miner-list | `algo` `user-name` `worker-name` [] | Request for Detail Miner List |
|
|
16
|
+
| request-for-miner-list | `algo` `user-name` [`page-index` `sort` `sort-column` `worker-status`] | Request for Miner List |
|
|
17
|
+
| statistic-list | `algo` `user-name` [] | Statistic List |
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
## Bfusd (auth required)
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| get-bfusd-account | [] | Get BFUSD Account |
|
|
6
|
+
| get-bfusd-quota-details | [] | Get BFUSD Quota Details |
|
|
7
|
+
| get-bfusd-rate-history | [`start-time` `end-time` `current` `size`] | Get BFUSD Rate History |
|
|
8
|
+
| get-bfusd-redemption-history | [`start-time` `end-time` `current` `size`] | Get BFUSD Redemption History |
|
|
9
|
+
| get-bfusd-rewards-history | [`start-time` `end-time` `current` `size`] | Get BFUSD Rewards History |
|
|
10
|
+
| get-bfusd-subscription-history | [`asset` `start-time` `end-time` `current` `size`] | Get BFUSD subscription history |
|
|
11
|
+
| redeem-bfusd | `amount` `type` [] | Redeem BFUSD |
|
|
12
|
+
| subscribe-bfusd | `asset` `amount` [] | Subscribe BFUSD |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Flexible Locked (auth required)
|
|
16
|
+
|
|
17
|
+
| Endpoint | Key params | Description |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| get-collateral-record | [`product-id` `start-time` `end-time` `current` `size`] | Get Collateral Record |
|
|
20
|
+
| get-flexible-personal-left-quota | `product-id` [] | Get Flexible Personal Left Quota |
|
|
21
|
+
| get-flexible-product-position | [`asset` `product-id` `current` `size`] | Get Flexible Product Position |
|
|
22
|
+
| get-flexible-redemption-record | [`product-id` `redeem-id` `asset` `start-time` `end-time` `current` `size`] | Get Flexible Redemption Record |
|
|
23
|
+
| get-flexible-rewards-history | `type` [`product-id` `asset` `start-time` `end-time` `current` `size`] | Get Flexible Rewards History |
|
|
24
|
+
| get-flexible-subscription-preview | `product-id` `amount` [] | Get Flexible Subscription Preview |
|
|
25
|
+
| get-flexible-subscription-record | [`product-id` `purchase-id` `asset` `start-time` `end-time` `current` `size`] | Get Flexible Subscription Record |
|
|
26
|
+
| get-locked-personal-left-quota | `project-id` [] | Get Locked Personal Left Quota |
|
|
27
|
+
| get-locked-product-position | [`asset` `position-id` `project-id` `current` `size`] | Get Locked Product Position |
|
|
28
|
+
| get-locked-redemption-record | [`position-id` `redeem-id` `asset` `start-time` `end-time` `current` `size`] | Get Locked Redemption Record |
|
|
29
|
+
| get-locked-rewards-history | [`position-id` `asset` `start-time` `end-time` `current` `size`] | Get Locked Rewards History |
|
|
30
|
+
| get-locked-subscription-preview | `project-id` `amount` [`auto-subscribe`] | Get Locked Subscription Preview |
|
|
31
|
+
| get-locked-subscription-record | [`purchase-id` `asset` `start-time` `end-time` `current` `size`] | Get Locked Subscription Record |
|
|
32
|
+
| get-rate-history | `product-id` [`apr-period` `start-time` `end-time` `current` `size`] | Get Rate History |
|
|
33
|
+
| get-simple-earn-flexible-product-list | [`asset` `current` `size`] | Get Simple Earn Flexible Product List |
|
|
34
|
+
| get-simple-earn-locked-product-list | [`asset` `current` `size`] | Get Simple Earn Locked Product List |
|
|
35
|
+
| redeem-flexible-product | `product-id` [`redeem-all` `amount` `dest-account`] | Redeem Flexible Product |
|
|
36
|
+
| redeem-locked-product | `position-id` [] | Redeem Locked Product |
|
|
37
|
+
| set-flexible-auto-subscribe | `product-id` `auto-subscribe` [] | Set Flexible Auto Subscribe |
|
|
38
|
+
| set-locked-auto-subscribe | `position-id` `auto-subscribe` [] | Set Locked Auto Subscribe |
|
|
39
|
+
| set-locked-product-redeem-option | `position-id` `redeem-to` [] | Set Locked Product Redeem Option |
|
|
40
|
+
| simple-account | [] | Simple Account |
|
|
41
|
+
| subscribe-flexible-product | `product-id` `amount` [`auto-subscribe` `source-account`] | Subscribe Flexible Product |
|
|
42
|
+
| subscribe-locked-product | `project-id` `amount` [`auto-subscribe` `source-account` `redeem-to`] | Subscribe Locked Product |
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## Rwusd (auth required)
|
|
46
|
+
|
|
47
|
+
| Endpoint | Key params | Description |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| get-rwusd-account | [] | Get RWUSD Account |
|
|
50
|
+
| get-rwusd-quota-details | [] | Get RWUSD Quota Details |
|
|
51
|
+
| get-rwusd-rate-history | [`start-time` `end-time` `current` `size`] | Get RWUSD Rate History |
|
|
52
|
+
| get-rwusd-redemption-history | [`start-time` `end-time` `current` `size`] | Get RWUSD Redemption History |
|
|
53
|
+
| get-rwusd-rewards-history | [`start-time` `end-time` `current` `size`] | Get RWUSD Rewards History |
|
|
54
|
+
| get-rwusd-subscription-history | [`asset` `start-time` `end-time` `current` `size`] | Get RWUSD subscription history |
|
|
55
|
+
| redeem-rwusd | `amount` `type` [] | Redeem RWUSD |
|
|
56
|
+
| subscribe-rwusd | `asset` `amount` [] | Subscribe RWUSD |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## Web Socket Streams
|
|
2
|
+
|
|
3
|
+
| Endpoint | Key params | Description |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| agg-trade | `symbol` [] | WebSocket Aggregate Trade Streams |
|
|
6
|
+
| all-market-rolling-window-ticker | `window-size` [] | WebSocket All Market Rolling Window Statistics Streams |
|
|
7
|
+
| all-mini-ticker | [] | WebSocket All Market Mini Tickers Stream |
|
|
8
|
+
| avg-price | `symbol` [] | WebSocket Average Price |
|
|
9
|
+
| block-trade | `symbol` [] | WebSocket Block Trade Streams |
|
|
10
|
+
| book-ticker | `symbol` [] | WebSocket Individual Symbol Book Ticker Streams |
|
|
11
|
+
| diff-book-depth | `symbol` [`update-speed`] | WebSocket Diff. Depth Stream |
|
|
12
|
+
| kline | `symbol` `interval` [] | WebSocket Kline/Candlestick Streams for UTC |
|
|
13
|
+
| kline-offset | `symbol` `interval` [] | WebSocket Kline/Candlestick Streams with timezone offset |
|
|
14
|
+
| mini-ticker | `symbol` [] | WebSocket Individual Symbol Mini Ticker Stream |
|
|
15
|
+
| partial-book-depth | `symbol` `levels` [`update-speed`] | WebSocket Partial Book Depth Streams |
|
|
16
|
+
| reference-price | `symbol` [] | WebSocket Reference Price Streams |
|
|
17
|
+
| rolling-window-ticker | `symbol` `window-size` [] | WebSocket Individual Symbol Rolling Window Statistics Streams |
|
|
18
|
+
| ticker | `symbol` [] | WebSocket Individual Symbol Ticker Streams |
|
|
19
|
+
| trade | `symbol` [] | WebSocket Trade Streams |
|
|
20
|
+
|
|
21
|
+
### Enums
|
|
22
|
+
|
|
23
|
+
**interval:** `1s` `1m` `3m` `5m` `15m` `30m` `1h` `2h` `4h` `6h` `8h` `12h` `1d` `3d` `1w` `1M`
|
|
24
|
+
**levels:** `5` `10` `20`
|
|
25
|
+
**window-size:** `1h` `4h` `1d`
|