adding broker test and trading log class