The stock data is loaded from yahoo. You can simply add the stocks (companies) you care for in the function stocks_to_load(). RSI's and moving averages are summarized for the chosen companies.
How to get:
git clone https://github.com/glensk/stoxx
How to use:
- python stoxx (to get a summary of a few indicators of your portfolio)
- python stoxx bayer -p (to polot MA and stock price for a particular stock (here, bayer))
Output:
GD200 | GD100 | GD50 | GD20 | Close | RSI14 | RSI9 | RSI7 | 1D % | ID | name | |
---|---|---|---|---|---|---|---|---|---|---|---|
T T 69 | T T 109 | T T 288 | T T 443 | 36.82 $ | 72.6 | 72.9 | 72.3 | 9.2 | -1 | ^VIX | Volatility |
F F 0 | F F -1 | F F -16 | F F -44 | 25917. $ | 31.5 | 30.2 | 30.4 | -3.0 | -1 | ^DJI | DOW Jones |
T T 74 | T T 107 | T T 113 | F F -22 | 745.51 $ | 51.9 | 47.7 | 45.8 | 0.3 | -1 | TSLA | Tesla |
T T 44 | T T 43 | T T 68 | T T 116 | 128.66 $ | 60.6 | 59.0 | 57.3 | 0.0 | -1 | SEDG | SolarEdge |
TODO:
- Implement TSI.
- Implement MACD.
Note:
A much more complete analysis can be easily done on yahoo! finance following this link