copied daytrader from Adam