Skip to content

Instantly share code, notes, and snippets.

@jonpsy
Created May 24, 2021 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonpsy/46b8ad50b8120172830b734e87dddde6 to your computer and use it in GitHub Desktop.
Save jonpsy/46b8ad50b8120172830b734e87dddde6 to your computer and use it in GitHub Desktop.
#include "../utils/portfolio.hpp"
#include <iostream>
using namespace std;
int main()
{
std::string stocks = "GOOGL,TSLA,FB";
std::string startDate = "12/01/2017";
std::string endDate = "13/02/2021";
std::string source = "yahoo";
Portfolio(stocks, source, startDate, endDate, "portfolio.csv");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment