Temp Skills
Integrates OKX API for spot and contract trading, asset management, risk control, and real-time market data with automated risk checks and logging.
OKX API 集成技能
API配置
- 账户名: 太玄资本BOT
- UID: 406344003542497297
- API Key: 418d477d-7247-4df9-9270-66055550c1cc
- 权限: 读取 + 交易(无提现)
- 代理: http://127.0.0.1:7890
功能模块
- 现货交易: BTC/ETH/SOL等主流币种买卖
- 合约交易: 永续合约、交割合约
- 资金管理: 资产查询、资金划转
- 风控监控: 止损止盈、仓位控制
- 市场数据: 实时行情、资金费率、深度数据
使用方法
- 初始化API连接:
okx_init() - 查询资产:
okx_get_balance() - 下单交易:
okx_place_order(symbol, side, price, size) - 风控检查:
okx_risk_check()
安全限制
- 单策略最大回撤:20%
- 无手动取消止损线
- 所有交易必须记录日志
- 异常情况立即暂停并通知Steve
Related skills
- Downloads
- 765All time
- Security audit
- Review
- Last updated
- 6mo ago
- Current version
- v1.0.0
- License
- MIT-0
