Initial wtrader. barely modified version of SFtrader