// generate the trades for this member
if system.__class__ == str:
try:
tlist = globals()[system_name](symbol, gspace, quantity,
*system_params)
except:
logger.info("Could not execute system for %s", symbol)
After Change
tlist = trade_system(model, system, gspace, intraday, symbol, quantity)
if tlist:
// add trades to global trade list
for item in tlist:
gtlist.append(item)
else:
logger.info("No trades for symbol %s", symbol)
// Create group trades frame