Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:18:41 +08:00
commit 0c98de8972
7 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "okxapi-plugin",
"description": "OKX Exchange trading integration with comprehensive position monitoring, account management, and trading bot tracking via MCP",
"version": "1.0.0",
"author": {
"name": "OKX Trading Plugin Contributors"
},
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# okxapi-plugin
OKX Exchange trading integration with comprehensive position monitoring, account management, and trading bot tracking via MCP

1
commands/okx-balance.md Normal file
View File

@@ -0,0 +1 @@
Display my OKX account balance including total equity, available balance, and balances broken down by currency (USDT, BTC, ETH, etc.). Show both trading account and funding account balances.

1
commands/okx-bots.md Normal file
View File

@@ -0,0 +1 @@
Show all my active trading bots on OKX including DCA (Dollar Cost Averaging) bots, grid trading bots, and recurring buy/sell strategies. Display investment amounts, current P&L, and performance metrics for each bot.

View File

@@ -0,0 +1 @@
Show my current open positions on OKX across all instruments (margin, swap, futures). Include position size, entry price, current P&L, and market value for each position.

1
commands/okx-risk.md Normal file
View File

@@ -0,0 +1 @@
Get my OKX account risk metrics including total equity, margin requirements (initial and maintenance), margin ratio, and position risk breakdown by currency and instrument.

57
plugin.lock.json Normal file
View File

@@ -0,0 +1,57 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:destinydesigner/okxapi-claude-plugin:okxapi-plugin",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "83c12a4a9506b5d2f0d55fcb2d7237c430695652",
"treeHash": "a7c1fd45a74c5de2fd5843b85b010ba22d5f47e9798703645d13f7d19790b849",
"generatedAt": "2025-11-28T10:16:18.333303Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "okxapi-plugin",
"description": "OKX Exchange trading integration with comprehensive position monitoring, account management, and trading bot tracking via MCP",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "a6f42793d5e1f577adf198a53b5bf60379a1afd047a724f1bebbb4cd3b1f6e75"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "6a9d57d1009ffebabc5635d4efe8b69c93ef58198f142ab5531760937615a43e"
},
{
"path": "commands/okx-risk.md",
"sha256": "bf0343e74afe3a65a8d809242e87629ad4eec56c6b17dd570a55818c6c150b8d"
},
{
"path": "commands/okx-balance.md",
"sha256": "b18ef29a3d39056f83216bef90c808ec2ab113eda62bfe547d4427cd95477b90"
},
{
"path": "commands/okx-positions.md",
"sha256": "3ec6d6b845d9a67b2406b0aa4438df2a3a2da6c14492a4ed07f2eca549fc5e28"
},
{
"path": "commands/okx-bots.md",
"sha256": "367b8138d858e8e6667c2cb0983a6adcdb3a0e7c5ec0ec4c4f77732a16163f24"
}
],
"dirSha256": "a7c1fd45a74c5de2fd5843b85b010ba22d5f47e9798703645d13f7d19790b849"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}