A command line application to value stocks and cryptocurrencies in your personal portfolio.
- Valuate stocks and cryptocurrencies based on current market prices
- Store portfolio data in a JSON file for easy access and manipulation
- Store portfolio data in leveldb for persistence
- Calculate total portfolio value based on current prices
- Display detailed information for individual assets
- Install Go version 1.16 or higher.
- Clone the repository to your local machine.
- Install the required dependencies by running go get.
- Run
go build
to build the application. - Run the executable file to launch the application.
- Add assets to your portfolio using the add command.
- View all assets in your portfolio using the view command.
- View detailed information for a specific asset using the info command.
- Remove assets from your portfolio using the remove command.
- Calculate the total value of your portfolio using the total command.
portfolio-manager/
├── cmd/
│ └── portfolio/
│ ├── main.go
├── internal/
│ └── portfolio/
│ ├── portfolio.go
│ ├── asset.go
│ ├── add.go
│ ├── asset.go
│ ├── info.go
│ ├── remove.go
│ ├── total.go
│ ├── view.go
│ └── json.go│
│ └── config/
│ ├── config.go
│ └── dal/
│ ├── levledb.go
├── .gitignore
├── go.mod
└── README.md
Contributions are always welcome! If you have any suggestions or find a bug, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the license file for details.