1 unstable release
Uses new Rust 2024
new 0.1.0 | Mar 21, 2025 |
---|
#1566 in Command line utilities
57KB
147 lines
warren
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)
Installation
cargo install warren
Usage
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”).
Dependencies
~8–20MB
~263K SLoC