portfolio

Simple command line tool for tracking your assets

portfolio

Simple command line tool for tracking your assets.

Installation

git clone https://github.com/crystal-money/portfolio
cd portfolio

shards install
shards build -Dpreview_mt --release

Usage

Example configuration file

rate_provider:
  name: UniRate
  options:
    api_key: your-api-key

currency_rates_ttl: 15 minutes
currency: EUR

assets:
  -
    amount: 10_000
    currency: USD
    description: Cash
  -
    amount: 13.37
    currency: BTC
    description: Bitcoin in Wallet

[!NOTE] Available rate providers can be found at https://github.com/crystal-money/money/tree/master/src/money/currency/rate_provider.

Running

  1. Create a portfolio.yml file with your configuration
  2. Run ./bin/portfolio --config /path/to/portfolio.yml

Contributing

  1. Fork it (https://github.com/crystal-money/portfolio/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

portfolio

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 3
  • 9 days ago
  • June 25, 2025
License

MIT License

Links
Synced at

Thu, 03 Jul 2025 20:56:12 GMT

Languages