mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Add in Cramer recs by Ticker (#1457)
* Add cramer by ticker and move both to ba * Fix apis and move existing tests * Add new tests + gst * Hugo * Update _index.md * Fix tests * quick changes
This commit is contained in:
@@ -66,3 +66,10 @@ from gamestonk_terminal.common.behavioural_analysis.sentimentinvestor_view impor
|
||||
from gamestonk_terminal.stocks.behavioural_analysis.finnhub_view import (
|
||||
display_stock_price_headlines_sentiment as snews,
|
||||
)
|
||||
|
||||
from gamestonk_terminal.stocks.behavioural_analysis.cramer_view import (
|
||||
display_cramer_daily as cramer,
|
||||
)
|
||||
from gamestonk_terminal.stocks.behavioural_analysis.cramer_view import (
|
||||
display_cramer_ticker as cramer_ticker,
|
||||
)
|
||||
|
||||
@@ -18,7 +18,7 @@ from gamestonk_terminal.common.behavioural_analysis import (
|
||||
stocktwits_view,
|
||||
twitter_view,
|
||||
)
|
||||
from gamestonk_terminal.stocks.behavioural_analysis import finnhub_view
|
||||
from gamestonk_terminal.stocks.behavioural_analysis import finnhub_view, cramer_view
|
||||
from gamestonk_terminal.decorators import log_start_end
|
||||
from gamestonk_terminal.helper_funcs import (
|
||||
EXPORT_BOTH_RAW_DATA_AND_FIGURES,
|
||||
@@ -65,6 +65,8 @@ class BehaviouralAnalysisController(StockBaseController):
|
||||
"hist",
|
||||
"trend",
|
||||
"snews",
|
||||
"jcdr",
|
||||
"jctr",
|
||||
"interest",
|
||||
]
|
||||
|
||||
@@ -119,7 +121,10 @@ class BehaviouralAnalysisController(StockBaseController):
|
||||
rise top rising related queries with stock{has_ticker_end}
|
||||
[src][SentimentInvestor][/src]
|
||||
trend most talked about tickers within the last hour{has_ticker_start}
|
||||
hist plot historical RHI and AHI data by hour{has_ticker_end}[/cmds]
|
||||
hist plot historical RHI and AHI data by hour{has_ticker_end}
|
||||
[src][Jim Cramer][/src]
|
||||
jcdr Jim Cramer's daily recommendations{has_ticker_start}
|
||||
jctr Jim Cramer's recommendations by ticker{has_ticker_end}[/cmds]
|
||||
"""
|
||||
console.print(text=help_text, menu="Stocks - Behavioural Analysis")
|
||||
|
||||
@@ -848,3 +853,58 @@ class BehaviouralAnalysisController(StockBaseController):
|
||||
export=ns_parser.export,
|
||||
number=ns_parser.number,
|
||||
)
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def call_jcdr(self, other_args: List[str]):
|
||||
"""Process jcdr command"""
|
||||
parser = argparse.ArgumentParser(
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="jcdr",
|
||||
description="""
|
||||
Show daily cramer recommendation
|
||||
""",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-i",
|
||||
"--inverse",
|
||||
default=False,
|
||||
action="store_true",
|
||||
help="Show inverse recommendation",
|
||||
dest="inverse",
|
||||
)
|
||||
|
||||
ns_parser = parse_known_args_and_warn(
|
||||
parser, other_args, export_allowed=EXPORT_ONLY_RAW_DATA_ALLOWED
|
||||
)
|
||||
|
||||
if ns_parser:
|
||||
cramer_view.display_cramer_daily(inverse=ns_parser.inverse)
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def call_jctr(self, other_args: List[str]):
|
||||
"""Process jctr command"""
|
||||
parser = argparse.ArgumentParser(
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="jctr",
|
||||
description="""
|
||||
Show cramer recommendation for loaded ticker
|
||||
""",
|
||||
)
|
||||
ns_parser = parse_known_args_and_warn(
|
||||
parser,
|
||||
other_args,
|
||||
export_allowed=EXPORT_BOTH_RAW_DATA_AND_FIGURES,
|
||||
raw=True,
|
||||
)
|
||||
|
||||
if ns_parser:
|
||||
if not self.ticker:
|
||||
console.print(
|
||||
"[red]No ticker loaded. Please use load <ticker> first.\n[/red]"
|
||||
)
|
||||
return
|
||||
cramer_view.display_cramer_ticker(
|
||||
ticker=self.ticker, raw=ns_parser.raw, export=ns_parser.export
|
||||
)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""Cramer Model"""
|
||||
__docformat__ = "numpy"
|
||||
|
||||
import logging
|
||||
import re
|
||||
|
||||
import pandas as pd
|
||||
@@ -9,7 +10,13 @@ import numpy as np
|
||||
import yfinance as yf
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
from gamestonk_terminal.decorators import log_start_end
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def get_cramer_daily(inverse: bool = True) -> pd.DataFrame:
|
||||
"""Scrape the daily recommendations of Jim Cramer
|
||||
|
||||
@@ -86,3 +93,23 @@ def get_cramer_daily(inverse: bool = True) -> pd.DataFrame:
|
||||
)
|
||||
cols.append("InverseCramer")
|
||||
return df[cols]
|
||||
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def get_cramer_ticker(ticker: str) -> pd.DataFrame:
|
||||
"""Get cramer recommendations from beginning of year for given ticker
|
||||
|
||||
Parameters
|
||||
----------
|
||||
ticker: str
|
||||
Ticker to get recommendations for
|
||||
|
||||
Returns
|
||||
-------
|
||||
pd.DataFrame:
|
||||
Dataframe with dates and recommendations
|
||||
"""
|
||||
|
||||
link = "https://raw.githubusercontent.com/jmaslek/InverseCramer/main/AllRecommendations.csv"
|
||||
df = pd.read_csv(link, index_col=0)
|
||||
return df[df.Symbol == ticker].reset_index(drop=True)
|
||||
113
gamestonk_terminal/stocks/behavioural_analysis/cramer_view.py
Normal file
113
gamestonk_terminal/stocks/behavioural_analysis/cramer_view.py
Normal file
@@ -0,0 +1,113 @@
|
||||
"""Cramer View"""
|
||||
__docformat__ = "numpy"
|
||||
|
||||
import os
|
||||
from typing import Optional, List
|
||||
import logging
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
from matplotlib.dates import DateFormatter
|
||||
import yfinance
|
||||
import pandas as pd
|
||||
|
||||
import gamestonk_terminal.config_plot as cfp
|
||||
from gamestonk_terminal.config_terminal import theme
|
||||
from gamestonk_terminal.helper_funcs import (
|
||||
print_rich_table,
|
||||
export_data,
|
||||
plot_autoscale,
|
||||
)
|
||||
from gamestonk_terminal.stocks.behavioural_analysis import cramer_model
|
||||
from gamestonk_terminal.rich_config import console
|
||||
from gamestonk_terminal.decorators import log_start_end
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def display_cramer_daily(inverse: bool = True, export: str = ""):
|
||||
"""Display Jim Cramer daily recommendations
|
||||
|
||||
Parameters
|
||||
----------
|
||||
inverse:bool
|
||||
Flag to include inverse recommendation
|
||||
export:str
|
||||
Format to export data
|
||||
"""
|
||||
|
||||
recs = cramer_model.get_cramer_daily(inverse)
|
||||
if recs.empty:
|
||||
console.print("[red]Error getting request.\n[/red]")
|
||||
return
|
||||
date = recs.Date[0]
|
||||
recs = recs.drop(columns=["Date"])
|
||||
console.print()
|
||||
print_rich_table(recs, title=f"Jim Cramer Recommendations for {date}")
|
||||
console.print()
|
||||
export_data(export, os.path.dirname(os.path.abspath(__file__)), "cramer", recs)
|
||||
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def display_cramer_ticker(
|
||||
ticker: str,
|
||||
raw: bool = True,
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Display ticker close with Cramer recommendations
|
||||
|
||||
Parameters
|
||||
----------
|
||||
ticker: str
|
||||
Stock ticker
|
||||
raw: bool
|
||||
Display raw data
|
||||
export: str
|
||||
Format to export data
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
External axes to plot on
|
||||
"""
|
||||
|
||||
df = cramer_model.get_cramer_ticker(ticker)
|
||||
if df.empty:
|
||||
console.print(f"No recommendations found for {ticker}.\n")
|
||||
return
|
||||
|
||||
df["Date"] = pd.to_datetime(df["Date"].apply(lambda x: x + "/2022"))
|
||||
|
||||
if external_axes is None:
|
||||
_, ax = plt.subplots(figsize=plot_autoscale(), dpi=cfp.PLOT_DPI)
|
||||
|
||||
else:
|
||||
if len(external_axes) != 1:
|
||||
logger.error("Expected list of one axis item.")
|
||||
console.print("[red]Expected list of one axis item./n[/red]")
|
||||
return
|
||||
(ax,) = external_axes
|
||||
|
||||
close_prices = yfinance.download(ticker, start="2022-01-01", progress=False)[
|
||||
"Adj Close"
|
||||
]
|
||||
|
||||
ax.plot(close_prices)
|
||||
color_map = {"Buy": theme.up_color, "Sell": theme.down_color}
|
||||
for name, group in df.groupby("Recommendation"):
|
||||
ax.scatter(group.Date, group.Price, color=color_map[name], s=150, label=name)
|
||||
|
||||
ax.set_title(f"{ticker.upper()} Close With Cramer Recommendations")
|
||||
theme.style_primary_axis(ax)
|
||||
ax.legend(loc="best", scatterpoints=1)
|
||||
|
||||
# Overwrite default dote formatting
|
||||
ax.xaxis.set_major_formatter(DateFormatter("%m/%d"))
|
||||
ax.set_xlabel("Date")
|
||||
|
||||
if external_axes is None:
|
||||
theme.visualize_output()
|
||||
|
||||
if raw:
|
||||
df["Date"] = df["Date"].apply(lambda x: x.strftime("%Y-%m-%d"))
|
||||
print_rich_table(df, title=f"Jim Cramer Recommendations for {ticker}")
|
||||
console.print()
|
||||
export_data(export, os.path.dirname(os.path.abspath(__file__)), df, "jctr")
|
||||
@@ -1,29 +0,0 @@
|
||||
"""Cramer View"""
|
||||
__docformat__ = "numpy"
|
||||
|
||||
import os
|
||||
from gamestonk_terminal.helper_funcs import print_rich_table, export_data
|
||||
from gamestonk_terminal.stocks.discovery import cramer_model
|
||||
from gamestonk_terminal.rich_config import console
|
||||
|
||||
|
||||
def display_cramer_daily(inverse: bool = True, export: str = ""):
|
||||
"""
|
||||
|
||||
Parameters
|
||||
----------
|
||||
inverse:bool
|
||||
Flag to include inverse recommendation
|
||||
export:str
|
||||
Format to export data
|
||||
"""
|
||||
|
||||
recs = cramer_model.get_cramer_daily(inverse)
|
||||
if recs.empty:
|
||||
console.print("[red]Error getting request.\n[/red]")
|
||||
date = recs.Date[0]
|
||||
recs = recs.drop(columns=["Date"])
|
||||
console.print()
|
||||
print_rich_table(recs, title=f"Jim Cramer Recommendations for {date}")
|
||||
console.print()
|
||||
export_data(export, os.path.dirname(os.path.abspath(__file__)), "cramer", recs)
|
||||
@@ -23,7 +23,6 @@ from .shortinterest_view import low_float as lowfloat
|
||||
from .seeking_alpha_view import display_news as cnews
|
||||
from .shortinterest_view import hot_penny_stocks as hotpenny
|
||||
from .nasdaq_view import display_top_retail as rtat
|
||||
from .cramer_view import display_cramer_daily as cramer
|
||||
|
||||
# Models
|
||||
models = _models(os.path.abspath(os.path.dirname(__file__)))
|
||||
|
||||
@@ -30,7 +30,6 @@ from gamestonk_terminal.stocks.discovery import (
|
||||
seeking_alpha_view,
|
||||
shortinterest_view,
|
||||
yahoofinance_view,
|
||||
cramer_view,
|
||||
)
|
||||
|
||||
# pylint:disable=C0302
|
||||
@@ -61,7 +60,6 @@ class DiscoveryController(BaseController):
|
||||
"cnews",
|
||||
"rtat",
|
||||
"divcal",
|
||||
"cramer",
|
||||
]
|
||||
|
||||
arkord_sortby_choices = [
|
||||
@@ -161,9 +159,7 @@ class DiscoveryController(BaseController):
|
||||
hotpenny today's hot penny stocks
|
||||
[src][NASDAQ Data Link (Formerly Quandl)][/src]
|
||||
rtat top 10 retail traded stocks per day
|
||||
divcal dividend calendar for selected date
|
||||
[src][Jim Cramer][/src]
|
||||
cramer Jim Cramer's daily recommendations[/cmds]
|
||||
divcal dividend calendar for selected date[/cmds]
|
||||
"""
|
||||
console.print(text=help_text, menu="Stocks - Discovery")
|
||||
|
||||
@@ -887,30 +883,3 @@ class DiscoveryController(BaseController):
|
||||
nasdaq_view.display_top_retail(
|
||||
n_days=ns_parser.limit, export=ns_parser.export
|
||||
)
|
||||
|
||||
@log_start_end(log=logger)
|
||||
def call_cramer(self, other_args: List[str]):
|
||||
"""Process fds command"""
|
||||
parser = argparse.ArgumentParser(
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="cramer",
|
||||
description="""
|
||||
Show daily cramer recommendation
|
||||
""",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-i",
|
||||
"--inverse",
|
||||
default=False,
|
||||
action="store_true",
|
||||
help="Show inverse recommendation",
|
||||
dest="inverse",
|
||||
)
|
||||
|
||||
ns_parser = parse_known_args_and_warn(
|
||||
parser, other_args, export_allowed=EXPORT_ONLY_RAW_DATA_ALLOWED
|
||||
)
|
||||
|
||||
if ns_parser:
|
||||
cramer_view.display_cramer_daily(inverse=ns_parser.inverse)
|
||||
|
||||
3
scripts/test_stocks_ba.gst
vendored
3
scripts/test_stocks_ba.gst
vendored
@@ -25,4 +25,7 @@ metrics
|
||||
social
|
||||
historical
|
||||
interest
|
||||
jcdr
|
||||
load aapl
|
||||
jdtr
|
||||
exit
|
||||
BIN
stored/aapl_stock_data.pkl
vendored
Normal file
BIN
stored/aapl_stock_data.pkl
vendored
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,10 @@
|
||||
,Company,Date,Price,Symbol,Recommendation,InverseCramer
|
||||
0,Apple ,01/03,182.01,AAPL,Buy,Sell
|
||||
1,Apple ,01/05,174.92,AAPL,Buy,Sell
|
||||
2,Apple ,01/07,172.17,AAPL,Buy,Sell
|
||||
3,Apple ,01/11,175.08,AAPL,Buy,Sell
|
||||
4,Apple ,01/21,162.41,AAPL,Buy,Sell
|
||||
5,Apple ,01/27,159.22,AAPL,Buy,Sell
|
||||
6,Apple ,01/28,170.33,AAPL,Buy,Sell
|
||||
7,Apple ,01/31,174.78,AAPL,Buy,Sell
|
||||
8,Apple ,02/03,172.9,AAPL,Buy,Sell
|
||||
|
@@ -0,0 +1,24 @@
|
||||
,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation
|
||||
0,03/04,Allbirds ,BIRD,6.33,5.73,-10.47,Sell
|
||||
1,03/04,Bumble ,BMBL,18.08,16.66,-8.52,Sell
|
||||
2,03/04,Campbell Soup ,CPB,45.55,42.3,-7.68,Buy
|
||||
3,03/04,Dicks Sporting Goods ,DKS,109.71,101.58,-8.0,Buy
|
||||
4,03/04,DocuSign ,DOCU,101.38,91.98,-10.22,Sell
|
||||
5,03/04,Devon Energy ,DVN,59.57,59.48,-0.15,Buy
|
||||
6,03/04,eBay ,EBAY,55.66,53.31,-4.41,Sell
|
||||
7,03/04,Freeport-McMoRan ,FCX,50.11,46.67,-7.37,Buy
|
||||
8,03/04,Kohl's ,KSS,58.77,53.35,-10.16,Buy
|
||||
9,03/04,Macy's ,M,24.8,23.16,-7.08,Buy
|
||||
10,03/04,MongoDB ,MDB,306.11,281.74,-8.649999999999999,Sell
|
||||
11,03/04,On Holding ,ONON,21.97,20.83,-5.47,Sell
|
||||
12,03/04,Progress Software ,PRGS,44.28,42.48,-4.24,Sell
|
||||
13,03/04,The RealReal ,REAL,7.39,6.52,-13.34,Sell
|
||||
14,03/04,Rivian ,RIVN,47.39,42.21,-12.27,Sell
|
||||
15,03/04,Stitch Fix ,SFIX,11.17,11.01,-1.4500000000000002,Sell
|
||||
16,03/04,Virgin Galactic ,SPCE,7.84,7.42,-5.66,Sell
|
||||
17,03/04,Splunk ,SPLK,129.06,124.11,-3.9899999999999998,Buy
|
||||
18,03/04,AT&T ,T,23.87,23.0,-3.7800000000000002,Sell
|
||||
19,03/04,Trex ,TREX,74.68,68.44,-9.120000000000001,Sell
|
||||
20,03/04,Hostess Brands ,TWNK,22.22,21.06,-5.510000000000001,Buy
|
||||
21,03/04,Ulta Beauty ,ULTA,366.76,359.02,-2.16,Buy
|
||||
22,03/04,Wheels Up ,UP,3.13,3.39,7.670000000000001,Buy
|
||||
|
@@ -0,0 +1,24 @@
|
||||
,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation,InverseCramer
|
||||
0,03/04,Allbirds ,BIRD,6.33,5.73,-10.47,Sell,Buy
|
||||
1,03/04,Bumble ,BMBL,18.08,16.66,-8.52,Sell,Buy
|
||||
2,03/04,Campbell Soup ,CPB,45.55,42.3,-7.68,Buy,Sell
|
||||
3,03/04,Dicks Sporting Goods ,DKS,109.71,101.58,-8.0,Buy,Sell
|
||||
4,03/04,DocuSign ,DOCU,101.38,91.98,-10.22,Sell,Buy
|
||||
5,03/04,Devon Energy ,DVN,59.57,59.48,-0.15,Buy,Sell
|
||||
6,03/04,eBay ,EBAY,55.66,53.31,-4.41,Sell,Buy
|
||||
7,03/04,Freeport-McMoRan ,FCX,50.11,46.67,-7.37,Buy,Sell
|
||||
8,03/04,Kohl's ,KSS,58.77,53.35,-10.16,Buy,Sell
|
||||
9,03/04,Macy's ,M,24.8,23.16,-7.08,Buy,Sell
|
||||
10,03/04,MongoDB ,MDB,306.11,281.74,-8.649999999999999,Sell,Buy
|
||||
11,03/04,On Holding ,ONON,21.97,20.83,-5.47,Sell,Buy
|
||||
12,03/04,Progress Software ,PRGS,44.28,42.48,-4.24,Sell,Buy
|
||||
13,03/04,The RealReal ,REAL,7.39,6.52,-13.34,Sell,Buy
|
||||
14,03/04,Rivian ,RIVN,47.39,42.21,-12.27,Sell,Buy
|
||||
15,03/04,Stitch Fix ,SFIX,11.17,11.01,-1.4500000000000002,Sell,Buy
|
||||
16,03/04,Virgin Galactic ,SPCE,7.84,7.42,-5.66,Sell,Buy
|
||||
17,03/04,Splunk ,SPLK,129.06,124.11,-3.9899999999999998,Buy,Sell
|
||||
18,03/04,AT&T ,T,23.87,23.0,-3.7800000000000002,Sell,Buy
|
||||
19,03/04,Trex ,TREX,74.68,68.44,-9.120000000000001,Sell,Buy
|
||||
20,03/04,Hostess Brands ,TWNK,22.22,21.06,-5.510000000000001,Buy,Sell
|
||||
21,03/04,Ulta Beauty ,ULTA,366.76,359.02,-2.16,Buy,Sell
|
||||
22,03/04,Wheels Up ,UP,3.13,3.39,7.670000000000001,Buy,Sell
|
||||
|
@@ -2,7 +2,7 @@
|
||||
import pytest
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
from gamestonk_terminal.stocks.discovery import cramer_model
|
||||
from gamestonk_terminal.stocks.behavioural_analysis import cramer_model
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@@ -20,3 +20,9 @@ def vcr_config():
|
||||
def test_get_orders(recorder, inverse):
|
||||
recommendations = cramer_model.get_cramer_daily(inverse=inverse)
|
||||
recorder.capture(recommendations)
|
||||
|
||||
|
||||
@pytest.mark.vcr()
|
||||
def test_get_cramer_ticker(recorder):
|
||||
data = cramer_model.get_cramer_ticker("AAPL")
|
||||
recorder.capture(data)
|
||||
@@ -0,0 +1,98 @@
|
||||
# IMPORTATION THIRDPARTY
|
||||
from io import StringIO
|
||||
import pytest
|
||||
import pandas as pd
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
from gamestonk_terminal.stocks.behavioural_analysis import cramer_view
|
||||
|
||||
closes = pd.read_csv(
|
||||
StringIO(
|
||||
"""
|
||||
Date,Adj Close
|
||||
2022-01-03, 181.7783966064453
|
||||
2022-01-04, 179.47134399414062
|
||||
2022-01-05, 174.69741821289062
|
||||
2022-01-06, 171.78114318847656
|
||||
2022-01-07, 171.950927734375
|
||||
2022-01-10, 171.9709014892578
|
||||
2022-01-11, 174.8572235107422
|
||||
2022-01-12, 175.306640625
|
||||
2022-01-13, 171.9709014892578
|
||||
2022-01-14, 172.84979248046875
|
||||
2022-01-18, 169.5839385986328
|
||||
2022-01-19, 166.0184783935547
|
||||
2022-01-20, 164.3006591796875
|
||||
2022-01-21, 162.20335388183594
|
||||
2022-01-24, 161.41433715820312
|
||||
2022-01-25, 159.57669067382812
|
||||
2022-01-26, 159.48680114746094
|
||||
2022-01-27, 159.0174102783203
|
||||
2022-01-28, 170.11326599121094
|
||||
2022-01-31, 174.55760192871094
|
||||
2022-02-01, 174.3878173828125
|
||||
2022-02-02, 175.6162567138672
|
||||
2022-02-03, 172.67999267578125
|
||||
2022-02-04, 172.38999938964844
|
||||
2022-02-07, 171.66000366210938
|
||||
2022-02-08, 174.8300018310547
|
||||
2022-02-09, 176.27999877929688
|
||||
2022-02-10, 172.1199951171875
|
||||
2022-02-11, 168.63999938964844
|
||||
2022-02-14, 168.8800048828125
|
||||
2022-02-15, 172.7899932861328
|
||||
2022-02-16, 172.5500030517578
|
||||
2022-02-17, 168.8800048828125
|
||||
2022-02-18, 167.3000030517578
|
||||
2022-02-22, 164.32000732421875
|
||||
2022-02-23, 160.07000732421875
|
||||
2022-02-24, 162.74000549316406
|
||||
2022-02-25, 164.85000610351562
|
||||
2022-02-28, 165.1199951171875
|
||||
2022-03-01, 163.1999969482422
|
||||
2022-03-02, 166.55999755859375
|
||||
2022-03-03, 166.22999572753906
|
||||
2022-03-04, 163.1699981689453
|
||||
2022-03-07, 159.3000030517578
|
||||
2022-03-09, 162.01499938964844
|
||||
"""
|
||||
)
|
||||
).set_index("Date")
|
||||
closes.index = pd.to_datetime(closes.index)
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def vcr_config():
|
||||
return {
|
||||
"filter_headers": [("User-Agent", None)],
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.vcr()
|
||||
@pytest.mark.record_stdout
|
||||
@pytest.mark.parametrize(
|
||||
"inverse",
|
||||
[True, False],
|
||||
)
|
||||
def test_get_orders(inverse):
|
||||
cramer_view.display_cramer_daily(inverse=inverse)
|
||||
|
||||
|
||||
@pytest.mark.vcr()
|
||||
@pytest.mark.record_stdout
|
||||
@pytest.mark.parametrize("raw", [True, False])
|
||||
def test_cramer_ticker(mocker, raw):
|
||||
mocker.patch(
|
||||
target="gamestonk_terminal.stocks.behavioural_analysis.cramer_view.theme.visualize_output"
|
||||
)
|
||||
# MOCK EXPORT_DATA
|
||||
mocker.patch(
|
||||
target="gamestonk_terminal.stocks.behavioural_analysis.cramer_view.export_data"
|
||||
)
|
||||
|
||||
mocker.patch(
|
||||
target="gamestonk_terminal.stocks.behavioural_analysis.cramer_view.yfinance.download",
|
||||
new=mocker.Mock(return_value=closes.copy()),
|
||||
)
|
||||
|
||||
cramer_view.display_cramer_ticker("AAPL", raw=raw)
|
||||
@@ -31,4 +31,7 @@ Ticker: TSLA
|
||||
[SentimentInvestor]
|
||||
trend most talked about tickers within the last hour
|
||||
hist plot historical RHI and AHI data by hour
|
||||
[Jim Cramer]
|
||||
jcdr Jim Cramer's daily recommendations
|
||||
jctr Jim Cramer's recommendations by ticker
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
Company Date Price Symbol Recommendation InverseCramer
|
||||
0 Apple 2022-01-03 182.01 AAPL Buy Sell
|
||||
1 Apple 2022-01-05 174.92 AAPL Buy Sell
|
||||
2 Apple 2022-01-07 172.17 AAPL Buy Sell
|
||||
3 Apple 2022-01-11 175.08 AAPL Buy Sell
|
||||
4 Apple 2022-01-21 162.41 AAPL Buy Sell
|
||||
5 Apple 2022-01-27 159.22 AAPL Buy Sell
|
||||
6 Apple 2022-01-28 170.33 AAPL Buy Sell
|
||||
7 Apple 2022-01-31 174.78 AAPL Buy Sell
|
||||
8 Apple 2022-02-03 172.90 AAPL Buy Sell
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
Company Symbol Price LastPrice Change (%) Recommendation
|
||||
0 Allbirds BIRD 6.33 6.01 -5.32 Sell
|
||||
1 Bumble BMBL 18.08 23.52 23.13 Sell
|
||||
2 Campbell Soup CPB 45.55 43.26 -5.29 Buy
|
||||
3 Dicks Sporting Goods DKS 109.71 109.46 -0.23 Buy
|
||||
4 DocuSign DOCU 101.38 99.02 -2.38 Sell
|
||||
5 Devon Energy DVN 59.57 58.94 -1.07 Buy
|
||||
6 eBay EBAY 55.66 52.89 -5.24 Sell
|
||||
7 Freeport-McMoRan FCX 50.11 46.94 -6.75 Buy
|
||||
8 Kohl's KSS 58.77 54.30 -8.23 Buy
|
||||
9 Macy's M 24.80 24.31 -2.02 Buy
|
||||
10 MongoDB MDB 306.11 329.13 6.99 Sell
|
||||
11 On Holding ONON 21.97 22.09 0.54 Sell
|
||||
12 Progress Software PRGS 44.28 43.48 -1.84 Sell
|
||||
13 The RealReal REAL 7.39 6.91 -6.95 Sell
|
||||
14 Rivian RIVN 47.39 44.13 -7.39 Sell
|
||||
15 Stitch Fix SFIX 11.17 10.37 -7.71 Sell
|
||||
16 Virgin Galactic SPCE 7.84 7.86 0.25 Sell
|
||||
17 Splunk SPLK 129.06 129.53 0.36 Buy
|
||||
18 AT&T T 23.87 23.43 -1.88 Sell
|
||||
19 Trex TREX 74.68 73.60 -1.47 Sell
|
||||
20 Hostess Brands TWNK 22.22 21.26 -4.52 Buy
|
||||
21 Ulta Beauty ULTA 366.76 371.38 1.24 Buy
|
||||
22 Wheels Up UP 3.13 3.52 11.08 Buy
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
Company Symbol Price LastPrice Change (%) Recommendation InverseCramer
|
||||
0 Allbirds BIRD 6.33 6.01 -5.32 Sell Buy
|
||||
1 Bumble BMBL 18.08 23.52 23.13 Sell Buy
|
||||
2 Campbell Soup CPB 45.55 43.26 -5.29 Buy Sell
|
||||
3 Dicks Sporting Goods DKS 109.71 109.46 -0.23 Buy Sell
|
||||
4 DocuSign DOCU 101.38 99.02 -2.38 Sell Buy
|
||||
5 Devon Energy DVN 59.57 58.94 -1.07 Buy Sell
|
||||
6 eBay EBAY 55.66 52.89 -5.24 Sell Buy
|
||||
7 Freeport-McMoRan FCX 50.11 46.94 -6.75 Buy Sell
|
||||
8 Kohl's KSS 58.77 54.30 -8.23 Buy Sell
|
||||
9 Macy's M 24.80 24.31 -2.02 Buy Sell
|
||||
10 MongoDB MDB 306.11 329.13 6.99 Sell Buy
|
||||
11 On Holding ONON 21.97 22.09 0.54 Sell Buy
|
||||
12 Progress Software PRGS 44.28 43.48 -1.84 Sell Buy
|
||||
13 The RealReal REAL 7.39 6.91 -6.95 Sell Buy
|
||||
14 Rivian RIVN 47.39 44.07 -7.53 Sell Buy
|
||||
15 Stitch Fix SFIX 11.17 10.34 -8.03 Sell Buy
|
||||
16 Virgin Galactic SPCE 7.84 7.86 0.25 Sell Buy
|
||||
17 Splunk SPLK 129.06 129.56 0.39 Buy Sell
|
||||
18 AT&T T 23.87 23.43 -1.88 Sell Buy
|
||||
19 Trex TREX 74.68 73.60 -1.47 Sell Buy
|
||||
20 Hostess Brands TWNK 22.22 21.26 -4.52 Buy Sell
|
||||
21 Ulta Beauty ULTA 366.76 371.38 1.24 Buy Sell
|
||||
22 Wheels Up UP 3.13 3.52 11.08 Buy Sell
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,20 +0,0 @@
|
||||
,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation
|
||||
0,03/02,AEO ,AEO,21.33,19.34,-10.290000000000001,Buy
|
||||
1,03/02,Cemig ,CIG,2.61,2.67,2.25,Buy
|
||||
2,03/02,DigitalBridge ,DBRG,7.4,7.37,-0.41000000000000003,Sell
|
||||
3,03/02,Dow ,DOW,59.2,59.67,0.79,Buy
|
||||
4,03/02,Ford Motor ,F,18.1,17.6,-2.8400000000000003,Buy
|
||||
5,03/02,Foot Locker ,FL,30.98,31.0,0.06,Sell
|
||||
6,03/02,Innovative Industrial Pro ,IIPR,190.26,187.48,-1.48,Buy
|
||||
7,03/02,International Paper ,IP,42.01,42.23,0.52,Buy
|
||||
8,03/02,Nordstrom ,JWN,26.93,25.68,-4.87,Buy
|
||||
9,03/02,Kontoor Brands ,KTB,48.03,45.55,-5.4399999999999995,Buy
|
||||
10,03/02,Masimo ,MASI,153.63,152.46,-0.77,Buy
|
||||
11,03/02,Morgan Stanley ,MS,88.38,87.78,-0.6799999999999999,Buy
|
||||
12,03/02,Norwegian Cruise Line ,NCLH,19.06,18.56,-2.69,Buy
|
||||
13,03/02,Newell Brands ,NWL,23.68,23.82,0.59,Buy
|
||||
14,03/02,Okta ,OKTA,182.7,167.98,-8.76,Buy
|
||||
15,03/02,Pfizer ,PFE,47.7,47.83,0.27,Buy
|
||||
16,03/02,Snowflake ,SNOW,264.69,224.02,-18.15,Buy
|
||||
17,03/02,Simon Property Group ,SPG,138.77,139.41,0.45999999999999996,Buy
|
||||
18,03/02,Tesla ,TSLA,879.89,839.29,-4.84,Sell
|
||||
|
@@ -1,20 +0,0 @@
|
||||
,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation,InverseCramer
|
||||
0,03/02,AEO ,AEO,21.33,19.34,-10.290000000000001,Buy,Sell
|
||||
1,03/02,Cemig ,CIG,2.61,2.67,2.25,Buy,Sell
|
||||
2,03/02,DigitalBridge ,DBRG,7.4,7.37,-0.41000000000000003,Sell,Buy
|
||||
3,03/02,Dow ,DOW,59.2,59.67,0.79,Buy,Sell
|
||||
4,03/02,Ford Motor ,F,18.1,17.6,-2.8400000000000003,Buy,Sell
|
||||
5,03/02,Foot Locker ,FL,30.98,31.0,0.06,Sell,Buy
|
||||
6,03/02,Innovative Industrial Pro ,IIPR,190.26,187.48,-1.48,Buy,Sell
|
||||
7,03/02,International Paper ,IP,42.01,42.23,0.52,Buy,Sell
|
||||
8,03/02,Nordstrom ,JWN,26.93,25.68,-4.87,Buy,Sell
|
||||
9,03/02,Kontoor Brands ,KTB,48.03,45.55,-5.4399999999999995,Buy,Sell
|
||||
10,03/02,Masimo ,MASI,153.63,152.46,-0.77,Buy,Sell
|
||||
11,03/02,Morgan Stanley ,MS,88.38,87.78,-0.6799999999999999,Buy,Sell
|
||||
12,03/02,Norwegian Cruise Line ,NCLH,19.06,18.56,-2.69,Buy,Sell
|
||||
13,03/02,Newell Brands ,NWL,23.68,23.82,0.59,Buy,Sell
|
||||
14,03/02,Okta ,OKTA,182.7,167.98,-8.76,Buy,Sell
|
||||
15,03/02,Pfizer ,PFE,47.7,47.83,0.27,Buy,Sell
|
||||
16,03/02,Snowflake ,SNOW,264.69,224.02,-18.15,Buy,Sell
|
||||
17,03/02,Simon Property Group ,SPG,138.77,139.41,0.45999999999999996,Buy,Sell
|
||||
18,03/02,Tesla ,TSLA,879.89,839.29,-4.84,Sell,Buy
|
||||
|
@@ -1,22 +0,0 @@
|
||||
# IMPORTATION THIRDPARTY
|
||||
import pytest
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
from gamestonk_terminal.stocks.discovery import cramer_view
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def vcr_config():
|
||||
return {
|
||||
"filter_headers": [("User-Agent", None)],
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.vcr()
|
||||
@pytest.mark.record_stdout
|
||||
@pytest.mark.parametrize(
|
||||
"inverse",
|
||||
[True, False],
|
||||
)
|
||||
def test_get_orders(inverse):
|
||||
cramer_view.display_cramer_daily(inverse=inverse)
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
Company Symbol Price LastPrice Change (%) Recommendation
|
||||
0 AEO AEO 21.33 19.34 -10.29 Buy
|
||||
1 Cemig CIG 2.61 2.67 2.25 Buy
|
||||
2 DigitalBridge DBRG 7.40 7.37 -0.41 Sell
|
||||
3 Dow DOW 59.20 59.67 0.79 Buy
|
||||
4 Ford Motor F 18.10 17.60 -2.84 Buy
|
||||
5 Foot Locker FL 30.98 31.00 0.06 Sell
|
||||
6 Innovative Industrial Pro IIPR 190.26 187.48 -1.48 Buy
|
||||
7 International Paper IP 42.01 42.23 0.52 Buy
|
||||
8 Nordstrom JWN 26.93 25.68 -4.87 Buy
|
||||
9 Kontoor Brands KTB 48.03 45.55 -5.44 Buy
|
||||
10 Masimo MASI 153.63 152.46 -0.77 Buy
|
||||
11 Morgan Stanley MS 88.38 87.78 -0.68 Buy
|
||||
12 Norwegian Cruise Line NCLH 19.06 18.56 -2.69 Buy
|
||||
13 Newell Brands NWL 23.68 23.82 0.59 Buy
|
||||
14 Okta OKTA 182.70 167.98 -8.76 Buy
|
||||
15 Pfizer PFE 47.70 47.83 0.27 Buy
|
||||
16 Snowflake SNOW 264.69 224.02 -18.15 Buy
|
||||
17 Simon Property Group SPG 138.77 139.41 0.46 Buy
|
||||
18 Tesla TSLA 879.89 839.29 -4.84 Sell
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
Company Symbol Price LastPrice Change (%) Recommendation InverseCramer
|
||||
0 AEO AEO 21.33 19.34 -10.29 Buy Sell
|
||||
1 Cemig CIG 2.61 2.67 2.25 Buy Sell
|
||||
2 DigitalBridge DBRG 7.40 7.37 -0.41 Sell Buy
|
||||
3 Dow DOW 59.20 59.67 0.79 Buy Sell
|
||||
4 Ford Motor F 18.10 17.60 -2.84 Buy Sell
|
||||
5 Foot Locker FL 30.98 31.00 0.06 Sell Buy
|
||||
6 Innovative Industrial Pro IIPR 190.26 187.48 -1.48 Buy Sell
|
||||
7 International Paper IP 42.01 42.23 0.52 Buy Sell
|
||||
8 Nordstrom JWN 26.93 25.68 -4.87 Buy Sell
|
||||
9 Kontoor Brands KTB 48.03 45.55 -5.44 Buy Sell
|
||||
10 Masimo MASI 153.63 152.46 -0.77 Buy Sell
|
||||
11 Morgan Stanley MS 88.38 87.78 -0.68 Buy Sell
|
||||
12 Norwegian Cruise Line NCLH 19.06 18.56 -2.69 Buy Sell
|
||||
13 Newell Brands NWL 23.68 23.82 0.59 Buy Sell
|
||||
14 Okta OKTA 182.70 167.98 -8.76 Buy Sell
|
||||
15 Pfizer PFE 47.70 47.83 0.27 Buy Sell
|
||||
16 Snowflake SNOW 264.69 224.02 -18.15 Buy Sell
|
||||
17 Simon Property Group SPG 138.77 139.41 0.46 Buy Sell
|
||||
18 Tesla TSLA 879.89 839.29 -4.84 Sell Buy
|
||||
|
||||
@@ -25,6 +25,4 @@
|
||||
[NASDAQ Data Link (Formerly Quandl)]
|
||||
rtat top 10 retail traded stocks per day
|
||||
divcal dividend calendar for selected date
|
||||
[Jim Cramer]
|
||||
cramer Jim Cramer's daily recommendations
|
||||
|
||||
|
||||
69
website/content/stocks/behavioural_analysis/jcdr/_index.md
vendored
Normal file
69
website/content/stocks/behavioural_analysis/jcdr/_index.md
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
```
|
||||
usage: jcdr [-i] [-h] [--export {csv,json,xlsx}]
|
||||
```
|
||||
Show daily cramer recommendation
|
||||
```
|
||||
optional arguments:
|
||||
-i, --inverse Show inverse recommendation (default: False)
|
||||
-h, --help show this help message (default: False)
|
||||
--export {csv,json,xlsx}
|
||||
Export raw data into csv, json, xlsx (default: )
|
||||
|
||||
```
|
||||
|
||||
Sample Usage:
|
||||
|
||||
```
|
||||
2022 Mar 09, 11:54 (✨) /stocks/ba/ $ jcdr
|
||||
|
||||
Jim Cramer Recommendations for 03/04
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
|
||||
┃ Company ┃ Symbol ┃ Price ┃ LastPrice ┃ Change (%) ┃ Recommendation ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
|
||||
│ Allbirds │ BIRD │ 6.33 │ 6.11 │ -3.60 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Bumble │ BMBL │ 18.08 │ 24.22 │ 25.35 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Campbell Soup │ CPB │ 45.55 │ 43.46 │ -4.81 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Dicks Sporting Goods │ DKS │ 109.71 │ 110.78 │ 0.97 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ DocuSign │ DOCU │ 101.38 │ 98.54 │ -2.88 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Devon Energy │ DVN │ 59.57 │ 59.11 │ -0.78 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ eBay │ EBAY │ 55.66 │ 53.01 │ -5.00 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Freeport-McMoRan │ FCX │ 50.11 │ 47.03 │ -6.55 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Kohl's │ KSS │ 58.77 │ 54.06 │ -8.71 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Macy's │ M │ 24.80 │ 24.11 │ -2.86 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ MongoDB │ MDB │ 306.11 │ 334.60 │ 8.51 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ On Holding │ ONON │ 21.97 │ 22.04 │ 0.32 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Progress Software │ PRGS │ 44.28 │ 43.57 │ -1.63 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ The RealReal │ REAL │ 7.39 │ 6.86 │ -7.73 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Rivian │ RIVN │ 47.39 │ 45.08 │ -5.12 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Stitch Fix │ SFIX │ 11.17 │ 9.75 │ -14.56 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Virgin Galactic │ SPCE │ 7.84 │ 7.76 │ -1.03 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Splunk │ SPLK │ 129.06 │ 128.64 │ -0.33 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ AT&T │ T │ 23.87 │ 23.49 │ -1.62 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Trex │ TREX │ 74.68 │ 73.08 │ -2.19 │ Sell │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Hostess Brands │ TWNK │ 22.22 │ 21.21 │ -4.76 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Ulta Beauty │ ULTA │ 366.76 │ 372.62 │ 1.57 │ Buy │
|
||||
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
|
||||
│ Wheels Up │ UP │ 3.13 │ 3.54 │ 11.58 │ Buy │
|
||||
└───────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┘
|
||||
```
|
||||
13
website/content/stocks/behavioural_analysis/jctr/_index.md
vendored
Normal file
13
website/content/stocks/behavioural_analysis/jctr/_index.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
```
|
||||
usage: jctr [-h] [--export {csv,json,xlsx,png,jpg,pdf,svg}] [--raw]
|
||||
```
|
||||
Show cramer recommendation for loaded ticker
|
||||
|
||||
```optional arguments:
|
||||
-h, --help show this help message (default: False)
|
||||
--export {csv,json,xlsx,png,jpg,pdf,svg}
|
||||
Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: )
|
||||
--raw Flag to display raw data (default: False)
|
||||
```
|
||||
|
||||

|
||||
@@ -1,38 +0,0 @@
|
||||
```
|
||||
usage: cramer [-i] [-h] [--export {csv,json,xlsx}]
|
||||
```
|
||||
Show daily Cramer recommendations
|
||||
```
|
||||
optional arguments:
|
||||
-i, --inverse Show inverse recommendation (default: False)
|
||||
-h, --help show this help message (default: False)
|
||||
--export {csv,json,xlsx}
|
||||
Export raw data into csv, json, xlsx (default: )
|
||||
|
||||
```
|
||||
```
|
||||
2022 Mar 01, 21:41 (✨) /stocks/disc/ $ cramer --inverse
|
||||
|
||||
Cramer Recs for 03/01
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
|
||||
┃ Company ┃ Symbol ┃ Price ┃ LastPrice ┃ Change (%) ┃ Recommendation ┃ InverseCramer ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
|
||||
│ Academy Sports and Outdoo │ ASO │ 30.65 │ 30.65 │ 0.00 │ Buy │ Sell │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Salesforce │ CRM │ 208.89 │ 208.77 │ -0.06 │ Buy │ Sell │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Coterra Energy │ CTRA │ 24.36 │ 24.37 │ 0.04 │ Buy │ Sell │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Domino's Pizza │ DPZ │ 432.21 │ 432.18 │ -0.01 │ Buy │ Sell │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Nio │ NIO │ 21.87 │ 21.88 │ 0.05 │ Sell │ Buy │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Origin Materials │ ORGN │ 5.51 │ 5.50 │ -0.18 │ Sell │ Buy │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Rent-A-Center │ RCII │ 27.08 │ 27.09 │ 0.04 │ Sell │ Buy │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ B. Riley Financial │ RILY │ 59.07 │ 59.09 │ 0.03 │ Sell │ Buy │
|
||||
├────────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┼───────────────┤
|
||||
│ Stem │ STEM │ 9.33 │ 9.32 │ -0.11 │ Sell │ Buy │
|
||||
└────────────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┴───────────────┘
|
||||
```
|
||||
6
website/data/menu/main.yml
vendored
6
website/data/menu/main.yml
vendored
@@ -54,8 +54,6 @@ main:
|
||||
ref: "/stocks/discovery/rtat"
|
||||
- name: divcal
|
||||
ref: "/stocks/discovery/divcal"
|
||||
- name: cramer
|
||||
ref: "/stocks/discovery/cramer"
|
||||
- name: Sector and Industry Analysis (SIA)
|
||||
ref: "/stocks/sia"
|
||||
sub:
|
||||
@@ -516,6 +514,10 @@ main:
|
||||
ref: "/common/behavioural_analysis/stats"
|
||||
- name: snews
|
||||
ref: "/stocks/behavioural_analysis/snews"
|
||||
- name: jcdr
|
||||
ref: "/stocks/behavioural_analysis/jcdr"
|
||||
- name: jctr
|
||||
ref: "/stocks/behavioural_analysis/jctr"
|
||||
- name: interest
|
||||
ref: "/stocks/behavioural_analysis/interest"
|
||||
- name: wsb
|
||||
|
||||
Reference in New Issue
Block a user