Update main.cpp

bool transaction portfolio