An algorithmic trading application being written in C++ for small portfolios. Is being built to work with the Tradier brokerage API.
Relies on the libcurl C networking library. Install the library and compile with the -lcurl linker flag. Refer to: https://github.com/curl/curl.
Also makes use of the Boost C++ library. Refer to https://www.boost.org/ for download instructions.
The application can be compiled by running the myAlgo/build.bash script.
To contribute towards an issue, first clone the repository (git clone https://github.com/joshuakarbi/algorithmic_trader.git), and then follow these steps:
- Assign the issue to yourself.
- Make a branch off of master following the format trader-ISSUE_NUMBER (ie. trader-2).
- Do a git fetch and git pull on your local copy (git fetch && git pull).
- Checkout your new branch (git checkout BRANCH_NAME)
- Write and test your new code.
- Commit your code to git (git commit -a OR git add CHANGED_FILE && git commit).
- Push your code to your remote branch (git push BRANCH_NAME).
- Create a pull request to merge BRANCH_NAME into master.
Note that some development environments can do all of this for you through their GUI.