Yahoo Finance CLI written in rust

Overview

yahoo-finance-rust-cli

Build

asciicast

Displays your configurable stock portfolio using Yahoo Finance data. It uses the WebSocket of the website to get real time (but delayed) data updates. The Yahoo Finance websocket uses an undocumented ProtoBuf format to encode the data - see proto/yahoo.proto for details.

Usage

  • Configure your portfolio and settings in the Config struct
  • run with cargo run

Advanced features

  • Sync to InfluxDB: Use the docker-compose.yaml file to startup the DB and configure it in Config

License

MIT

You might also like...
A CLI-based pride flag generator written in Rust
A CLI-based pride flag generator written in Rust

🌈 prideful (in development) A CLI-based pride flag generator written in Rust. How to run Build the project using cargo. Install cargo by following th

SvelteUI Official CLI written in Rust

SvelteUI Official CLI The cli will be written in Rust 🦀 . This CLI as of now (04/30/22) will be used for scaffolding new projects, and creating boile

A CLI calculator written in Rust that isn't blazingly fast.

Calcamabob A command line calculator Is written in Rust Is not blazing fast, and could be faster. Calcamabob can interpret operator precedence. For ex

'apk-yara-checker' is a little CLI tool written in Rust to check Yara rules against a folder of APK files.
'apk-yara-checker' is a little CLI tool written in Rust to check Yara rules against a folder of APK files.

apk-yara-checker 'apk-yara-checker' is a little CLI tool written in Rust to check Yara rules against a folder of APK files. You have to pass the folde

A tool for chatting using the ChatGPT API, written in Rust CLI.
A tool for chatting using the ChatGPT API, written in Rust CLI.

ChatGPT CLI A tool for chatting using the ChatGPT API, written in Rust CLI. You can use this tool to chat, just by setting your API Key. You can modif

GREP like cli tool written in rust.

Show [ grep,tail,cat ] like cli tool written in rust. Only one release as of now which does very basic function,code has been refactored where other f

Simple OpenAI CLI wrapper written in Rust, feat. configurable prompts and models

Quick Start git clone https://github.com/ryantinder/ask-rs cd ask cargo install --path . Example ask tell me about the Lockheed Martin SR71 The Loc

API bindings, CLI client and FUSE filesystem for Wiki.js written in Rust.

wikijs-rs API bindings, CLI client and FUSE filesystem for Wiki.js written in Rust. What's inside? Library: Rust bindings to Wiki.js's entire GraphQL

A simple CLI tool to create python project file structure, written in Rust
A simple CLI tool to create python project file structure, written in Rust

Ezpie Create python projects blazingly fast What Ezpie can do? It can create a python project directory What kind of directory can Ezpie create? For c

Comments
  • Feature: Move the configuration to a JSON file

    Feature: Move the configuration to a JSON file

    • Move the configuration to a JSON file which can be passed via a CLI flag (maybe use clap crate)
    • Parse the json file into Config using the serde crate
    enhancement help wanted good first issue 
    opened by lukstei 2
  • add a cli flag to pass JSON

    add a cli flag to pass JSON

    => Used Clap crate to add a Cli flag file to pass a JSON file. Code panics with an error message in case the file can not be opened => Used serde to deserialize JSON into a Config object.

    opened by CeNiEi 1
  • Graph about past value of portfolio

    Graph about past value of portfolio

    Maybe it would be interesting to show how the current value of portfolio compares with past values, e.g. one year ago. This would require to download past values of the stocks that constitute the current portfolio. Could be sufficient to download weekly results (or make it configurable to daily, weekly, ... results). Also, such a feature would make most sense, if the program is not run in server mode (loop mode).

    opened by akmaekki 1
  • Return and Total Return information

    Return and Total Return information

    I did a quick hack here to display returns on each investment, I think this can be very useful and even better if we can put some kind of alerting on ranges.

    So, I'll let here a feature request for the returns on investment, here a screenshot with a sample testing:

    image

    To have this, you need the average buy unity value in the config.

    opened by fungos 1
Owner
Lukas Steinbrecher
Developer @senacor
Lukas Steinbrecher
A minimal CLI framework written in Rust

seahorse A minimal CLI framework written in Rust Features Easy to use No dependencies Typed flags(Bool, String, Int, Float) Documentation Here Usage T

Keisuke Toyota 223 Dec 30, 2022
A simple CLI pomodoro timer written in Rust.

Pomodoro A simple CLI pomodoro timer written in Rust. Based on the Pomodoro Technique. Works on any platform that supports desktop notifications. Exam

null 6 Nov 26, 2021
An feature packed Google Tasks CLI written purely in Rust

rChore A feature packed unofficial Google Tasks CLI to boost your producitvity, written purely in Rust. ?? What is rChore? rChore is an unofficial Goo

Hemanth Krishna 41 Dec 24, 2022
A lightweight and super fast cli todo program written in rust under 200 sloc

todo A lightweight and super fast cli todo program written in rust under 200 sloc installation AUR package: todo-bin use cargo build --release to comp

sioodmy 243 Dec 24, 2022
Baby's first Rust CLI project. Basic implementation of grep. Written in about 100 SLOC.

minigrep Coding project from Chapter 12 of the The Rust Programming Language book. Usage Compile and run as so minigrep QUERY FILENAME QUERY being the

Anis 2 Oct 2, 2021
Simple cli clipboard manager written in rust

Simple cli clipboard manager written in rust

null 5 Nov 13, 2022
A CLI salah time written in Rust

Bilal bilal is a CLI salah time. Features Show all salah time in current day Show current salah time and its remaining time Show next salah time Usage

azzamsa 12 Dec 27, 2022
Cli tool for git productivity written in Rust and packaged for consumption via NPM

crust ?? cli tool for git productivity written in Rust and packaged for consumption via NPM This repo is identical with @skyneticist/golee in terms of

null 2 Jul 30, 2022
Update informer for CLI applications written in Rust 🦀

Update-informer Update informer for CLI applications written in Rust ?? Usage Add to Cargo.toml: [dependencies] update-notifier = "0.1.0" To check the

Grachev Mikhail 166 Dec 18, 2022
zigfi is an open-source stocks, commodities and cryptocurrencies price monitoring CLI app, written fully in Rust, where you can organize assets you're watching easily into watchlists for easy access on your terminal.

zigfi zigfi is an open-source stocks, commodities and cryptocurrencies price monitoring CLI app, written fully in Rust, where you can organize assets

Aldrin Zigmund Cortez Velasco 18 Oct 24, 2022