portfolio
Version, currently master branch1 version
- master branchlatestJun 19, 2026
github.com/crystal-money/portfolio
💹 Simple command line tool for tracking your assets
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
portfolio:
github: crystal-money/portfolio
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
~> 1.18- License
- MIT
- Author
- Sijawusz Pur Rahnama
- Target
portfoliofrom src/cli.cr
Dependencies
Runtime Dependencies
Development Dependencies
- ameba*github: crystal-ameba/ameba, branch: masterdev
README
Portfolio

Simple command line tool for tracking your assets (metals, fiat and crypto).
Installation
git clone https://github.com/crystal-money/portfolio.git
cd portfolio
shards install
shards build --release
Usage
Example configuration file
[!NOTE] Available rate providers can be found at https://github.com/crystal-money/money/tree/master/src/money/currency/rate_provider.
currency: EUR
exchange:
rate_store:
name: File
options:
path: ~/.cache/portfolio/currency-rates.json
ttl: 15 minutes
rate_provider:
name: Compound
options:
providers:
- name: FloatRates
- name: UniRateAPI
options:
api_key: your-api-key
# name: Retirement fund
assets:
- amount: 10_000.11
currency: USD
description: Cash under the mattress
- amount: 13.37
currency: BTC
description: Bitcoin in the wallet
- amount: 4107
currency: ETH
description: Ethereum investment
Running
- Create a
portfolio.ymlfile with your configuration - Run
./bin/portfolio --config /path/to/portfolio.yml
Contributing
- Fork it (https://github.com/crystal-money/portfolio/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Sijawusz Pur Rahnama - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 19, 2026
- Crystal
~> 1.18- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/crystal-money/portfolio
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1