Add in Hugo docs for Trading Hours and Behavioural Analysis (#1868)

* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* update to index list

* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* guides: behavioural anaylsis & trading hours

* linter

* Add in Hugo Docs for tradinghours and behavioural analysis

* Move things around, fix some errors

* Update _index.md

* Update _index.md

* Update _index.md

* Small fix

* Add in better Discord link

* Adjust BA location

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: james <jmaslek11@gmail.com>
This commit is contained in:
Jeroen Bouma
2022-06-02 11:47:15 +02:00
committed by GitHub
parent 49560ab880
commit ffef8ab532
9 changed files with 455 additions and 96 deletions

View File

@@ -1,5 +1,238 @@
---
title: Introduction to the Behavioural Analysis
keywords: "stocks, behaviour, analysis, ba, headlines, snews, wsb, watchlist, popular, spac, trending, stalking, bullbear, messages, inter, sentiment, Google, Twitter, Reddit, Stocktwits, SentimentInvestor, Cramer, Jim, mentions, regions, interest, queries, rise, trend, hist, jcrd, jctr"
date: "2022-05-23"
type: guides
status: publish
excerpt: "An Introduction to the Behavioural Analysis menu, within the Stocks menu."
geekdocCollapseSection: true
---
The Behavioural Analysis menu offers the user tools for gauging the overall public sentiment of a company online.
The complexity of the tools range from message board scrapers to deep learning algorithms for financial analysis and prediction.
Sentiment is particularly useful for momentum trading strategies, discovery, and general fundamental research.
Navigate into the menu from the <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/" target="_blank">Stocks</a> menu by entering, `ba`; or, using absolute paths from anywhere in the Terminal: `/stocks/ba`
{{< toc-tree >}}
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170242317-ae66ed0b-f2e8-4304-9231-ea833d01e0e2.png"><img alt="The Behavioural Analysis submenu" src="https://user-images.githubusercontent.com/46355364/170242317-ae66ed0b-f2e8-4304-9231-ea833d01e0e2.png"></a>
## How to use
The commands with <span style="color:#00AAFF">Light Blue</span> text, representing <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/#structure-of-the-openbb-terminal" target="_blank">commands</a>,
do not require a ticker, faded commands will turn light blue when there is a ticker loaded.
````
(🦋) /stocks/ba/ $ load gme
Loading Daily GME stock with starting period 2019-05-20 for analysis.
Datetime: 2022 May 23 12:13
Timezone: America/New_York
Currency: USD
Market: CLOSED
Company: GameStop Corporation
(🦋) /stocks/ba/ $ ?
````
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170242757-3e29f690-7d29-4fe2-9e14-889c43e3142e.png"><img alt="The Behavioural Analysis Menu with a loaded ticker" src="https://user-images.githubusercontent.com/46355364/170242757-3e29f690-7d29-4fe2-9e14-889c43e3142e.png"></a>
Some data sources will require a valid API key, which can be obtained for free and then set using the Keys menu.
To use all the features in this menu, obtain free API keys from these providers:
- <a href="https://finnhub.io/" target="_blank">Finnhub</a><br>
- <a href="https://developer.twitter.com/" target="_blank">Twitter</a><br>
- <a href="https://old.reddit.com/prefs/apps/" target="_blank">Reddit</a><br>
- <a href="https://sentimentinvestor.com/" target="_blank">Sentiment Investor</a><br>
See the <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/#accessing-other-sources-of-data-via-api-keys" target="_blank">Getting Started Guide</a>
for help setting API keys in the Terminal.
## Examples
As with every command, using the `-h` argument displays the help dialogue. Running the <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/headlines/" target="_blank">headlines</a>
command returns the following:
````
(🦋) /stocks/ba/ $ headlines
````
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170244924-ffe6cd15-8d17-4690-bf44-d2b496dbc310.png"><img alt="headlines" src="https://user-images.githubusercontent.com/46355364/170244924-ffe6cd15-8d17-4690-bf44-d2b496dbc310.png"></a>
Alternatively, running the <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/snews/" target="_blank">snews</a>
command returns the following:
````
(🦋) /stocks/ba/ $ snews
````
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170243359-9d1302f0-3394-4e05-8360-0e59a1cb6e54.png"><img alt="headlines" src="https://user-images.githubusercontent.com/46355364/170243359-9d1302f0-3394-4e05-8360-0e59a1cb6e54.png"></a>
The Reddit functions will return popular tickers and posts, or measure sentiment for a particular stock. An example
would be by looking at the threads that pop up on <a href="https://www.reddit.com/r/wallstreetbets/" target="_blank">/r/wallstreetbets</a>,
famous for the <a href="https://en.wikipedia.org/wiki/R/wallstreetbets" target="_blank">GameStop short squeeze</a>:
````
(🦋) /stocks/ba/ $ wsb
2022-05-23 10:00:12 - Daily Discussion Thread for May 23, 2022
https://old.reddit.com/r/wallstreetbets/comments/uvwq8z/daily_discussion_thread_for_may_23_2022/
Reddit Submission
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ Subreddit ┃ Flair ┃ Score ┃ # Comments ┃ Upvote % ┃ Awards ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ wallstreetbets │ Daily Discussion │ 195 │ 9168 │ 88% │ 3 Silver │
│ │ │ │ │ │ 2 Helpful │
│ │ │ │ │ │ 1 Wholesome │
│ │ │ │ │ │ 1 Got the │
└────────────────┴──────────────────┴───────┴────────────┴──────────┴─────────────┘
2022-05-21 11:34:21 - Most Anticipated Earnings Releases for the week beginning May 23rd, 2022
https://old.reddit.com/r/wallstreetbets/comments/uul9fs/most_anticipated_earnings_releases_for_the_week/
Reddit Submission
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
┃ Subreddit ┃ Flair ┃ Score ┃ # Comments ┃ Upvote % ┃ Awards ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩
│ wallstreetbets │ Earnings Thread │ 960 │ 1325 │ 97% │ 1 Silver │
│ │ │ │ │ │ 5 Helpful │
│ │ │ │ │ │ 3 Wholesome │
│ │ │ │ │ │ 1 Take My Energy │
│ │ │ │ │ │ 1 Sne │
└────────────────┴─────────────────┴───────┴────────────┴──────────┴──────────────────┘
<continues>
````
The Behavioural Analysis menu also has the ability to scan for sentiment on multiple platforms including Twitter and Google
with <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/sentiment/" target="_blank">sentiment</a>,
<a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/infer/" target="_blank">infer</a>
and <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/queries/" target="_blank">queries</a>.
````
(🦋) /stocks/ba/ $ sentiment -c
From 2022-05-23 retrieving 360 tweets (15 tweets/hour)
From 2022-05-22 retrieving 360 tweets (15 tweets/hour)
From 2022-05-21 retrieving 360 tweets (15 tweets/hour)
From 2022-05-20 retrieving 360 tweets (15 tweets/hour)
From 2022-05-19 retrieving 360 tweets (15 tweets/hour)
From 2022-05-18 retrieving 360 tweets (15 tweets/hour)
From 2022-05-17 retrieving 360 tweets (15 tweets/hour)
(🦋) /stocks/ba/ $ infer
From: 2022-05-23 18:21:12
To: 2022-05-23 18:30:36
100 tweets were analyzed.
Frequency of approx 1 tweet every 6 seconds.
The summed compound sentiment of GME is: 18.42
The average compound sentiment of GME is: 0.18
Of the last 100 tweets, 41.00 % had a higher positive sentiment
Of the last 100 tweets, 19.00 % had a higher negative sentiment
(🦋) /stocks/ba/ $ queries
Top GME's related queries
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┓
┃ query ┃ value ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━┩
│ stock gme │ 100% │
├─────────────────┼───────┤
│ amc │ 29% │
├─────────────────┼───────┤
│ amc stock │ 24% │
├─────────────────┼───────┤
│ gme price │ 23% │
├─────────────────┼───────┤
│ gme stock price │ 14% │
├─────────────────┼───────┤
│ gme share │ 7% │
├─────────────────┼───────┤
│ gme share price │ 6% │
├─────────────────┼───────┤
│ reddit │ 6% │
├─────────────────┼───────┤
│ gme reddit │ 6% │
├─────────────────┼───────┤
│ bb │ 5% │
└─────────────────┴───────┘
````
The <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/sentiment/" target="_blank">sentiment</a>
command returns the following:
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170243539-1ea3fc6a-d7ec-4991-a6bb-ed5879753328.png"><img alt="sentiment" src="https://user-images.githubusercontent.com/46355364/170243539-1ea3fc6a-d7ec-4991-a6bb-ed5879753328.png"></a>
More advanced techniques can also be applied by using tools from <a href="https://sentimentinvestor.com" target="_blank">Sentiment Investor</a>
that analyzes millions of messages to show the most talked about stocks by hour. This has the ability to show the
most trending tickers with <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/trend/" target="_blank">trend</a> and historical sentiment data with
<a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/common/behavioural_analysis/hist/" target="_blank">hist</a>.
````
(🦋) /stocks/ba/ $ trend
Most trending stocks at 2022-05-23 00:00
┏━━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━┳━━━━━━┓
┃ TICKER ┃ TOTAL ┃ LIKES ┃ RHI ┃ AHI ┃
┡━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━╇━━━━━━┩
│ SPY │ 89.00 │ 43.00 │ 1.22 │ 1.26 │
├────────┼───────┼────────┼──────┼──────┤
│ AMC │ 80.00 │ 155.00 │ 1.07 │ 1.18 │
├────────┼───────┼────────┼──────┼──────┤
│ TSLA │ 80.00 │ 78.00 │ 1.07 │ 1.34 │
├────────┼───────┼────────┼──────┼──────┤
│ BTC │ 62.00 │ 74.00 │ 1.14 │ 1.09 │
├────────┼───────┼────────┼──────┼──────┤
│ NIO │ 50.00 │ 14.00 │ 1.17 │ 1.15 │
├────────┼───────┼────────┼──────┼──────┤
│ AAPL │ 28.00 │ 4.00 │ 0.66 │ 0.75 │
├────────┼───────┼────────┼──────┼──────┤
│ AMD │ 26.00 │ 59.00 │ 0.57 │ 0.61 │
├────────┼───────┼────────┼──────┼──────┤
│ NVAX │ 13.00 │ 4.00 │ 0.47 │ 0.40 │
├────────┼───────┼────────┼──────┼──────┤
│ NVDA │ 12.00 │ 11.00 │ 0.45 │ 0.47 │
├────────┼───────┼────────┼──────┼──────┤
│ DIS │ 12.00 │ 1.00 │ 0.69 │ 0.44 │
└────────┴───────┴────────┴──────┴──────┘
(🦋) /stocks/ba/ $ hist -s 2022-05-01
````
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170243719-fccf414b-3a89-4776-88de-e30f4eb34f89.png"><img alt="hist" src="https://user-images.githubusercontent.com/46355364/170243719-fccf414b-3a89-4776-88de-e30f4eb34f89.png"></a>
Inspired by the Twitter user, <a href="https://twitter.com/CramerTracker" target="_blank">@cramertracker</a>, the final
two features follow (CNBC Talking Head) Jim Cramer stock recommendations as satire that rings true.
````
(🦋) /stocks/ba/ $ jcdr
Jim Cramer Recommendations for 05/19
┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Company ┃ Symbol ┃ Price ┃ LastPrice ┃ Change (%) ┃ Recommendation ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Apple │ AAPL │ 137.35 │ 142.38 │ 3.53 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ AeroVironment │ AVAV │ 85.35 │ 85.49 │ 0.16 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Alibaba │ BABA │ 87.69 │ 87.04 │ -0.75 │ Sell │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Constellation Energy │ CEG │ 57.23 │ 56.92 │ -0.54 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Costco │ COST │ 422.93 │ 427.93 │ 1.17 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ DraftKings │ DKNG │ 14.15 │ 13.89 │ -1.87 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Lockheed Martin │ LMT │ 425.62 │ 433.71 │ 1.87 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Cloudflare │ NET │ 58.00 │ 56.92 │ -1.90 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Northrop Grumman │ NOC │ 448.50 │ 456.57 │ 1.77 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ NVIDIA │ NVDA │ 171.24 │ 168.29 │ -1.75 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Palo Alto Networks │ PANW │ 436.37 │ 502.69 │ 13.19 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ PLBY Group │ PLBY │ 9.06 │ 9.26 │ 2.16 │ Sell │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Raytheon Technologies │ RTX │ 90.25 │ 91.87 │ 1.76 │ Buy │
├────────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ SoFi Technologies │ SOFI │ 7.75 │ 7.30 │ -6.16 │ Buy │
└────────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┘
````
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170243863-f95dc515-c0d7-4ede-964d-f6ba41aec743.png"><img alt="Jim Cramer historical recommendations for $DKNG" src="https://user-images.githubusercontent.com/46355364/170243863-f95dc515-c0d7-4ede-964d-f6ba41aec743.png"></a>

View File

@@ -1,13 +1,69 @@
```
usage: jcdr [-i] [-h] [--export {csv,json,xlsx}]
```
Show daily cramer recommendation
```
optional arguments:
-i, --inverse Show inverse recommendation (default: False)
-h, --help Show this help message (default: False)
-h, --help show this help message (default: False)
--export {csv,json,xlsx}
Export raw data into csv, json, xlsx (default: )
Export raw data into csv, json, xlsx (default: )
```
Sample Usage:
```
2022 Mar 09, 11:54 (✨) /stocks/ba/ $ jcdr
Jim Cramer Recommendations for 03/04
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Company ┃ Symbol ┃ Price ┃ LastPrice ┃ Change (%) ┃ Recommendation ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Allbirds │ BIRD │ 6.33 │ 6.11 │ -3.60 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Bumble │ BMBL │ 18.08 │ 24.22 │ 25.35 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Campbell Soup │ CPB │ 45.55 │ 43.46 │ -4.81 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Dicks Sporting Goods │ DKS │ 109.71 │ 110.78 │ 0.97 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ DocuSign │ DOCU │ 101.38 │ 98.54 │ -2.88 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Devon Energy │ DVN │ 59.57 │ 59.11 │ -0.78 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ eBay │ EBAY │ 55.66 │ 53.01 │ -5.00 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Freeport-McMoRan │ FCX │ 50.11 │ 47.03 │ -6.55 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Kohl's │ KSS │ 58.77 │ 54.06 │ -8.71 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Macy's │ M │ 24.80 │ 24.11 │ -2.86 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ MongoDB │ MDB │ 306.11 │ 334.60 │ 8.51 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ On Holding │ ONON │ 21.97 │ 22.04 │ 0.32 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Progress Software │ PRGS │ 44.28 │ 43.57 │ -1.63 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ The RealReal │ REAL │ 7.39 │ 6.86 │ -7.73 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Rivian │ RIVN │ 47.39 │ 45.08 │ -5.12 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Stitch Fix │ SFIX │ 11.17 │ 9.75 │ -14.56 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Virgin Galactic │ SPCE │ 7.84 │ 7.76 │ -1.03 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Splunk │ SPLK │ 129.06 │ 128.64 │ -0.33 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ AT&T │ T │ 23.87 │ 23.49 │ -1.62 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Trex │ TREX │ 74.68 │ 73.08 │ -2.19 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Hostess Brands │ TWNK │ 22.22 │ 21.21 │ -4.76 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Ulta Beauty │ ULTA │ 366.76 │ 372.62 │ 1.57 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Wheels Up │ UP │ 3.13 │ 3.54 │ 11.58 │ Buy │
└───────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┘
```

View File

@@ -1,12 +1,13 @@
```
usage: jctr [-h] [--export {csv,json,xlsx,png,jpg,pdf,svg}] [--raw]
```
Show cramer recommendation for loaded ticker
```
optional arguments:
-h, --help Show this help message (default: False)
```optional arguments:
-h, --help show this help message (default: False)
--export {csv,json,xlsx,png,jpg,pdf,svg}
Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: )
Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: )
--raw Flag to display raw data (default: False)
```
![Cramer_By_Ticker](https://user-images.githubusercontent.com/18151143/157491772-b8823335-fb70-40db-81a4-f07517843149.png)

View File

@@ -1,69 +0,0 @@
```
usage: jcdr [-i] [-h] [--export {csv,json,xlsx}]
```
Show daily cramer recommendation
```
optional arguments:
-i, --inverse Show inverse recommendation (default: False)
-h, --help show this help message (default: False)
--export {csv,json,xlsx}
Export raw data into csv, json, xlsx (default: )
```
Sample Usage:
```
2022 Mar 09, 11:54 (✨) /stocks/ba/ $ jcdr
Jim Cramer Recommendations for 03/04
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Company ┃ Symbol ┃ Price ┃ LastPrice ┃ Change (%) ┃ Recommendation ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Allbirds │ BIRD │ 6.33 │ 6.11 │ -3.60 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Bumble │ BMBL │ 18.08 │ 24.22 │ 25.35 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Campbell Soup │ CPB │ 45.55 │ 43.46 │ -4.81 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Dicks Sporting Goods │ DKS │ 109.71 │ 110.78 │ 0.97 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ DocuSign │ DOCU │ 101.38 │ 98.54 │ -2.88 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Devon Energy │ DVN │ 59.57 │ 59.11 │ -0.78 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ eBay │ EBAY │ 55.66 │ 53.01 │ -5.00 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Freeport-McMoRan │ FCX │ 50.11 │ 47.03 │ -6.55 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Kohl's │ KSS │ 58.77 │ 54.06 │ -8.71 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Macy's │ M │ 24.80 │ 24.11 │ -2.86 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ MongoDB │ MDB │ 306.11 │ 334.60 │ 8.51 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ On Holding │ ONON │ 21.97 │ 22.04 │ 0.32 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Progress Software │ PRGS │ 44.28 │ 43.57 │ -1.63 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ The RealReal │ REAL │ 7.39 │ 6.86 │ -7.73 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Rivian │ RIVN │ 47.39 │ 45.08 │ -5.12 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Stitch Fix │ SFIX │ 11.17 │ 9.75 │ -14.56 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Virgin Galactic │ SPCE │ 7.84 │ 7.76 │ -1.03 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Splunk │ SPLK │ 129.06 │ 128.64 │ -0.33 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ AT&T │ T │ 23.87 │ 23.49 │ -1.62 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Trex │ TREX │ 74.68 │ 73.08 │ -2.19 │ Sell │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Hostess Brands │ TWNK │ 22.22 │ 21.21 │ -4.76 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Ulta Beauty │ ULTA │ 366.76 │ 372.62 │ 1.57 │ Buy │
├───────────────────────┼────────┼────────┼───────────┼────────────┼────────────────┤
│ Wheels Up │ UP │ 3.13 │ 3.54 │ 11.58 │ Buy │
└───────────────────────┴────────┴────────┴───────────┴────────────┴────────────────┘
```

View File

@@ -1,13 +0,0 @@
```
usage: jctr [-h] [--export {csv,json,xlsx,png,jpg,pdf,svg}] [--raw]
```
Show cramer recommendation for loaded ticker
```optional arguments:
-h, --help show this help message (default: False)
--export {csv,json,xlsx,png,jpg,pdf,svg}
Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: )
--raw Flag to display raw data (default: False)
```
![Cramer_By_Ticker](https://user-images.githubusercontent.com/18151143/157491772-b8823335-fb70-40db-81a4-f07517843149.png)

View File

@@ -1,7 +1,158 @@
---
title: Introduction to Trading Hours
keywords: "markets, trading, hours, stocks, time, global, world, location, open, close, exchange"
date: "2022-05-20"
type: guides
status: publish
excerpt: "An Introduction to the Trading Hours menu, within the Stocks menu. This set of features displays the status of international markets."
geekdocCollapseSection: true
---
This set of features is for checking the operating status of markets globally. To access the Trading Hours features,
enter `th` from the <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/" target="_blank">Stocks</a> menu.
Alternatively, a user can access the submenu with absolute path navigation from anywhere in the Terminal: `/stocks/th`
Check where the stock market is currently open. Never miss a chance for your next trade.
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170244188-17ffac5f-3345-4c40-be44-fb5128ad9612.png"><img alt="Trading Hours" src="https://user-images.githubusercontent.com/46355364/170244188-17ffac5f-3345-4c40-be44-fb5128ad9612.png"></a>
{{< toc-tree >}}
## How to use
A symbol is not required to be loaded. Once in the Trading Hours menu, the operation is simple.
Choose from: <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/open/" target="_blank">open</a>,
<a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/closed/" target="_blank">closed</a>,
<a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/all/" target="_blank">all</a> or
<a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/exchange/" target="_blank">exchange</a>.
Below, examples are given what these commands display, note that the tables are purposely cut off to keep the
introduction compact.
````
(🦋) /stocks/th/ $ open
Open markets
┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ ┃ name ┃ short_name ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ FRA │ Frankfurt Stock Exchange │ F │
├─────┼───────────────────────────────────┼────────────┤
│ STU │ Börse Stuttgart │ SG │
├─────┼───────────────────────────────────┼────────────┤
│ MUN │ Börse München │ MU │
├─────┼───────────────────────────────────┼────────────┤
│ DUS │ Börse Düsseldorf │ DU │
├─────┼───────────────────────────────────┼────────────┤
│ MEX │ Bolsa Mexicana de Valores │ MX │
├─────┼───────────────────────────────────┼────────────┤
│ FKA │ Frankfurt Stock Exchange │ F │
├─────┼───────────────────────────────────┼────────────┤
│ NYQ │ New York Stock Exchange │ NYSE │
├─────┼───────────────────────────────────┼────────────┤
│ VAN │ TSX Venture Exchange │ V │
├─────┼───────────────────────────────────┼────────────┤
<continues>
(🦋) /stocks/th/ $ closed
Closed markets
┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ ┃ name ┃ short_name ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ SHZ │ Shenzen Stock Exchange │ SHZE │
├─────┼──────────────────────────────────┼────────────┤
│ KSC │ Korea Exchange │ KRX │
├─────┼──────────────────────────────────┼────────────┤
│ KOE │ Korea Exchange │ KRX │
├─────┼──────────────────────────────────┼────────────┤
│ HKG │ Hong Kong Stock Exchange │ HKEX │
├─────┼──────────────────────────────────┼────────────┤
│ KLS │ Bursa Malaysia │ KLSE │
├─────┼──────────────────────────────────┼────────────┤
│ ENX │ Euronext │ NX │
├─────┼──────────────────────────────────┼────────────┤
│ TWO │ Taipei Exchange │ TWO │
├─────┼──────────────────────────────────┼────────────┤
│ HAM │ Hamburger Börse │ HM │
├─────┼──────────────────────────────────┼────────────┤
│ TW │ Taiwan Stock Exchange │ TWSE │
├─────┼──────────────────────────────────┼────────────┤
<continues>
(🦋) /stocks/th/ $ all
World markets
┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┓
┃ ┃ name ┃ short_name ┃ open ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━┩
│ SHZ │ Shenzen Stock Exchange │ SHZE │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ KSC │ Korea Exchange │ KRX │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ KOE │ Korea Exchange │ KRX │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ HKG │ Hong Kong Stock Exchange │ HKEX │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ KLS │ Bursa Malaysia │ KLSE │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ FRA │ Frankfurt Stock Exchange │ F │ True │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ STU │ Börse Stuttgart │ SG │ True │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ ENX │ Euronext │ NX │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ TWO │ Taipei Exchange │ TWO │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
│ HAM │ Hamburger Börse │ HM │ False │
├─────┼───────────────────────────────────┼────────────┼───────┤
<continues>
````
Lastly, <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/exchange/" target="_blank">exchange</a>
shows the status of a single venue.
<a target="_blank" href="https://user-images.githubusercontent.com/46355364/170244354-f5ab043d-0290-46ec-ba86-87cc2dc0e47a.png"><img alt="Trading Hours Autocomplete" src="https://user-images.githubusercontent.com/46355364/170244354-f5ab043d-0290-46ec-ba86-87cc2dc0e47a.png"></a>
## Examples
Below an example is given for a symbol and whether that market is open. By calling <a href="https://openbb-finance.github.io/OpenBBTerminal/terminal/stocks/tradinghours/exchange/" target="_blank">exchange</a>
you can obtain more information about the exchange (e.g. enter `BO`)
````
(🦋) /stocks/th/ $ symbol RY.TO
Selected symbol
Symbol: RY.TO
Name: ROYAL BANK OF CANADA
Market open: False
(🦋) /stocks/th/ $ symbol FB2.L
Selected symbol
Symbol: FB2.L
Name: LEVERAGE SHARES PUBLIC LIMITED
Market open: False
(🦋) /stocks/th/ $ exchange BO
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃ BSE ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ name │ BSE │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ short_name │ BO │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ website │ https://www.bseindia.com/static/markets/equity/EQReports/tra_trading.aspx │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ market_open │ 09:15:00 │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ market_close │ 15:30:00 │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ lunchbreak_start │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ lunchbreak_end │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ opening_auction_start │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ opening_auction_end │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ closing_auction_start │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ closing_auction_end │ None │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ timezone │ Asia/Kolkata │
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ flag │ 🇮🇳
├───────────────────────┼───────────────────────────────────────────────────────────────────────────┤
│ open │ False │
└───────────────────────┴───────────────────────────────────────────────────────────────────────────┘
````

View File

@@ -551,9 +551,9 @@ main:
- name: stats
ref: "/terminal/common/behavioural_analysis/stats"
- name: snews
ref: "/terminal/stocks/behavioural_analysis/snews"
ref: "/terminal/common/behavioural_analysis/snews"
- name: interest
ref: "/terminal/stocks/behavioural_analysis/interest"
ref: "/terminal/common/behavioural_analysis/interest"
- name: wsb
ref: "/terminal/common/behavioural_analysis/wsb"
- name: watchlist