code clean up;
use close price.