Skip to content

Casset (C++ Asset management) allows the tracking, comparison, and analysis of a portfolio of stocks. This is a mini project designed to practice project management and using various technologies, such as CMake, Conan, catch2 (unit testing), CI, and more.

License

Notifications You must be signed in to change notification settings

TTitcombe/Casset

Repository files navigation

Build Status Total alerts

Casset

Casset (C++ Asset management) allows for tracking, comparison, and analysis of portfolios of stocks and bonds. Casset currently fetches stock data using IEX api.

Getting Started

Prerequisites

Install CMAKE Install Conan Once you have installed Conan, you need to add the following remotes using conan remote add x y where x is the local name for the remote and y is path to the remote:

NOTE: Due to an issue in the current conan/cmake setup, Windows builds MUST be in Release for the time being.

Building

Clone this repository and build in cmake.

How to use

Once you have Casset, build Casset.sln. You can run the compiled Casset with the command following command line arguments:

  • -s or --symbol. A stock ticker symbol for which data will be retrieved. Default is "AAPL".
  • -l or --loglevel. A string describing the logging level. Default is "info".

Running Casset with a valid ticker symbol (e.g. AAPL) will print out the most recent data associated with that company, including open, high, close prices, and the date to which the data pertains.

Note: The ticker symbols must be in upper case.

Running the tests

Deployment

Built With

  • CMAKE - Cross platform makefile generation
  • Conan - Package manager for C++

Contributing

Refer to the contribution docs

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the BSD 2-Clause License - see the LICENSE.md file for details

Acknowledgments

  • Thank you to Matthew Jones for mentoring throughout this project

About

Casset (C++ Asset management) allows the tracking, comparison, and analysis of a portfolio of stocks. This is a mini project designed to practice project management and using various technologies, such as CMake, Conan, catch2 (unit testing), CI, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published