moved the performance tracker instance into algorithm.
fixed a key error bug in blotter.