* Add mutual fund menu based primarily on investpy (investment.com)
* Add start/end date for loading + some bug fixes
* hugo
* poetry add investpy rich dnspython then poetry update
* fix reset (need to load country) and dim yfinance commands when country not US
* Fix search and add better error handling
* Catch yfinance commands when country not US. Improve loading to change country if symbol found but not in matching country. Changed main menu printing.
* Fix poetry / reqs merge conflict
* review comments
* Once again update poetry
* Clean up poetry to match conda (numpy was culprit)
* cvxpy down
* Think i goofed on generating reqs full
* update poetry metadata
* cleanup after review 2
* move space
* another deps try
* bump pygmnets in yaml
* try something different
* rename console -> t_console (terminal_console) for mypy
* Add pre-commit to dev dependencies
* Bump requirements
* Update charset-normalizer in conda env files
* Bump poetry and numpy in conda environments
* Explicitly add scipy to solve windows test error
* Revert "Explicitly add scipy to solve windows test error"
This reverts commit bb6b4d89bfb0c9d682930199e075af02a7885296.
* Explicitly add a windows supported version of numpy
* Explicitly specify numpy version in the lock file
* Specify supported numpy version in build files
* Improve menu with 2 more commands
* prepare for code improvement
* Improve sia filtering parameters
* fix minor bug
* implement cpis command
* consider excluding/including exchanges in stats
* Add cpcs command to sia
* add cpci command to sector and industry analysis
* optimize implementation of financials on sia
* Add a lot of additional commands to sia controller
* bump financedatabase to 1.0.2
* remove yield and dividend because always null and add forward PE
* Add sector and industry defaults to avoid a 8min loading for new users
* Improve controller for better user experience
* catch exception with exchanges on financedatabase
* from sam to sama
* allow to export all without limitation of companies
* add auto complete for industry sector and country
* Make chart title not leave the screen space by adding line breaks
* improve title further
* add auto complete for metrics
* fix small bug
* Fix pylint C0201 error that was blocking the pre-commit hook
* Fix ndarray division bug
* Add logic to handle missing values
* Split looooooooong company names to 2 lines in the chart
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Test integrating cloudflare analytics with readthedocs
* Harmonize tensorflow and keras versions
* Move beacon to the layout footer
* Add write permissions when opening the layout to patch beacon token
* Add cloudflare beacon to hugo website
* Test token injection during website build action
* WIP fix actions syntax
* Pass beacon token as env variable
* WIP debug variables in runner env
* Fix quotes for sed to work
* Clean up dev artifacts from gh-pages action
* Removing Alpaca support for now. Will add back when Alpaca updates dependencies.
* Updating dependencies and locks
* Downgrading jupyter-server. No 1.11.2 on conda
* Add built documentation to gitignore
* Add documentation creation readme and requirements
* Change manually generated code docs to automatic
* Move myst_parser documentation requirement to pyproject.toml
* Update poetry and requirements files for the readthedocs build to work
* Add prediction extras to requirements-full
* Add the Finance Database to the ETF menu
* Add the Finance Database to the stocks/discovery menu
* Update website with Finance Database info
* Update website sections of the Finance Database
* Update Finance Database functions to match layout of controller modules
* Merge website links
* Add missing thepassiveinvestor dependency
* Fix website bug
* Name change
* Update website with include exchanges parameter
* Add include_exchanges, make searching less case sensitive, change market cap to millions and minor improvements
* Change help message a bit
* Adjust industry name if needed due to adjustments in the financedatabase creation
* Make export path more robust which otherwise breaks when you rename the GST folder
* Make path selection robust to also work when you run the terminal from a different directory
* Make finding the right folder more elegant
* Add the Finance Database to the ETF menu
* Add the Finance Database to the stocks/discovery menu
* Update website with Finance Database info
* Update website sections of the Finance Database
* Update Finance Database functions to match layout of controller modules
* Merge website links
* Add missing thepassiveinvestor dependency
* Fix website bug
* Name change
* Update website with include exchanges parameter
* Add include_exchanges, make searching less case sensitive, change market cap to millions and minor improvements
* Change help message a bit
* Add ETF report functionalty from The Passive Investor
* Add documentation about ETF Report
* Add thepassiveinvestor to the requirements
* Correct accidental typo
* Rename report to pir
* Change report to pir and some minor changes
* Update thepassiveinvestor to 1.0.9
* Ignore nft of the day test
* Refactor common-ta-overlap
* Refactor trend indicators
* Refactor volatility
* Volume refactored
* Custom functions
* Final momentum refactor
* Update crypto menu with same format
* Address review, update poetry
* Fix export path
* Reduced test time by 85% using vcrpy
* Refactored tests with decorator
* Added vcrpy dependencies
* Fixed issues with tests
* Fixed tests not running in local
Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
* Allow to quit when DEFAULT_CONTEXT selected
* terminal imports inside context selection
* rework economy/events command
* Refactor fear greed CNN command
* refactor WSJ in economy
* import fred
* refactor fred commands in economy
* refactor disc commands into economy
* refactor disc commands into economy 2
* fix fred test
* fix fred test
* av pylint
* update quit from direct context
* fix av lint
* Add industry simply wallst to economy
* improve events display
* improv after review
* add mypy types
* tabulate raw series
* remove simply wallst
* Add SentimentInvestor core and social metrics
* Added `metrics` and `social` commands to behaviour analysis menu
* `metrics` fetches the core metrics for a given ticker from
SentimentInvestor: AHI, RHI, SGP and sentiment score.
* `social` fetches the aggregated data from several social media
networks, i.e. the number of mentions and the sentiment score
associated with a specific ticker on each network
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Format code to conform to PEP8 style guide
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Use `argparse` to handle command-line arguments
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Use `multiprocessing` to reduce wait time
* Reduce `metrics` from 7.2s to 2.9s
* Reduce `social` from 13.5s to 5.6s
* NB: These times could be reduced further but that would require
changes to `sentipy` itself
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add `historical` command to plot past week of data
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add three new commands to discovery mode
* `popular` for stocks with the highest AHI
* `emerging` for stocks with the highest RHI
* `positive` for stocks with the highest sentiment scores
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Aggregate data for past week when showing table
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Fix `-t` flag not working for `social` command
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Handle lacking or incomplete historical data
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Improve error handling for unsupported stocks
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Remove `positive` command
* Sorting SentimentInvestor data by sentiment does not provide much
value, seeing as it simply returns stocks that have very few comments,
giving it a sentiment score of 1.0, which is inaccurate and misleading
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Reformat code per project guidelines
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Remove `positive` from list of valid commands
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* `poetry add sentiment-investor`
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add SentimentInvestor to "About us" section
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Use `typing.List` annotation instead of `builtins.list`
* This is to support Python versions older than 3.9
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add `sentiment-investor` to `requirements-full.txt`
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add SentimentInvestor API key check
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Show correct program name in help message
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add README documentation for newly added commands
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Make changes as requested by code review
* Coloring applied to the whole row in `metrics` and `social` commands
* Convert `--ticker` flag into an optional positional argument for
single-argument commands such as `metrics` and `social`
* Make help menus and command descriptions far more detailed
* Explain what AHI, RHI, SGP and sentiment score are and how they are
calculated by Sentiment.
* `historical` command is now sorted with the most recent date first
* `historical` command output table can be sorted using new `--sort` and
`--direction` arguments
* Non-fatal warning and error messages have been suppressed
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Wrap command methods in try-except
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Add SentimentInvestor API key help
* Add to the top-level README
* Adjust environment variable name to conform with standard set by
others, start it with GT_
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Comment `coinpaprika` erroring line
* https://github.com/GamestonkTerminal/GamestonkTerminal/pull/562#issuecomment-887842888
Signed-off-by: Timothy Langer <zeevox.dev@gmail.com>
* Allow to load data from IEX
* update poetry lock
* add intraday iex data
* Allow to print raw dataframe loaded data
* Move export flag to view command
* fix -h for load function
* more refactoring
* Update README.md
* fix view help
* FTD command improved
* Update README.md
* forgot this one
* fix issue
* Add about us to main commands
* Add git hash to terminal welcome message to pin gst version down
* missed pylint
* Update poetry with gitpython
* Update ROADMAP.md
* Add partnerships to about us