def loss_nifty(): data = get_json_data('loss',0) return render_template("home.html", title = "Top Losers Nifty", data = data)
def loss_jrnifty(): data = get_json_data('loss',1) return render_template("home.html", title = "Top Gainers Jr. Nifty", data = data)
def gain_nifty(): data = get_json_data('gain',0) return render_template("home.html", title = "Top Gainers Nifty", data = data)