SuperAPI AI 工具集

bingx-sentiment-dashboard

通用与其它

查看项目

更新于 10-15 20:06

技能介绍

用途:用于回答市场情绪、恐惧与贪婪指数、资金费率热力图、OI 异常、AHR999、定投区间或整体市场氛围等问题。

主要能力:包含四个维度——恐惧与贪婪指数(数据源 https://api.alternative.me/fng/?limit={limit},默认 limit=10)、资金费率概览(BingX /openApi/swap/v2/quote/premiumIndex)、未平仓量异常检测(/openApi/swap/v2/quote/openInterest 配合行情价格变化)、AHR999(由 BTC 日线 klines 本地计算,接口 /openApi/swap/v3/quote/klines?symbol=BTC-USDT&interval=1d&limit=200)。技能为只读,不下单、不撤单、不修改订单。

使用方式:无需认证与 HMAC SHA256 签名;调用 BingX 接口需带请求头 X-SOURCE-KEY: BX-AI-SKILL,alternative.me 无需自定义请求头。基础地址为 https://open-api.bingx.com 与 https://api.alternative.me。触发模式包括 full(完整看板)、fear_greed、funding、oi、ahr999,默认 full。执行步骤:解析意图;采集数据;执行 python3 scripts/fear_greed.py --limit 10;执行 python3 scripts/ahr999.py --btc-kline '{btc_daily_kline_json}';执行 python3 scripts/sentiment.py --mode {mode} --fear-greed '{fear_greed_json_or_empty}' --funding '{funding_json}' --oi '{oi_json}' --tickers '{tickers_json}' --ahr999-result '{ahr999_result_json}';执行 python3 scripts/heatmap.py --funding '{funding_json}' --output ~/.bingx-skills/sentiment/funding_heatmap.png;执行 python3 scripts/oi_alert.py --oi '{oi_json}' --tickers '{tickers_json}';最后按模板分维度报告并给出综合评分。若绘图失败,改为文本输出资金费率前列。

适用场景:加密市场情绪快速汇总、资金费率高低对比、持仓异常提示、BTC 定投时机参考。

限制:若某维度数据不可用,仍输出其余维度并按可用维度重新加权综合评分;具体符号覆盖范围、数据精度与更新频率资料未提供。