360 Secure SkillHub
360 安全技能中心

Bitfinex Lending Monitor

该 Skill 依托本地 Python 脚本调用 Bitfinex 只读接口,读取资金钱包余额、活跃借贷与账本流水,按币种和天数汇总借贷收益,支持文本与 JSON 两种输出;凭证通过环境变量提供,运行时需要网络访问。

分类:数据
reed1898
reed1898
热度 40.77
最近更新 2026-05-11 17:29:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add reed1898/bitfinex-lending-monitor
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
bitfinex-lending-monitor
description
Monitor Bitfinex lending (funding) performance via API. Use when the user asks to check Bitfinex funding收益/借贷利息, automate daily收益统计, or avoid opening the Bitfinex app for lending status.

Bitfinex Lending Monitor

Use this skill to fetch and summarize Bitfinex funding收益 from API.

What to collect

  • Funding wallet balances from v2/auth/r/wallets
  • Active funding credits from v2/auth/r/funding/credits/{Symbol}
  • Ledger entries from v2/auth/r/ledgers/{Currency}/hist filtered by wallet=funding

Run

  1. Export API credentials:
export BITFINEX_API_KEY="your_api_key"
export BITFINEX_API_SECRET="your_api_secret"
  1. Run summary:
python3 skills/bitfinex-lending-monitor/scripts/check_lending.py --currency USD --days 7
  1. Optional JSON output:
python3 skills/bitfinex-lending-monitor/scripts/check_lending.py --currency USD --days 7 --json

Notes

  • Prefer read-only API permissions for safety.
  • Timestamps are milliseconds since epoch.
  • If no --currency is passed, script defaults to USD and symbol fUSD.