Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sowmyagowri committed May 18, 2019
1 parent 0881c43 commit ffeeabf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions StockPortfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@app.route("/")

def home():
return render_template("stock_portfolio_homepage.html", **locals())
return render_template("Homepage.html", **locals())

def fetch_graph_results(strategy_name, investment_per_strategy, stock_symbol_array):
stock_details = []
Expand Down Expand Up @@ -194,10 +194,10 @@ def addRegion():
print("Length test : ", len(final_graph_results), len(final_graph_results_detailed))

if len(final_graph_results) == 1 and len(final_graph_results_detailed) == 1:
return render_template("stock_portfolio_results.html", fgr=final_graph_results, pgrd=final_graph_results_detailed)
return render_template("Portfolio_One Strategy.html", fgr=final_graph_results, pgrd=final_graph_results_detailed)

elif len(final_graph_results) == 2 and len(final_graph_results_detailed) == 2:
return render_template("stock_portfolio_results_2.html", fgr=final_graph_results, pgrd=final_graph_results_detailed)
return render_template("Portfolio_Two Strategies.html", fgr=final_graph_results, pgrd=final_graph_results_detailed)
else:
print("Select more than 2 strategies")

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
}
});
</script> -->
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='css/stock-portfolio-homepage.css') }}">
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='css/Homepage.css') }}">
<!-- <script src="jquery-3.3.1.min.js"></script> -->

</head>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ffeeabf

Please sign in to comment.