🦀 ClawHub
Bitfinex Lending Monitor
by @reed1898
Monitor Bitfinex lending (funding) performance via API. Use when the user asks to check Bitfinex funding收益/借贷利息, automate daily收益统计, or avoid opening the Bit...
TERMINAL
clawhub install bitfinex-lending-monitor📖 About This Skill
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
v2/auth/r/walletsv2/auth/r/funding/credits/{Symbol}v2/auth/r/ledgers/{Currency}/hist filtered by wallet=fundingRun
1. Export API credentials:
export BITFINEX_API_KEY="your_api_key"
export BITFINEX_API_SECRET="your_api_secret"
2. Run summary:
python3 skills/bitfinex-lending-monitor/scripts/check_lending.py --currency USD --days 7
3. Optional JSON output:
python3 skills/bitfinex-lending-monitor/scripts/check_lending.py --currency USD --days 7 --json
Notes
--currency is passed, script defaults to USD and symbol fUSD.📋 Tips & Best Practices
--currency is passed, script defaults to USD and symbol fUSD.