Deliver live data for your portfolio in your terminal
Project description
stock-watcher
Deliver live data for your portfolio in your terminal
Build
Install using pip:
pip install stock_watcher
Usage
The interface is overall very simple:
usage: stock-watcher [-h] [-f FROM] config_csv
Deliver live data for your portfolio in your terminal
positional arguments:
config_csv config csv with your portfolio
options:
-h, --help show this help message and exit
-f, --from FROM currency to display USD exchange rate for (default: CAD)
Here's an example configuration csv:
| Ticker | Buy Price | Num Stocks |
|---|---|---|
| SCHH | 19.98 | 59 |
| VTC | 75.77 | 18 |
| SPTM | 64.02 | 50 |
| SPDW | 35.68 | 75 |
| VWO | 41.94 | 55 |
| MMKT | 100.03 | 7 |
| 6758.T | 2618.00 | 51 |
In text it might look like this:
Ticker,Buy Price,Num Stocks
SCHH,19.98,59
VTC,75.77,18
SPTM,64.02,50
SPDW,35.68,75
VWO,41.94,55
MMKT,100.03,7
6758.T,2618.00,51
The seperator will be automatically detected by pandas, so you can use pretty much whatever you want. The ticker in the first column must be availible on yahoo finance. Any securities that use a currency other than USD should have their buy price entered in the local currency.
Features
[Put a screenshot here] The program gives 4 data points for each ticker, The % and absolute daily and total change. The daily changes are calculated from the last price point before today. It also shows whether US markets are currently open or closed. Fianlly, a currency exchange rate is displayed at the bottom. Absolute data for foreign securities is always converted to USD when displayed (though calculations are done in local currency). However percent changes are done in local currencies.
q is used to exit the program.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stock_watch-0.1.tar.gz.
File metadata
- Download URL: stock_watch-0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba0b4cf05f36b435b444dbf996322204605e713ce3ac89a54b8d49367aa77f8
|
|
| MD5 |
53605038b6d044bf3753ee262d02abfd
|
|
| BLAKE2b-256 |
7d4dc644aee01db398840850fc576fae36cb326e8d36970018bb192ff67a47f2
|
File details
Details for the file stock_watch-0.1-py3-none-any.whl.
File metadata
- Download URL: stock_watch-0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3aaf480fb8bf2382f90fb9fba8a8b339273529336f3bcd4ae5f9b3e5c3afb30
|
|
| MD5 |
7225887824286f566c483a8e0c8e16a3
|
|
| BLAKE2b-256 |
3106bf050d1ede5410dc3c433fec320e8fd86e84fdaef8a4cb99d1ee5a4710ea
|