No reviews yetBe the first to leave a review for drawdown-lens
Maker
📌
Hi Product Hunt,
I kept seeing "+300% in a year" crypto headlines that hide the part that actually breaks people: the drawdown you have to survive to get there. So I built drawdown-lens, a tiny, zero-dependency Python CLI that pulls public Binance data (no API key, no account) and shows the worst peak-to-trough drop of any coin, with the exact peak/trough dates and how long it stayed underwater.
Example: BTC has spent 355 of the last 365 days below a prior peak ,the longest stretch is 275 days and still running, with a ~53% max drawdown. Run it with --all and you see 2018's -83%.
It's ~200 lines of stdlib Python, MIT-licensed. Full disclosure: I build a non-custodial crypto trading tool (Vetima) focused on drawdown protection, and this reflects how we think about risk, but drawdown-lens is free, standalone, and has no strings. Feedback welcome, especially on the underwater-period logic.
Report
how does it actually calculate the drawdown, just historical price peaks and troughs or does it factor in on-chain data and liquidity too?
Report
Zero dependencies made it a breeze to drop into my existing scripts, and the drawdown breakdown actually helped me spot a risk I had been overlooking on a few of my holdings.
how does it actually calculate the drawdown, just historical price peaks and troughs or does it factor in on-chain data and liquidity too?
Zero dependencies made it a breeze to drop into my existing scripts, and the drawdown breakdown actually helped me spot a risk I had been overlooking on a few of my holdings.