changed .h files into .hpp files
add trade generation in the portfolio class