| Crates.io | warren |
| lib.rs | warren |
| version | 0.1.1 |
| created_at | 2025-03-21 17:28:58.507131+00 |
| updated_at | 2025-04-08 09:47:45.61391+00 |
| description | A tool for value investors. |
| homepage | https://github.com/bitfield/warren |
| repository | https://github.com/bitfield/warren |
| max_upload_size | |
| id | 1600900 |
| size | 106,971 |
A tool for value investors to analyse stock prices and determine if a given stock is currently “cheap”—that is, if its current price is below the median of its 90-day price history.

(Photo by Fortune Live Media, licensed under Creative Commons)
cargo install warren
Run the warren command with a stock ticker symbol (as understood by the Yahoo! Finance API):
warren AAPL
AAPL: Current 215.05 Low 208.42 High 260.10 Position 12.83% - Buy
This output shows that AAPL's most recent closing price was 215.05, its 90-day low was 208.42, and its 90-day high was 260.10. This puts the current price at 12.83% of its historic range, and it is thus considered a “Buy” (if it were above 50%, it would instead be “Don't buy”).