feature: add CoinGecko cryptocurrency price extractor #46
Reference in New Issue
Block a user
Delete Branch "feature/coingecko-extractor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
sites/coingeckopackage withGetPrice()method for extracting structured crypto price dataCoinPricestruct: name, symbol, price, 24h/7d change percentages, market cap, volume, 24h high/lowparseLargeNumber()helper handles T/B/M suffix notation (e.g. "$1.92T", "$28.5B")h1) and price (data-price-target)Closes #27
Parent: #31 (PR 14 of 18)
Test plan
go build ./...passesgo test ./...passes (including new mock-based tests)go vet ./...passes