When is the Right Time to Buy or Sell