diff --git a/README.md b/README.md index beef64d1f0e..7cc80600503 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,10 @@
Investment research for everyone.
- ≪ ROADMAP
+ ≪ GETTING STARTED
  ·  
-
- FEATURES »
+
+ SEE FEATURES »
@@ -62,17 +62,6 @@
Table of Contents
-
-If you want to install the terminal using Python ignore the Docker section and jump to Local Install - Anaconda and Python section.
-
-### Docker Installation
-
-1. Make sure docker desktop is installed. Install links can be found [here](https://www.docker.com/products/docker-desktop).
- To confirm that your docker desktop is downloaded and running, open a command prompt or terminal and enter
- `docker info`. If you get the following you are not running the docker desktop:
-
- ```text
- Server:
- ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
- Is the docker daemon running?
- ```
-
- Open the docker desktop app in this case.
-
-2. Download the latest docker image.
-
- ```bash
- docker pull ghcr.io/gamestonkterminal/gst-poetry:latest
- ```
-
- Upon running this the first time, you should see the various layers downloading (note the random series of letters numbers will vary). The first time this is run, it will take a few minutes. Subsequent updates will be much faster, as the changes will be in the MB instead of GB.
-
- 
-
- Once the download is complete, confirm that the image has been created by doing `docker images`. You should see
- something similar to
-
- ```text
- REPOSITORY TAG IMAGE ID CREATED SIZE
- ghcr.io/gamestonkterminal/gst-poetry latest e2bbeebcc73c 42 hours ago 2.02GB
- ```
-
-3. Run a container
-
- You are now ready to run the terminal (every time you want to use the terminal you need to run this command):
-
- `docker run -it --rm ghcr.io/gamestonkterminal/gst-poetry:latest`
-
- This will open up the terminal in your command prompt or terminal. Note that this has provided now environment file,
- so you will not be able to view plots or use keys at this stage.
-
- At this point, you should be able to use the majority of the features using Docker. To read more on adding the environment keys and how to configure your X-server to show plots, hop over to the
- [Advanced Docker Setup](/DOCKER_ADVANCED.md).
-
-### Local Install - Anaconda and Python
-
-This installation type supports both Windows and Unix systems (Linux + MacOS). However, on Windows it can become messy so it is easier to use Windows Subsystem Linux (WSL) on this operating system. WSL emulates a Linux machine inside your Windows system.
-
-If you are using macOS or other Linux operating systems you can jump the next section Installing the terminal.
-
-### Web UI - Docker
-
-1. Ensure Docker is installed.
-2. Navigate to the location of the Dockerfile in the repo (`cd gamestonk_terminal_web`)
-3. Ensure the launcher is executable with `chmod +x ./launch`
-4. Launch it with `./launch`. If you get a permission denied error, do `sudo ./launch` instead
-5. Once it's launched, you will be able to access it by going to `http://host-ip:8080` in a browser, or `http://localhost:8080` if you are running it on your local machine.
-
-For API keys, create the `setenv` file if it doesn't already exist.
-It will automatically get created on the first launch, and won't get committed to Git because it is on the `.gitignore`.
-Set the API keys [as explained here](https://github.com/GamestonkTerminal/GamestonkTerminal/blob/main/DOCKER_ADVANCED.md#environment-variables).
-Once you've put the API keys in that file, re-run the launch script, and it will use your API keys.
-There are a few things that still don't work, and you can see what works and what doesn't [here](https://github.com/CoconutMacaroon/GamestonkTerminal/blob/main/gamestonk_terminal_web/README.md#todo).
-
-#### Installing WSL (Only for Windows users)
-
-If you are using Windows you first you need to install WSL. The process is simple and a tutorial can be found [here](https://www.sitepoint.com/wsl2/). Once you reach the section **Update Linux** on that tutorial, you should have a linux machine installed and can proceed to the next steps.
-
-Since WSL installation is headless by default (i.e., you have only access to a terminal running a linux distribution) you need some extra steps to be able to visualize the charts produced by the terminal (more detailed tutorial [here](https://medium.com/@shaoyenyu/make-matplotlib-works-correctly-with-x-server-in-wsl2-9d9928b4e36a)):
-
-1. Dynamically export the DISPLAY environment variable in WSL2:
-
- ```bash
- # add to the end of ~/.bashrc file
- export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
- # source the file
- source ~/.bashrc
- ```
-
-2. Download and install [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
-3. When running the program is important to check "Disable access control"
-
-After this, `VcXsrv` should be running successfully and we can proceed to terminal installation.
-
-Although we **extremely** recommend using WSL to run the terminal on windows, if you don't want or can't for some reason, you can try install the terminal directly on Windows without WSL. If you'd like to see a video recording of the installation on Windows without WSL, @JohnnyDankseed has made one available [here](https://www.youtube.com/watch?v=-DJJ-cfquDA).
-
-#### Installing the terminal
-
-These steps are common in all operating systems (Windows with or without WSL, MacOS or Linux).
-
-This project supports Python 3.7, 3.8 and 3.9.
-
-Our current recommendation is to use this project with Anaconda's Python distribution - either full
-[**Anaconda3 Latest**](https://repo.anaconda.com/archive/) or [**Miniconda3 Latest**](https://repo.anaconda.com/archive/).
-Several features in this project utilize Machine Learning. Machine Learning Python dependencies are optional.
-If you decided to add Machine Learning features at a later point, you will likely have better user experience with
-Anaconda's Python distribution.
-
-1. [Install Anaconda](https://docs.anaconda.com/anaconda/install/index.html) (It's on the AUR as anaconda or miniconda3!)
- * Follow the instructions specified on the website above:
- * If you are using macOS click [Installing on MacOS](https://docs.anaconda.com/anaconda/install/mac-os/)
- * If you are using WSL or Linux click [Installing on Linux](https://docs.anaconda.com/anaconda/install/linux/)
- * If you are using Windows click [Installing on Windows](https://docs.anaconda.com/anaconda/install/windows/). **ONLY REQUIRED IF NOT USING WSL**, you also need to install/update Microsoft C++ Build Tools from here:
GT_API_BINANCE_SECRET |
-| [CoinMarketCap](https://coinmarketcap.com) | GT_API_CMC_KEY
|
-| [DEGIRO](https://www.degiro.fr) | GT_DG_USERNAME
GT_DG_PASSWORD
GT_DG_TOTP_SECRET |
-| [FRED](https://fred.stlouisfed.org) | GT_API_FRED_KEY |
-| [Financial Modeling Prep](https://financialmodelingprep.com) | GT_API_KEY_FINANCIALMODELINGPREP |
-| [Finhub](https://finnhub.io) | GT_API_FINNHUB_KEY |
-| [News](https://newsapi.org) | GT_API_NEWS_TOKEN |
-| [Oanda](https://developer.oanda.com) | GT_OANDA_TOKEN
GT_OANDA_ACCOUNT |
-| [Polygon](https://polygon.io) | GT_API_POLYGON_KEY |
-| [Quandl](https://www.quandl.com) | GT_API_KEY_QUANDL |
-| [Reddit](https://www.reddit.com) | GT_API_REDDIT_CLIENT_ID
GT_API_REDDIT_CLIENT_SECRET
GT_API_REDDIT_USERNAME
GT_API_REDDIT_USER_AGENT
GT_API_REDDIT_PASSWORD |
-| [SentimentInvestor](https://sentimentinvestor.com) | GT_API_SENTIMENTINVESTOR_TOKEN
GT_API_SENTIMENTINVESTOR_KEY |
-| [Tradier](https://developer.tradier.com) | GT_TRADIER_TOKEN |
-| [Twitter](https://developer.twitter.com) | GT_API_TWITTER_KEY
GT_API_TWITTER_SECRET_KEY
GT_API_TWITTER_BEARER_TOKEN |
-| [Coinbase](https://docs.pro.coinbase.com/) | GT_API_COINBASE_KEY
GT_API_COINBASE_SECRET
GT_API_COINBASE_PASS_PHRASE |
-| [Whale Alert](https://docs.whale-alert.io/) | GT_API_WHALE_ALERT_KEY |
-| [Ethplorer](https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API) | GT_API_ETHPLORER_KEY |
-| [Cryptopanic](https://cryptopanic.com/developers/api/) | GT_API_CRYPTO_PANIC_KEY |
-| [Glassnode](https://docs.glassnode.com/basic-api/api-key#how-to-get-an-api-key) | GT_API_GLASSNODE_KEY |
-| [Coinglass](https://coinglass.github.io/API-Reference/#api-key) | GT_API_COINGLASS_KEY |
-| [BitQuery](https://bitquery.io/pricing) | GT_API_BITQUERY_KEY |
-
-Example:
-
-```bash
-export GT_API_REDDIT_USERNAME=SexyYear
-```
-
-Environment variables can also be set in a `.env` file at the top of the repo. This file is ignored by git so your API
-keys will stay secret. The above example stored in `.env` would be:
-
-```bash
-GT_API_REDDIT_USERNAME=SexyYear
-```
-
-Note that the `GT_API_REDDIT_USER_AGENT` is the name of the script that you set when obtained the Reddit API key.
-Note that it is not necessary to have a valid Alpha Vantage key to get daily OHLC values.
-
-
-
## Contributing
There are 3 main ways of contributing to this project.
@@ -451,8 +149,8 @@ any loss or damage as a result of your trading, or your reliance on the informat
Feel free to share loss porn, memes or any questions at:
-* Discord:
+
+Table of Contents
+
+If you want to install the terminal using Python ignore the Docker section and jump to Local Install - Anaconda and Python section.
+
+### Docker Installation
+
+1. Make sure docker desktop is installed. Install links can be found [here](https://www.docker.com/products/docker-desktop).
+ To confirm that your docker desktop is downloaded and running, open a command prompt or terminal and enter
+ `docker info`. If you get the following you are not running the docker desktop:
+
+ ```text
+ Server:
+ ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
+ Is the docker daemon running?
+ ```
+
+ Open the docker desktop app in this case.
+
+2. Download the latest docker image.
+
+ ```bash
+ docker pull ghcr.io/gamestonkterminal/gst-poetry:latest
+ ```
+
+ Upon running this the first time, you should see the various layers downloading (note the random series of letters numbers will vary). The first time this is run, it will take a few minutes. Subsequent updates will be much faster, as the changes will be in the MB instead of GB.
+
+ 
+
+ Once the download is complete, confirm that the image has been created by doing `docker images`. You should see
+ something similar to
+
+ ```text
+ REPOSITORY TAG IMAGE ID CREATED SIZE
+ ghcr.io/gamestonkterminal/gst-poetry latest e2bbeebcc73c 42 hours ago 2.02GB
+ ```
+
+3. Run a container
+
+ You are now ready to run the terminal (every time you want to use the terminal you need to run this command):
+
+ `docker run -it --rm ghcr.io/gamestonkterminal/gst-poetry:latest`
+
+ This will open up the terminal in your command prompt or terminal. Note that this has provided now environment file,
+ so you will not be able to view plots or use keys at this stage.
+
+ At this point, you should be able to use the majority of the features using Docker. To read more on adding the environment keys and how to configure your X-server to show plots, hop over to the
+ [Advanced Docker Setup](/DOCKER_ADVANCED.md).
+
+### Local Install - Anaconda and Python
+
+This installation type supports both Windows and Unix systems (Linux + MacOS). However, on Windows it can become messy so it is easier to use Windows Subsystem Linux (WSL) on this operating system. WSL emulates a Linux machine inside your Windows system.
+
+If you are using macOS or other Linux operating systems you can jump the next section Installing the terminal.
+
+### Web UI - Docker
+
+1. Ensure Docker is installed.
+2. Navigate to the location of the Dockerfile in the repo (`cd gamestonk_terminal_web`)
+3. Ensure the launcher is executable with `chmod +x ./launch`
+4. Launch it with `./launch`. If you get a permission denied error, do `sudo ./launch` instead
+5. Once it's launched, you will be able to access it by going to `http://host-ip:8080` in a browser, or `http://localhost:8080` if you are running it on your local machine.
+
+For API keys, create the `setenv` file if it doesn't already exist.
+It will automatically get created on the first launch, and won't get committed to Git because it is on the `.gitignore`.
+Set the API keys [as explained here](https://github.com/GamestonkTerminal/GamestonkTerminal/blob/main/DOCKER_ADVANCED.md#environment-variables).
+Once you've put the API keys in that file, re-run the launch script, and it will use your API keys.
+There are a few things that still don't work, and you can see what works and what doesn't [here](https://github.com/CoconutMacaroon/GamestonkTerminal/blob/main/gamestonk_terminal_web/README.md#todo).
+
+#### Installing WSL (Only for Windows users)
+
+If you are using Windows you first you need to install WSL. The process is simple and a tutorial can be found [here](https://www.sitepoint.com/wsl2/). Once you reach the section **Update Linux** on that tutorial, you should have a linux machine installed and can proceed to the next steps.
+
+Since WSL installation is headless by default (i.e., you have only access to a terminal running a linux distribution) you need some extra steps to be able to visualize the charts produced by the terminal (more detailed tutorial [here](https://medium.com/@shaoyenyu/make-matplotlib-works-correctly-with-x-server-in-wsl2-9d9928b4e36a)):
+
+1. Dynamically export the DISPLAY environment variable in WSL2:
+
+ ```bash
+ # add to the end of ~/.bashrc file
+ export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
+ # source the file
+ source ~/.bashrc
+ ```
+
+2. Download and install [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
+3. When running the program is important to check "Disable access control"
+
+After this, `VcXsrv` should be running successfully and we can proceed to terminal installation.
+
+Although we **extremely** recommend using WSL to run the terminal on windows, if you don't want or can't for some reason, you can try install the terminal directly on Windows without WSL. If you'd like to see a video recording of the installation on Windows without WSL, @JohnnyDankseed has made one available [here](https://www.youtube.com/watch?v=-DJJ-cfquDA).
+
+#### Installing the terminal
+
+These steps are common in all operating systems (Windows with or without WSL, MacOS or Linux).
+
+This project supports Python 3.7, 3.8 and 3.9.
+
+Our current recommendation is to use this project with Anaconda's Python distribution - either full
+[**Anaconda3 Latest**](https://repo.anaconda.com/archive/) or [**Miniconda3 Latest**](https://repo.anaconda.com/archive/).
+Several features in this project utilize Machine Learning. Machine Learning Python dependencies are optional.
+If you decided to add Machine Learning features at a later point, you will likely have better user experience with
+Anaconda's Python distribution.
+
+1. [Install Anaconda](https://docs.anaconda.com/anaconda/install/index.html) (It's on the AUR as anaconda or miniconda3!)
+
+ - Follow the instructions specified on the website above:
+
+ - If you are using macOS click [Installing on MacOS](https://docs.anaconda.com/anaconda/install/mac-os/)
+ - If you are using WSL or Linux click [Installing on Linux](https://docs.anaconda.com/anaconda/install/linux/)
+ - If you are using Windows click [Installing on Windows](https://docs.anaconda.com/anaconda/install/windows/). **ONLY REQUIRED IF NOT USING WSL**, you also need to install/update Microsoft C++ Build Tools from here:
GT_API_BINANCE_SECRET |
+| [CoinMarketCap](https://coinmarketcap.com) | GT_API_CMC_KEY
|
+| [DEGIRO](https://www.degiro.fr) | GT_DG_USERNAME
GT_DG_PASSWORD
GT_DG_TOTP_SECRET |
+| [FRED](https://fred.stlouisfed.org) | GT_API_FRED_KEY |
+| [Financial Modeling Prep](https://financialmodelingprep.com) | GT_API_KEY_FINANCIALMODELINGPREP |
+| [Finnhub](https://finnhub.io) | GT_API_FINNHUB_KEY |
+| [News](https://newsapi.org) | GT_API_NEWS_TOKEN |
+| [Oanda](https://developer.oanda.com) | GT_OANDA_TOKEN
GT_OANDA_ACCOUNT |
+| [Polygon](https://polygon.io) | GT_API_POLYGON_KEY |
+| [Quandl](https://www.quandl.com) | GT_API_KEY_QUANDL |
+| [Reddit](https://www.reddit.com) | GT_API_REDDIT_CLIENT_ID
GT_API_REDDIT_CLIENT_SECRET
GT_API_REDDIT_USERNAME
GT_API_REDDIT_USER_AGENT
GT_API_REDDIT_PASSWORD |
+| [SentimentInvestor](https://sentimentinvestor.com) | GT_API_SENTIMENTINVESTOR_TOKEN
GT_API_SENTIMENTINVESTOR_KEY |
+| [Tradier](https://developer.tradier.com) | GT_TRADIER_TOKEN |
+| [Twitter](https://developer.twitter.com) | GT_API_TWITTER_KEY
GT_API_TWITTER_SECRET_KEY
GT_API_TWITTER_BEARER_TOKEN |
+| [Coinbase](https://docs.pro.coinbase.com/) | GT_API_COINBASE_KEY
GT_API_COINBASE_SECRET
GT_API_COINBASE_PASS_PHRASE |
+| [Whale Alert](https://docs.whale-alert.io/) | GT_API_WHALE_ALERT_KEY |
+| [Ethplorer](https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API) | GT_API_ETHPLORER_KEY |
+| [Cryptopanic](https://cryptopanic.com/developers/api/) | GT_API_CRYPTO_PANIC_KEY |
+| [Glassnode](https://docs.glassnode.com/basic-api/api-key#how-to-get-an-api-key) | GT_API_GLASSNODE_KEY |
+| [Coinglass](https://coinglass.github.io/API-Reference/#api-key) | GT_API_COINGLASS_KEY |
+| [BitQuery](https://bitquery.io/pricing) | GT_API_BITQUERY_KEY |
+
+Example:
+
+```bash
+export GT_API_REDDIT_USERNAME=SexyYear
```
-* Exports the historical data from this ticker to a file or stdout.
- * -f : Name of file to save the historical data exported (stdout if unspecified). Default: stdout.
- * -F : Export historical data into following formats: csv, json, excel, clipboard. Default: csv.
+Environment variables can also be set in a `.env` file at the top of the repo. This file is ignored by git so your API
+keys will stay secret. The above example stored in `.env` would be:
-## Discover Stocks [»](discovery/README.md)
+```bash
+GT_API_REDDIT_USERNAME=SexyYear
+```
-Command|Description|Source
----|---|---
-`ipo` |past and future IPOs |[Finnhub](https://finnhub.io)
-`map` |S&P500 index stocks map |[Finviz](https://finviz.com)
-`rtp_sectors` |real-time performance sectors |[Alpha Vantage](www.alphavantage.co)
-`gainers` |show latest top gainers |[Yahoo Finance](https://finance.yahoo.com/)
-`losers` |show latest top losers |[Yahoo Finance](https://finance.yahoo.com/)
-`orders` |orders by Fidelity Customers |[Fidelity](https://www.fidelity.com/)
-`ark_orders` |orders by ARK Investment Management LLC | [Cathiesark](https://www.cathiesark.com)
-`up_earnings` |upcoming earnings release dates |[Seeking Alpha](https://seekingalpha.com/)
-`high_short` |show top high short interest stocks of over 20% ratio |[High Short Interest](https://www.highshortinterest.com/)
-`low_float` |show low float stocks under 10M shares float |[Low Float](https://www.lowfloat.com/)
-`simply_wallst` |Simply Wall St. research data |[Simply Wall St.](https://simplywall.st/about)
-`spachero` |great website for SPACs research |[SpacHero](https://www.spachero.com/)
-`uwhales` |good website for SPACs research |[UnusualWhales](https://unusualwhales.com/)
-`valuation` |valuation of sectors, industry, country |[Finviz](https://finviz.com)
-`performance` |performance of sectors, industry, country |[Finviz](https://finviz.com)
-`spectrum` |spectrum of sectors, industry, country |[Finviz](https://finviz.com)
-`latest` |latest news |[Seeking Alpha](https://seekingalpha.com/)
-`trending` |trending news |[Seeking Alpha](https://seekingalpha.com/)
-`darkpool` |dark pool tickers with growing activity |[FINRA](https://www.finra.org)
-`darkshort` |dark pool short position|[Stockgrid](https://stockgrid.io)
-`shortvol` |short interest and days to cover |[Stockgrid](https://stockgrid.io)
-
-
-
-## Behavioural Analysis [»](behavioural_analysis/README.md)
-
-Command|Description
-----|----
-[FinBrain](https://finbrain.tech)|
-`finbrain` |sentiment from 15+ major news headlines
-`stats` |sentiment stats including comparison with sector
-[Reddit](https://reddit.com)|
-`wsb` |show what WSB gang is up to in subreddit wallstreetbets
-`watchlist` |show other users watchlist
-`popular` |show popular tickers
-`spac_c` |show other users spacs announcements from subreddit SPACs community
-`spac` |show other users spacs announcements from other subs
-[Stocktwits](https://stocktwits.com/)|
-`bullbear` |estimate quick sentiment from last 30 messages on board
-`messages` |output up to the 30 last messages on the board
-`trending` |trending stocks
-`stalker` |stalk stocktwits user's last message
-[Twitter](https://twitter.com/)|
-`infer` |infer about stock's sentiment from latest tweets
-`sentiment` |in-depth sentiment prediction from tweets over time
-[Google](https://google.com/)|
-`mentions` |interest over time based on stock's mentions
-`regions` |regions that show highest interest in stock
-`queries` |top related queries with this stock
-`rise` |top rising related queries with stock
-
-
-
-## Research [»](research/README.md)
-
-Command|Website
-----|----
-`macroaxis` |