26 个版本

0.14.10 2024年6月17日
0.14.9 2023年7月25日
0.14.8 2023年2月22日
0.14.6 2022年8月17日
0.1.0 2020年5月12日

#68 in 财经

每月46 次下载
tickrs 中使用

MIT 许可证

20KB
587

tick-rs

Actions Status

在您的终端中显示实时股票行情数据 📈 使用 Rust 构建。数据来源于 Yahoo! Finance。

安装

二进制文件

下载您平台的最新 版本

Cargo

cargo install tickrs

Arch Linux

pacman -S tickrs

Homebrew

brew tap tarkah/tickrs
brew install tickrs

配置文件

请参阅 wiki条目

CLI 使用

tickrs
Realtime ticker data in your terminal 📈

USAGE:
    tickrs [FLAGS] [OPTIONS]

FLAGS:
    -p, --enable-pre-post    Enable pre / post market hours for graphs
    -h, --help               Prints help information
        --hide-help          Hide help icon in top right
        --hide-prev-close    Hide previous close line on 1D chart
        --hide-toggle        Hide toggle block
        --show-volumes       Show volumes graph
    -x, --show-x-labels      Show x-axis labels
        --summary            Start in summary mode
        --trunc-pre          Truncate pre market graphing to only 30 minutes prior to markets opening
    -V, --version            Prints version information

OPTIONS:
    -c, --chart-type <chart-type>              Chart type to start app with [default: line] [possible values: line,
                                               candle, kagi]
    -s, --symbols <symbols>...                 Comma separated list of ticker symbols to start app with
    -t, --time-frame <time-frame>              Use specified time frame when starting program and when new stocks are
                                               added [default: 1D] [possible values: 1D, 1W, 1M, 3M, 6M, 1Y, 5Y]
    -i, --update-interval <update-interval>    Interval to update data from API (seconds) [default: 1]

Windows

请使用 Windows Terminal 正确显示此应用程序。

致谢

依赖项

~12–24MB
~363K SLoC