warren

Crates.iowarren
lib.rswarren
version0.1.1
created_at2025-03-21 17:28:58.507131+00
updated_at2025-04-08 09:47:45.61391+00
descriptionA tool for value investors.
homepagehttps://github.com/bitfield/warren
repositoryhttps://github.com/bitfield/warren
max_upload_size
id1600900
size106,971
John Arundel (bitfield)

documentation

https://docs.rs/warren

README

Crate Docs CI Audit Maintenance

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”).

Commit count: 9

cargo fmt