Working on writing T_TRADE to database.
The actual writing wasn't done yet, just a print of the statements.
Still gives an error on pool_trading_at_start for some reason.