Fix report DD (#927)

* Fix report DD

* typo
This commit is contained in:
DidierRLopes
2021-11-06 21:58:59 +00:00
committed by GitHub
parent cb036314a0
commit ef3ab07019

View File

@@ -66,11 +66,11 @@
"outputs": [],
"source": [
"import mplfinance as mpf\n",
"from gamestonk_terminal.common.technical_analysis import trendline_api as trend\n",
"from gamestonk_terminal.stocks import stocks_helper\n",
"\n",
"df_stock = trend.load_ticker(ticker, (datetime.now() - timedelta(days=180)).strftime(\"%Y-%m-%d\"))\n",
"df_stock = trend.find_trendline(df_stock, \"OC_High\", \"high\")\n",
"df_stock = trend.find_trendline(df_stock, \"OC_Low\", \"how\")\n",
"df_stock = stocks_helper.load_ticker(ticker, (datetime.now() - timedelta(days=180)).strftime(\"%Y-%m-%d\"))\n",
"df_stock = stocks_helper.find_trendline(df_stock, \"OC_High\", \"high\")\n",
"df_stock = stocks_helper.find_trendline(df_stock, \"OC_Low\", \"how\")\n",
"mc = mpf.make_marketcolors(up='green',down='red',\n",
" edge='black',\n",
" wick='black',\n",