mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 09:52:13 +00:00
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
This commit is contained in:
26
openbb_terminal/reports/templates/equity.ipynb
vendored
26
openbb_terminal/reports/templates/equity.ipynb
vendored
@@ -503,27 +503,6 @@
|
||||
"google_regions_chart = f.getvalue().decode(\"utf-8\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "4043b492",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"fig, ax = plt.subplots(figsize=(11, 3), dpi=150)\n",
|
||||
"openbb.stocks.ba.cramer_ticker(\n",
|
||||
" symbol,\n",
|
||||
" external_axes=[\n",
|
||||
" ax,\n",
|
||||
" ],\n",
|
||||
" chart=True,\n",
|
||||
")\n",
|
||||
"fig.tight_layout()\n",
|
||||
"f = io.BytesIO()\n",
|
||||
"fig.savefig(f, format=\"svg\")\n",
|
||||
"cramer_chart = f.getvalue().decode(\"utf-8\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
@@ -1530,9 +1509,6 @@
|
||||
"except:\n",
|
||||
" pass\n",
|
||||
"htmlcode += widgets.row(\n",
|
||||
" [widgets.h(3, f\"Lord Cramer's recommendation for {symbol}\") + cramer_chart]\n",
|
||||
")\n",
|
||||
"htmlcode += widgets.row(\n",
|
||||
" [widgets.h(3, f\"Stocktwits sentiment for {symbol}\") + stocktwits_sentiment]\n",
|
||||
")\n",
|
||||
"body += widgets.add_tab(\"Behavioural Analysis\", htmlcode)\n",
|
||||
@@ -1580,7 +1556,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.13"
|
||||
"version": "3.9.10"
|
||||
},
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
|
||||
Reference in New Issue
Block a user