bug fix

1.GetIndexByDate can get nearest index by a flag
2. Rise must larger than 2%
3. statistic can assign begin date and end date
4. adjust parameter of show command, put code to the last for
convenience