My stuff has been built out to minimize tcost in order to maximize size traded/pnl, basically a function of volume passed/time/and characteristics of the stock traded to set limit price, where to place the order (which exchange and order type), and where and when to take liquidity (try to source...