Merge pull request #59 from COSI236TA/wenbinx

Wenbinx
Merge pull request #60 from COSI236TA/wenbin

change the update interval to 300 seconds
formatted the createchart.js
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
move get_porfolio.htm.erb to views of portfolio and move the corresponding action to portfolios' controller
similar to changes to get_portfolio
---
1. Change the route
2. Move get_rule.html.erb to the rule's view folder
3. Move the action to rule's controlller