🧪 Skills
Bitfinex Lending Monitor
Monitor Bitfinex lending (funding) performance via API. Use when the user asks to check Bitfinex funding收益/借贷利息, automate daily收益统计, or avoid opening the Bit...
v0.1.0
Description
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}/histfiltered bywallet=funding
Run
- Export API credentials:
export BITFINEX_API_KEY="your_api_key"
export BITFINEX_API_SECRET="your_api_secret"
- Run summary:
python3 skills/bitfinex-lending-monitor/scripts/check_lending.py --currency USD --days 7
- 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
--currencyis passed, script defaults toUSDand symbolfUSD.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!