* fixed orders to close at end of day 30 seconds prior to close
* added 'profit' and 'cum_prof' to log_trades dataframe
* only calculate log_trades dataframe in next to last state