diff --git a/gamestonk_terminal/stocks/discovery/cramer_model.py b/gamestonk_terminal/stocks/discovery/cramer_model.py new file mode 100644 index 00000000000..d87ae927e28 --- /dev/null +++ b/gamestonk_terminal/stocks/discovery/cramer_model.py @@ -0,0 +1,80 @@ +"""Cramer Model""" +__docformat__ = "numpy" + +import re + +import pandas as pd +import requests +import numpy as np +import yfinance as yf +from bs4 import BeautifulSoup + +from gamestonk_terminal.helper_funcs import get_user_agent + + +def get_cramer_daily(inverse: bool = True) -> pd.DataFrame: + """Scrape the daily recommendations of Jim Cramer + + Parameters + ---------- + inverse: bool + Whether to include inverse + + Returns + ------- + pd.DataFrame + Datafreme of daily Cramer recommendations + """ + cramer_link = "https://madmoney.thestreet.com/screener/index.cfm" + r = requests.get(cramer_link, headers={"User-Agent": get_user_agent()}) + if r.status_code != 200: + return pd.DataFrame() + soup = BeautifulSoup(r.text, "html.parser") + table = soup.find_all("table")[0] + trs = table.find_all("tr") + recs = { + "1": "Sell", + "2": "Sell", + "3": "Hold", + "4": "Buy", + "5": "Buy", + } + + rec = [] + + for tr in trs[1:]: + rec.append(recs[tr.find_all("td")[3].find("img")["src"][-5]]) + + df = pd.read_html("https://madmoney.thestreet.com/screener/index.cfm")[0] + df["Symbol"] = df.Company.apply(lambda x: re.findall(r"[\w]+", x)[-1]) + last_price = [] + for ticker in df.Symbol: + last_price.append( + round( + yf.download(ticker, period="1d", interval="1h", progress=False)[ + "Close" + ][-1], + 2, + ) + ) + df["LastPrice"] = last_price + df["Price"] = df.Price.apply(lambda x: float(x.strip("$"))) + df = df.drop(columns=["Segment", "Call", "Portfolio"]) + df["Change (%)"] = 100 * np.round((df["LastPrice"] - df["Price"]) / df.LastPrice, 4) + df["Recommendation"] = rec + df["Company"] = df.apply(lambda x: x.Company.replace(f"({x.Symbol})", ""), axis=1) + cols = [ + "Date", + "Company", + "Symbol", + "Price", + "LastPrice", + "Change (%)", + "Recommendation", + ] + if inverse: + df["InverseCramer"] = df["Recommendation"].apply( + lambda x: ["Buy", "Sell"][x == "Buy"] + ) + cols.append("InverseCramer") + return df[cols] diff --git a/gamestonk_terminal/stocks/discovery/cramer_view.py b/gamestonk_terminal/stocks/discovery/cramer_view.py new file mode 100644 index 00000000000..eeaa93f897b --- /dev/null +++ b/gamestonk_terminal/stocks/discovery/cramer_view.py @@ -0,0 +1,29 @@ +"""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) diff --git a/gamestonk_terminal/stocks/discovery/disc_api.py b/gamestonk_terminal/stocks/discovery/disc_api.py index dc8ec2ff249..8f06c4ee636 100644 --- a/gamestonk_terminal/stocks/discovery/disc_api.py +++ b/gamestonk_terminal/stocks/discovery/disc_api.py @@ -23,6 +23,7 @@ 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__))) diff --git a/gamestonk_terminal/stocks/discovery/disc_controller.py b/gamestonk_terminal/stocks/discovery/disc_controller.py index 96023a14b08..5330e06d2bb 100644 --- a/gamestonk_terminal/stocks/discovery/disc_controller.py +++ b/gamestonk_terminal/stocks/discovery/disc_controller.py @@ -30,6 +30,7 @@ from gamestonk_terminal.stocks.discovery import ( seeking_alpha_view, shortinterest_view, yahoofinance_view, + cramer_view, ) # pylint:disable=C0302 @@ -60,6 +61,7 @@ class DiscoveryController(BaseController): "cnews", "rtat", "divcal", + "cramer", ] arkord_sortby_choices = [ @@ -159,7 +161,9 @@ 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[/cmds] + divcal dividend calendar for selected date +[src][Jim Cramer][/src] + cramer Jim Cramer's daily recommendations[/cmds] """ console.print(text=help_text, menu="Stocks - Discovery") @@ -883,3 +887,30 @@ 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) diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders.yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders.yaml new file mode 100644 index 00000000000..07421ddd4cc --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders.yaml @@ -0,0 +1,2307 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:52:28 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=01faf820-93d5-4ef2-a1bb-5d68be342265;Path=/;Expires=Tue, 22-Mar-2022 + 04:30:32 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:30:32 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:52:28 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=884f8aa9-3f6c-41ed-86d9-836f9645b497;Path=/;Expires=Tue, 22-Mar-2022 + 04:30:32 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:30:32 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: !!binary | + H4sIAAAAAAAAAK1UTVPbMBD9Lz67qT5XEjemdNoeoLQJB4bJdNxEJB5sK5UVIGXy39lVQoCQDpfm + oEhPu2/fPq/9UEzmVUzF0UMRfb9scHf1ULQ+VQRNljH6brIqjoqL4UlRFv2q/R0aPB4Pv+PR32N2 + N/NnVesRPDsdIlh3fYrL1ndptFoQ/PnHxbfRJd5c17FPo1hN/UmV8IYD46C0YqzE6rNlU8XTKt74 + NKrbfK2Ag1VMlsWsTeH6uveo7wO3jDISBv0NXa4wHL1QM9pebFUdtz7Wk+rjmb/7dRniTbFX7Bxv + MU6yAehyY8d59Ld1WPafmtDTlRhIUxaLg2g/qRo60T0Sfa071CjKrXe53bqbnaOGMCVPkYX+3qjv + U34OuWmhBXXou+kWUDq3/MaF9a6Xdzm3FM+c5Ow/OBehT+8SbvOfCa2whwmRMb20occhu/pvcsfj + sphWqfoSq46cqBPNK5/Tc6ZxoMMUD7dVU09/EkL1N5imhbcBV5lXyCtf4SJoWSWKaKv7YrzejByK + bBdI8ELlZmvhaauF2G213W2detqC3KUBYNqY3popDmkKsSfj/ywDvSBoUhPu8F/ygTGYw5Q2BiQY + USLEOEFCWGu5lVDiCDtOoJNgrcNxRsTmPCudkFIRoLXDnwLUI6SVBIHYi8l9MQPCSae0RH2TzdCT + EiuIAGMNA6Y1KeGvCVCa2FOLQiy96cYI5pQRhiDjKMqhS8JIpQ5KAUXFcLq0ZBiFUm5Ds2yzFuMA + TKmcFMBLibYrWwqtuOWlEJo7XQqD8okHO7aYO69nc8oUA5DEK9EmZVXWbHmuhIFCiWxw1vJsQ+40 + S0ZOpg3w3IXLhjJkMQI05Kj8ZIAzqbmG3L7RWD4sfLcpz3OSVUZxwfnh8pmEScsVuOwY+pqddHrf + XGNzQQv4PdXMZuNeaxivx+s1SvAxBvxa4KvSrNePDDgkLf8FAAA= + headers: + Age: + - '3' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=15, stale-if-error=3600 + content-encoding: + - gzip + content-length: + - '722' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:28 GMT + server: + - ATS + vary: + - Origin + x-envoy-decorator-operation: + - finance-yql--mtls-intel-production-ne1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '597' + x-yahoo-request-id: + - e92apg5h1tmvc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844],"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:28 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '16' + x-request-id: + - 73b9c950-4b5e-4609-ad49-1d05cff3b969 + x-yahoo-request-id: + - 80nve11h1tmvd + y-rid: + - 80nve11h1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 03e1d979-b736-4845-8e6a-98938bd629d7 + x-yahoo-request-id: + - 3uiaamlh1tmvd + y-rid: + - 3uiaamlh1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781],"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 58bc628d-f6f7-4800-a471-2d4df1fa0fbb + x-yahoo-request-id: + - e0osbhlh1tmvd + y-rid: + - e0osbhlh1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334],"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - f8d16210-ef46-428b-9d68-75a44fa7b863 + x-yahoo-request-id: + - bg8fbeph1tmvd + y-rid: + - bg8fbeph1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836],"volume":[431830,236921,162993,118548,199846,284061,233236,0],"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 6f471fba-6d30-45a2-8a3b-b06e96334e18 + x-yahoo-request-id: + - 2bnav99h1tmvd + y-rid: + - 2bnav99h1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '14' + x-request-id: + - 84cf1261-403f-409b-8d89-c5cf9b8f2cab + x-yahoo-request-id: + - 9shutk1h1tmvd + y-rid: + - 9shutk1h1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[46896,42972,20487,29635,42308,25458,54397,0],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422],"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '17' + x-request-id: + - 913c8927-c129-4bc1-a98f-140518502207 + x-yahoo-request-id: + - fuvftn5h1tmvd + y-rid: + - fuvftn5h1tmvd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[974935,755960,652251,356752,369068,533014,880158,0],"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:52:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 088c5c5d-f400-44d9-8477-defee7a62c17 + x-yahoo-request-id: + - f7ktsmth1tmvd + y-rid: + - f7ktsmth1tmvd + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[False].yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[False].yaml new file mode 100644 index 00000000000..c23b425141f --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[False].yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:58:45 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=aeb803ac-f828-4287-87b7-8c101e3d25f4;Path=/;Expires=Tue, 22-Mar-2022 + 04:36:49 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:36:49 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:58:45 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=87ed4d29-9cea-4dc3-a8c9-956bb5bed08a;Path=/;Expires=Tue, 22-Mar-2022 + 04:36:49 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:36:49 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273],"volume":[379667,493261,352248,254181,225195,274534,309948,0],"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273],"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - e2b99c76-34a3-41d3-b924-39ffee2411ea + x-yahoo-request-id: + - dhm53ith1tnb5 + y-rid: + - dhm53ith1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 5ef4568e-1a18-4409-88c6-4ca913e11e77 + x-yahoo-request-id: + - 7h4ra5th1tnb5 + y-rid: + - 7h4ra5th1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562],"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - 5c500794-8859-4c01-9c0e-0793f8784c11 + x-yahoo-request-id: + - 23vv1p5h1tnb5 + y-rid: + - 23vv1p5h1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 3b2dc43c-3425-49c0-900a-9272067b0ee0 + x-yahoo-request-id: + - 5sopa79h1tnb5 + y-rid: + - 5sopa79h1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 4086c41f-9d1e-4370-9bf7-f503475c392f + x-yahoo-request-id: + - e1ndldhh1tnb4 + y-rid: + - e1ndldhh1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[431830,236921,162993,118548,199846,284061,233236,0],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 3dce070c-cec9-4b84-a430-4126f039d239 + x-yahoo-request-id: + - auclu2th1tnb5 + y-rid: + - auclu2th1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 0c1d6724-9222-4315-a668-f2da8dd7f5ad + x-yahoo-request-id: + - 3p822l5h1tnb5 + y-rid: + - 3p822l5h1tnb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"volume":[46896,42972,20487,29635,42308,25458,54397,0],"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:45 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 6b20e903-46a6-48a6-84c1-bd4aa2cc78f5 + x-yahoo-request-id: + - 2gi0djlh1tnb6 + y-rid: + - 2gi0djlh1tnb6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055],"volume":[974935,755960,652251,356752,369068,533014,880158,0],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:46 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 579ecaa5-1a47-4d96-a6ac-ac394aa36118 + x-yahoo-request-id: + - bdrb1fph1tnb6 + y-rid: + - bdrb1fph1tnb6 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[True].yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[True].yaml new file mode 100644 index 00000000000..195aa0e2071 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders[True].yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:58:43 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=bbe425cd-fbce-4960-bc87-cdf3a548d165;Path=/;Expires=Tue, 22-Mar-2022 + 04:36:47 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:36:47 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:58:43 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=22930174-6706-47a1-b308-a635c17b8746;Path=/;Expires=Tue, 22-Mar-2022 + 04:36:48 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:36:48 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273],"volume":[379667,493261,352248,254181,225195,274534,309948,0],"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273],"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 137cb8a9-91f0-4897-9780-ccd95fa1f39e + x-yahoo-request-id: + - fbalvndh1tnb4 + y-rid: + - fbalvndh1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - f41b8483-2920-4977-9e05-c6ed9fc0a1c8 + x-yahoo-request-id: + - a9llep1h1tnb4 + y-rid: + - a9llep1h1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 34001d18-0082-4ce3-a764-c1b9f9aaa58d + x-yahoo-request-id: + - 59f7lf9h1tnb4 + y-rid: + - 59f7lf9h1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781],"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '9' + x-request-id: + - 6dcdae9c-3ffc-4557-84ee-63228f8e006f + x-yahoo-request-id: + - 28njlk1h1tnb4 + y-rid: + - 28njlk1h1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 4086c41f-9d1e-4370-9bf7-f503475c392f + x-yahoo-request-id: + - e1ndldhh1tnb4 + y-rid: + - e1ndldhh1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"volume":[431830,236921,162993,118548,199846,284061,233236,0],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 875c4bf3-c86b-4333-9ee3-a0df9c52f877 + x-yahoo-request-id: + - 2np6qahh1tnb4 + y-rid: + - 2np6qahh1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - cdb14b0f-d513-468f-8d9a-c699812a06fd + x-yahoo-request-id: + - 1a6nbv5h1tnb4 + y-rid: + - 1a6nbv5h1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422],"volume":[46896,42972,20487,29635,42308,25458,54397,0],"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 178ec02a-904f-4c55-a13f-d8fe709b4d95 + x-yahoo-request-id: + - 9t3h7p1h1tnb4 + y-rid: + - 9t3h7p1h1tnb4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"volume":[974935,755960,652251,356752,369068,533014,880158,0],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055]}]}}],"error":null}}' + headers: + Age: + - '2' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:58:44 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - cb75910d-4956-4577-a48d-9fc745e44df0 + x-yahoo-request-id: + - d4f1889h1tnb4 + y-rid: + - d4f1889h1tnb4 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders__no_inverse.yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders__no_inverse.yaml new file mode 100644 index 00000000000..d61ff587ab7 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders__no_inverse.yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:56:11 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=cd3d2953-37f5-46a9-afd1-ab505685a366;Path=/;Expires=Tue, 22-Mar-2022 + 04:34:14 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:34:14 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:56:11 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=08f0b1a6-4030-4a12-a34e-e516c3cfcf77;Path=/;Expires=Tue, 22-Mar-2022 + 04:34:15 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:34:15 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[379667,493261,352248,254181,225195,274534,309948,0],"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273],"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273],"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 725a8ad5-4f88-4c5c-ada9-6bdec3662dc4 + x-yahoo-request-id: + - 5j3lk89h1tn6b + y-rid: + - 5j3lk89h1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '16' + x-request-id: + - cae5bf9b-ff8e-4ff1-bb91-334933cd0c7d + x-yahoo-request-id: + - 8dmu0gph1tn6b + y-rid: + - 8dmu0gph1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 3585de82-0634-49c0-8f4a-7e457505170c + x-yahoo-request-id: + - 48pu905h1tn6b + y-rid: + - 48pu905h1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[441083,438344,121089,75572,71184,111446,188832,0],"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781],"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-canary-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - e3fddd66-7b31-48a8-b203-983c66b0f3c5 + x-yahoo-request-id: + - bjnrsc5h1tn6b + y-rid: + - bjnrsc5h1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334],"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 559f462c-7e00-4d30-a179-45cdd50b592b + x-yahoo-request-id: + - 32hitvph1tn6b + y-rid: + - 32hitvph1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836],"volume":[431830,236921,162993,118548,199846,284061,233236,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 77c2477a-94ee-48da-863e-a7dd2a28d27c + x-yahoo-request-id: + - 15nif2dh1tn6b + y-rid: + - 15nif2dh1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - cee66146-47ea-4d84-96f6-464d673771cc + x-yahoo-request-id: + - f56b9vlh1tn6b + y-rid: + - f56b9vlh1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422],"volume":[46896,42972,20487,29635,42308,25458,54397,0],"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 81b15016-d492-4627-8fd8-3ae4dcadb5aa + x-yahoo-request-id: + - b2apiq9h1tn6b + y-rid: + - b2apiq9h1tn6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[974935,755960,652251,356752,369068,533014,880158,0],"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:11 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - ad7151e1-cd57-45fa-abbc-ae8be638866e + x-yahoo-request-id: + - cu1vn65h1tn6b + y-rid: + - cu1vn65h1tn6b + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders_inverse.yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders_inverse.yaml new file mode 100644 index 00000000000..98b45be90e1 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_model/test_get_orders_inverse.yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:56:09 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=12c2409f-e515-4041-b5cd-c74f54a79777;Path=/;Expires=Tue, 22-Mar-2022 + 04:34:13 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:34:13 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 02:56:09 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=2c2be6dd-026b-457a-8668-a75ca1ac9526;Path=/;Expires=Tue, 22-Mar-2022 + 04:34:14 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:34:14 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273],"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273],"volume":[379667,493261,352248,254181,225195,274534,309948,0],"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:09 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - d7593024-80d5-4a6b-891d-7b95ef98bd41 + x-yahoo-request-id: + - 1o2jf4th1tn69 + y-rid: + - 1o2jf4th1tn69 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '14' + x-request-id: + - 3731b3dc-7cf0-4857-88f8-66766b16c02b + x-yahoo-request-id: + - 7r36a9th1tn6a + y-rid: + - 7r36a9th1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562],"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:09 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 639e88bf-5db1-4101-92c2-2679ffa152be + x-yahoo-request-id: + - 80cag3hh1tn6a + y-rid: + - 80cag3hh1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781],"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781],"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 9be34c82-b925-42c0-8795-9102a1d13e3b + x-yahoo-request-id: + - 33lp7eth1tn6a + y-rid: + - 33lp7eth1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334],"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 647568e3-8802-4b60-b1e7-6d60aab174d8 + x-yahoo-request-id: + - 4fgq8p9h1tn6a + y-rid: + - 4fgq8p9h1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[431830,236921,162993,118548,199846,284061,233236,0],"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 400fc015-9964-417c-a99b-7b3f9477091c + x-yahoo-request-id: + - 18k4i85h1tn6a + y-rid: + - 18k4i85h1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055],"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 47175b01-8998-432c-8fcb-a402aeaf6ece + x-yahoo-request-id: + - fpmn749h1tn6a + y-rid: + - fpmn749h1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[46896,42972,20487,29635,42308,25458,54397,0],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422],"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 4f5395f4-d283-47b1-9a23-1727e94def0c + x-yahoo-request-id: + - 8j0os19h1tn6a + y-rid: + - 8j0os19h1tn6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055],"volume":[974935,755960,652251,356752,369068,533014,880158,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 02:56:10 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '14' + x-request-id: + - 524b307b-9712-4faa-b4fa-8b48b4f688df + x-yahoo-request-id: + - d1tqtoth1tn6a + y-rid: + - d1tqtoth1tn6a + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[False].yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[False].yaml new file mode 100644 index 00000000000..bfd04716483 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[False].yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 03:03:40 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=fb7119d1-7d29-4d60-b5ec-84d0e23ebd0e;Path=/;Expires=Tue, 22-Mar-2022 + 04:41:44 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:41:44 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 03:03:40 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=3635dd9c-aa67-4812-816f-12d19c769bfd;Path=/;Expires=Tue, 22-Mar-2022 + 04:41:44 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:41:44 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273],"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273],"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273],"volume":[379667,493261,352248,254181,225195,274534,309948,0]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 5e8aa9c9-11d4-413f-8157-3551611d17e8 + x-yahoo-request-id: + - 9hps49hh1tnkc + y-rid: + - 9hps49hh1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 81ef4334-a8a5-417b-b2ca-303ae71fdd4b + x-yahoo-request-id: + - 321ugflh1tnkc + y-rid: + - 321ugflh1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0],"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - e61aee1f-b8de-4ebf-a1e1-5bbfcceb63ca + x-yahoo-request-id: + - fjarqodh1tnkc + y-rid: + - fjarqodh1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0],"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '17' + x-request-id: + - 111848f6-b6b9-4258-8d6c-0f115484bab5 + x-yahoo-request-id: + - c990dbph1tnkc + y-rid: + - c990dbph1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334],"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '17' + x-request-id: + - 782d9b56-8104-4b0c-bcb4-675432b2ca92 + x-yahoo-request-id: + - e32f521h1tnkc + y-rid: + - e32f521h1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836],"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836],"volume":[431830,236921,162993,118548,199846,284061,233236,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 23d8bfd6-8ffe-4d2a-b8f9-d989c050a52c + x-yahoo-request-id: + - 9e1tmc5h1tnkc + y-rid: + - 9e1tmc5h1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '9' + x-request-id: + - 21d3cd98-c86b-4ffe-be06-a4e7dd9564ca + x-yahoo-request-id: + - b2kchndh1tnkc + y-rid: + - b2kchndh1tnkc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422],"volume":[46896,42972,20487,29635,42308,25458,54397,0],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:40 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '16' + x-request-id: + - 5f08d03e-e63a-4f33-bcdd-aa2c748d78d0 + x-yahoo-request-id: + - bvp0qfhh1tnkd + y-rid: + - bvp0qfhh1tnkd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"volume":[974935,755960,652251,356752,369068,533014,880158,0],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055],"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:41 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - bece30bd-1603-4dbb-897b-ffdc0f6cbd3f + x-yahoo-request-id: + - 5i4qh1dh1tnkd + y-rid: + - 5i4qh1dh1tnkd + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[True].yaml b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[True].yaml new file mode 100644 index 00000000000..bf335c08909 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/cassettes/test_cramer_view/test_get_orders[True].yaml @@ -0,0 +1,2296 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - keep-alive + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 03:03:38 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=512db4d8-51c6-4566-987c-2f34dbfb11a8;Path=/;Expires=Tue, 22-Mar-2022 + 04:41:42 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:41:42 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Connection: + - close + Host: + - madmoney.thestreet.com + method: GET + uri: https://madmoney.thestreet.com/screener/index.cfm + response: + body: + string: "\n\n\n\n\n\n\t\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t \n\t \n\t + \n\t\n\t\n \n \n \n \n \n \n \n \n \n \n \n + \ \n \n \n \n \n \n \n\n\t\n \n \n \n + \ \n\n\n\n\n\nMad Money Stock Screener\n\n\n\n\n\n\n\n\n\n + \ \n \n\n\n\n\n\n\n\n\n
\n\n\t
\n \"Exclusive\n\t\t

Cramer's + Calls For: 03/01/2022

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n + \ \n \n \n \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \n \n\t\t\t\t\n\t\t\t\n + \ \n \n\t\t\t\n + \ \t\t\t\t\n \n \n \t\n \n + \ \n \n\t\t\t\t\n\t\t
CompanyDateSegmentCallPricePortfolio
Academy + Sports and Outdoo (ASO)03/01\"L\" \"5\" $30.65add
Salesforce (CRM)03/01\"I\" \"5\" $208.89add
Coterra Energy (CTRA)03/01\"I\" \"5\" $24.36add
Domino's Pizza (DPZ)03/01\"I\" \"5\" $432.21add
Nio (NIO)03/01\"L\" \"1\" $21.87add
Origin Materials (ORGN)03/01\"L\" \"2\" $5.51add
Rent-A-Center (RCII)03/01\"L\" \"1\" $27.08add
B. Riley Financial (RILY)03/01\"L\" \"2\" $59.07add
Stem (STEM)03/01\"L\" \"2\" $9.33add
\n \n\t\t\n \n + \ \t\n\t\t\t\n \tShow All\n \n\t\t\n\t\tView + Portfolio & Email Alerts\n\t\tHow to Read Our Charts\n\t\t\n\t\t\n\t
\n\t\n\t
\n \n \t
\n \n \n \n + \
\n\t\t\n\t\t
Search + Criteria
\n
\n\t\t\n\n\t\t\t\n + \ \n \t\t\t\n + \ \n\t\t\t\n\n\t\t\t\n \n\t\t\t\n \n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\t\n \n \n \n\t\t
Stock + Symbol: \n\t\t\t\t\n\t\t\t
Showdate: + \n\t\t\t\t\n\t\t\t
Call: \n\t\t\t\t\n\t\t\t
Industry: \n\t\t\t\t\n\t\t\t
Sector: \n\t\t\t\t\n\t\t\t
Segment: \n\t\t\t\t\n\t\t\t
Price Greater: \n\t\t\t\t\n\t\t\t
Price Less: \n\t\t\t\t\n\t\t\t
Sort By: \n\t\t\t\t \n\t\t\t
\n \tReset Search Criteria\n\t\t\t
\n\t\t\n\t\t
\n\t
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\n\t\n\n\n\n\n\n" + headers: + Cache-Control: + - private + Connection: + - Close + Content-Length: + - '69950' + Content-Type: + - text/html;charset=UTF-8 + Date: + - Wed, 02 Mar 2022 03:03:38 GMT + Server: + - Microsoft-IIS/8.5 + Set-Cookie: + - cfid=eb4fc3cf-6705-43db-af10-41a06390a522;Path=/;Expires=Tue, 22-Mar-2022 + 04:41:42 UTC;HTTPOnly + - cftoken=0;Path=/;Expires=Tue, 22-Mar-2022 04:41:42 UTC;HTTPOnly + X-AspNet-Version: + - 4.0.30319 + X-Powered-By: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ASO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ASO","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":1601645400,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":30.65,"chartPreviousClose":32.37,"previousClose":32.37,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[31.770000457763672,31.020000457763672,30.91010093688965,30.8700008392334,30.559999465942383,30.6200008392334,30.450000762939453,30.649999618530273],"close":[31.829999923706055,31.1200008392334,31.020000457763672,30.885400772094727,30.790000915527344,30.6200008392334,30.649999618530273,30.649999618530273],"volume":[379667,493261,352248,254181,225195,274534,309948,0],"open":[32.15999984741211,31.81999969482422,31.100000381469727,31.0,30.895000457763672,30.780000686645508,30.610000610351562,30.649999618530273],"high":[32.63999938964844,31.81999969482422,31.200000762939453,31.219999313354492,30.959999084472656,31.110000610351562,30.75,30.649999618530273]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1624' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:38 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '10' + x-request-id: + - 946f99d3-e45b-49a8-a780-60c3ffc4c1d8 + x-yahoo-request-id: + - 0mf6uvdh1tnka + y-rid: + - 0mf6uvdh1tnka + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CRM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CRM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1087997400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":208.89,"chartPreviousClose":210.53,"previousClose":210.53,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[209.8300018310547,209.99000549316406,208.67999267578125,210.34500122070312,210.1300048828125,210.22999572753906,208.4600067138672,208.88999938964844],"close":[212.1479949951172,210.63499450683594,210.89999389648438,210.50999450683594,211.52999877929688,210.2899932861328,208.77000427246094,208.88999938964844],"volume":[1831712,1203936,845396,832877,937611,1587293,2330798,0],"high":[214.38999938964844,212.6999969482422,211.07000732421875,212.3300018310547,211.8000030517578,213.0399932861328,210.9199981689453,208.88999938964844],"open":[213.39999389648438,212.11000061035156,210.67999267578125,210.875,210.41000366210938,211.5800018310547,210.27999877929688,208.88999938964844]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1660' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:38 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 17cc13af-60bb-4bea-9ce6-2a9ab51182f1 + x-yahoo-request-id: + - 153hdqdh1tnkb + y-rid: + - 153hdqdh1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/CTRA?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"CTRA","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":634487400,"regularMarketTime":1646168762,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":24.36,"chartPreviousClose":23.33,"previousClose":23.33,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[23.68000030517578,24.0,23.815000534057617,23.59000015258789,23.594999313354492,23.7549991607666,24.31999969482422,24.360000610351562],"low":[23.510000228881836,23.649999618530273,23.43000030517578,23.5,23.399999618530273,23.71500015258789,24.295000076293945,24.360000610351562],"close":[24.0,23.809999465942383,23.59000015258789,23.594999313354492,23.7549991607666,24.322999954223633,24.3700008392334,24.360000610351562],"high":[24.360000610351562,24.010000228881836,23.850000381469727,23.860000610351562,23.770000457763672,24.354999542236328,24.575000762939453,24.360000610351562],"volume":[2114892,1796224,1790945,1219923,1196801,2451479,3047728,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1628' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - a8ac6519-1513-4439-873c-103febec1dee + x-yahoo-request-id: + - e6rdpsph1tnkb + y-rid: + - e6rdpsph1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/DPZ?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"DPZ","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1089725400,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":432.21,"chartPreviousClose":432.21,"previousClose":432.21,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[391.6300048828125,413.3900146484375,428.8399963378906,430.1600036621094,430.6199951171875,430.0400085449219,430.2149963378906,432.2099914550781],"volume":[441083,438344,121089,75572,71184,111446,188832,0],"close":[420.70001220703125,442.3550109863281,431.6499938964844,430.8599853515625,435.5400085449219,432.3999938964844,432.17999267578125,432.2099914550781],"open":[394.5,420.635009765625,442.2300109863281,431.82000732421875,430.81500244140625,435.7799987792969,432.0299987792969,432.2099914550781],"high":[424.3900146484375,448.989990234375,442.8450012207031,434.3900146484375,436.989990234375,437.8599853515625,435.0450134277344,432.2099914550781]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1633' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:38 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - 60a04470-e980-483a-b39f-168ef7a2be54 + x-yahoo-request-id: + - 4sjfsudh1tnkb + y-rid: + - 4sjfsudh1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/NIO?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"NIO","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1536759000,"regularMarketTime":1646168573,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":21.87,"chartPreviousClose":22.84,"previousClose":22.84,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[22.690000534057617,22.218900680541992,22.099000930786133,21.989999771118164,22.1200008392334,22.028600692749023,21.8799991607666,21.8700008392334],"high":[23.344999313354492,22.760000228881836,22.219999313354492,22.239999771118164,22.16010093688965,22.459999084472656,22.040000915527344,21.8700008392334],"low":[21.95009994506836,22.170000076293945,21.84000015258789,21.921499252319336,21.885000228881836,22.01099967956543,21.729999542236328,21.8700008392334],"volume":[18754664,6998788,6283275,4095965,4145296,4940953,4204764,0],"open":[22.559999465942383,22.700000762939453,22.219999313354492,22.09000015258789,21.979999542236328,22.1200008392334,22.02120018005371,21.8700008392334]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1657' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '13' + x-request-id: + - 4ae690e4-bef3-4ccb-b3c7-a4a35ba60b3d + x-yahoo-request-id: + - 8d231lth1tnkb + y-rid: + - 8d231lth1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/ORGN?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"ORGN","exchangeName":"NCM","instrumentType":"EQUITY","firstTradeDate":1599226200,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":5.51,"chartPreviousClose":5.19,"previousClose":5.19,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1646145000,"start":1646125200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1646182800,"start":1646168400,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","end":1646168400,"start":1646145000,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"open":[5.25,5.432000160217285,5.355000019073486,5.320000171661377,5.309999942779541,5.369999885559082,5.400000095367432,5.510000228881836],"volume":[431830,236921,162993,118548,199846,284061,233236,0],"close":[5.429999828338623,5.349999904632568,5.309999942779541,5.309999942779541,5.369999885559082,5.40500020980835,5.5,5.510000228881836],"low":[5.21999979019165,5.340000152587891,5.21999979019165,5.300000190734863,5.289999961853027,5.360000133514404,5.389999866485596,5.510000228881836],"high":[5.480000019073486,5.494999885559082,5.360000133514404,5.369999885559082,5.369999885559082,5.449999809265137,5.5,5.510000228881836]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1586' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - 0c65d495-cc49-4516-ab54-48a048303362 + x-yahoo-request-id: + - 2hlfe0dh1tnkb + y-rid: + - 2hlfe0dh1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RCII?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RCII","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":791044200,"regularMarketTime":1646168404,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":27.08,"chartPreviousClose":28.41,"previousClose":28.41,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"low":[26.799999237060547,26.510000228881836,26.059999465942383,26.05500030517578,26.260000228881836,26.81999969482422,26.760000228881836,27.079999923706055],"volume":[0,110642,176888,247509,155780,283777,286169,0],"close":[26.975000381469727,26.540000915527344,26.114999771118164,26.704999923706055,26.81999969482422,27.010000228881836,27.09000015258789,27.079999923706055],"open":[28.229999542236328,27.040000915527344,26.559999465942383,26.079999923706055,26.700000762939453,26.8799991607666,27.010000228881836,27.079999923706055],"high":[28.280000686645508,27.049999237060547,26.56999969482422,26.809999465942383,26.829999923706055,27.270000457763672,27.190000534057617,27.079999923706055]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1663' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 34477c66-088e-4899-b2e6-9a8c9e02205e + x-yahoo-request-id: + - 69apschh1tnkb + y-rid: + - 69apschh1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/RILY?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"RILY","exchangeName":"NGM","instrumentType":"EQUITY","firstTradeDate":1187011800,"regularMarketTime":1646168403,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":59.07,"chartPreviousClose":59.55,"previousClose":59.55,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[59.720001220703125,58.810001373291016,58.779998779296875,59.0,58.939998626708984,58.970001220703125,59.09000015258789,59.06999969482422],"high":[60.38249969482422,59.86000061035156,58.93000030517578,59.2599983215332,59.119998931884766,59.36000061035156,59.439998626708984,59.06999969482422],"low":[58.58000183105469,58.349998474121094,58.27000045776367,58.779998779296875,58.0,58.58000183105469,58.54999923706055,59.06999969482422],"volume":[46896,42972,20487,29635,42308,25458,54397,0],"open":[59.470001220703125,59.72999954223633,58.75,58.84000015258789,59.06999969482422,58.790000915527344,58.91999816894531,59.06999969482422]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1609' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '11' + x-request-id: + - 77000a5f-4334-4c84-8cdd-9d5ad8ec5a1f + x-yahoo-request-id: + - 0c32pglh1tnkb + y-rid: + - 0c32pglh1tnkb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/STEM?range=1d&interval=1h&includePrePost=False&events=div%2Csplits + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"STEM","exchangeName":"NYQ","instrumentType":"EQUITY","firstTradeDate":1602163800,"regularMarketTime":1646168402,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":9.33,"chartPreviousClose":9.52,"previousClose":9.52,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1646125200,"end":1646145000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1646168400,"end":1646182800,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1646145000,"end":1646168400,"gmtoffset":-18000}]],"dataGranularity":"1h","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","ytd","max"]},"timestamp":[1646145000,1646148600,1646152200,1646155800,1646159400,1646163000,1646166600,1646168400],"indicators":{"quote":[{"close":[9.729999542236328,9.289899826049805,9.25,9.414999961853027,9.470000267028809,9.390000343322754,9.319999694824219,9.329999923706055],"high":[9.744999885559082,9.779999732971191,9.289999961853027,9.460000038146973,9.489999771118164,9.550000190734863,9.414999961853027,9.329999923706055],"low":[9.470000267028809,9.260000228881836,9.100000381469727,9.15999984741211,9.310099601745605,9.369999885559082,9.255000114440918,9.329999923706055],"open":[9.5,9.734999656677246,9.279999732971191,9.239999771118164,9.420000076293945,9.470000267028809,9.385000228881836,9.329999923706055],"volume":[974935,755960,652251,356752,369068,533014,880158,0]}]}}],"error":null}}' + headers: + Age: + - '0' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=15552000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '1602' + content-type: + - application/json;charset=utf-8 + date: + - Wed, 02 Mar 2022 03:03:39 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-canary-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '12' + x-request-id: + - cfb9390c-b55f-492e-8201-152471b5fa79 + x-yahoo-request-id: + - 6vujqghh1tnkb + y-rid: + - 6vujqghh1tnkb + status: + code: 200 + message: OK +version: 1 diff --git a/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[False].csv b/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[False].csv new file mode 100644 index 00000000000..4b99bd63b37 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[False].csv @@ -0,0 +1,10 @@ +,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation +0,03/01,Academy Sports and Outdoo ,ASO,30.65,30.65,0.0,Buy +1,03/01,Salesforce ,CRM,208.89,208.89,0.0,Buy +2,03/01,Coterra Energy ,CTRA,24.36,24.36,0.0,Buy +3,03/01,Domino's Pizza ,DPZ,432.21,432.21,0.0,Buy +4,03/01,Nio ,NIO,21.87,21.87,0.0,Sell +5,03/01,Origin Materials ,ORGN,5.51,5.51,0.0,Sell +6,03/01,Rent-A-Center ,RCII,27.08,27.08,0.0,Sell +7,03/01,B. Riley Financial ,RILY,59.07,59.07,0.0,Sell +8,03/01,Stem ,STEM,9.33,9.33,0.0,Sell diff --git a/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[True].csv b/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[True].csv new file mode 100644 index 00000000000..2fe3eb10a30 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/csv/test_cramer_model/test_get_orders[True].csv @@ -0,0 +1,10 @@ +,Date,Company,Symbol,Price,LastPrice,Change (%),Recommendation,InverseCramer +0,03/01,Academy Sports and Outdoo ,ASO,30.65,30.65,0.0,Buy,Sell +1,03/01,Salesforce ,CRM,208.89,208.89,0.0,Buy,Sell +2,03/01,Coterra Energy ,CTRA,24.36,24.36,0.0,Buy,Sell +3,03/01,Domino's Pizza ,DPZ,432.21,432.21,0.0,Buy,Sell +4,03/01,Nio ,NIO,21.87,21.87,0.0,Sell,Buy +5,03/01,Origin Materials ,ORGN,5.51,5.51,0.0,Sell,Buy +6,03/01,Rent-A-Center ,RCII,27.08,27.08,0.0,Sell,Buy +7,03/01,B. Riley Financial ,RILY,59.07,59.07,0.0,Sell,Buy +8,03/01,Stem ,STEM,9.33,9.33,0.0,Sell,Buy diff --git a/tests/gamestonk_terminal/stocks/discovery/test_cramer_model.py b/tests/gamestonk_terminal/stocks/discovery/test_cramer_model.py new file mode 100644 index 00000000000..0863d03ae63 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/test_cramer_model.py @@ -0,0 +1,22 @@ +# IMPORTATION THIRDPARTY +import pytest + +# IMPORTATION INTERNAL +from gamestonk_terminal.stocks.discovery import cramer_model + + +@pytest.fixture(scope="module") +def vcr_config(): + return { + "filter_headers": [("User-Agent", None)], + } + + +@pytest.mark.vcr() +@pytest.mark.parametrize( + "inverse", + [True, False], +) +def test_get_orders(recorder, inverse): + recommendations = cramer_model.get_cramer_daily(inverse=inverse) + recorder.capture(recommendations) diff --git a/tests/gamestonk_terminal/stocks/discovery/test_cramer_view.py b/tests/gamestonk_terminal/stocks/discovery/test_cramer_view.py new file mode 100644 index 00000000000..a128e4f4877 --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/test_cramer_view.py @@ -0,0 +1,22 @@ +# 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) diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[False].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[False].txt new file mode 100644 index 00000000000..78053ed25dd --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[False].txt @@ -0,0 +1,12 @@ + + Company Symbol Price LastPrice Change (%) Recommendation +0 Academy Sports and Outdoo ASO 30.65 30.65 0.0 Buy +1 Salesforce CRM 208.89 208.89 0.0 Buy +2 Coterra Energy CTRA 24.36 24.36 0.0 Buy +3 Domino's Pizza DPZ 432.21 432.21 0.0 Buy +4 Nio NIO 21.87 21.87 0.0 Sell +5 Origin Materials ORGN 5.51 5.51 0.0 Sell +6 Rent-A-Center RCII 27.08 27.08 0.0 Sell +7 B. Riley Financial RILY 59.07 59.07 0.0 Sell +8 Stem STEM 9.33 9.33 0.0 Sell + diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[True].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[True].txt new file mode 100644 index 00000000000..6d910b5b51b --- /dev/null +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_cramer_view/test_get_orders[True].txt @@ -0,0 +1,12 @@ + + Company Symbol Price LastPrice Change (%) Recommendation InverseCramer +0 Academy Sports and Outdoo ASO 30.65 30.65 0.0 Buy Sell +1 Salesforce CRM 208.89 208.89 0.0 Buy Sell +2 Coterra Energy CTRA 24.36 24.36 0.0 Buy Sell +3 Domino's Pizza DPZ 432.21 432.21 0.0 Buy Sell +4 Nio NIO 21.87 21.87 0.0 Sell Buy +5 Origin Materials ORGN 5.51 5.51 0.0 Sell Buy +6 Rent-A-Center RCII 27.08 27.08 0.0 Sell Buy +7 B. Riley Financial RILY 59.07 59.07 0.0 Sell Buy +8 Stem STEM 9.33 9.33 0.0 Sell Buy + diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_disc_controller/test_print_help.txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_disc_controller/test_print_help.txt index e6452ab7f82..9f16d3889ef 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_disc_controller/test_print_help.txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_disc_controller/test_print_help.txt @@ -25,4 +25,6 @@ [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 diff --git a/website/content/stocks/discovery/cramer/_index.md b/website/content/stocks/discovery/cramer/_index.md new file mode 100644 index 00000000000..a7cebaa2386 --- /dev/null +++ b/website/content/stocks/discovery/cramer/_index.md @@ -0,0 +1,38 @@ +``` +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 │ +└────────────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┴───────────────┘ +``` \ No newline at end of file diff --git a/website/data/menu/main.yml b/website/data/menu/main.yml index 09553ebdd22..ad4a52af629 100755 --- a/website/data/menu/main.yml +++ b/website/data/menu/main.yml @@ -54,6 +54,8 @@ 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: