Develop a software to automatically pick up trends which can be customized according to user specifications based on on live data of the major stock market as well as historical data.
User should be able to
1. select a period, e.g: past 1 year to pick up trends
2. scan the different major stock markets to pick up trends and it has to be in real time
3. should be able to set change in percentage of value in stock in the period selected
4. set number of trends repeated during that period of time