Write previous portfolio investments to a csv file

write_previous_investments(user_path, db_path)

Arguments

user_path

A single character string containing the directory of the user.

db_path

A single character string containing the directory of the database.