Commit Graph

72 Commits

Author SHA1 Message Date
jmaslek
bd776157be Update dependencies to fix fa bug and pmdarima bug (#809) 2021-10-13 14:18:30 -04:00
Artem Veremey
0fd1fe75b4 Updating black and related packages (#790) 2021-10-06 09:03:34 -04:00
Artem Veremey
ba98078366 Update python dependencies (#786)
* Update python dependencies

* Downgrade jsonschema version
2021-10-05 09:49:09 -07:00
jmaslek
eafd65199b Major brokers refactor into separate menus (#754)
* Major brokers refactor into separate menus

* Add portfolio export folder

* Added some extra commands from pyally

* Update coinbase account command

* poetry update + pin openpyxl to 3.0.7

* requirement files

* Update hugo server

* Clean hugo files

* Update _index.md

Add output to _index

* Update _index.md

* Update _index.md

add output

* Update _index.md

add output

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix alpaca bug

* Fix hugo server + add to main menu
2021-09-23 13:50:38 -04:00
Artem Veremey
4dcda6f8e3 Updating dependencies to address pillow security (#740) 2021-09-10 19:20:05 -07:00
Theodore Aptekarev
4b8a82f3ae Introduce Jupyter Lab extensions (#718)
* Add folder for Jupyter Lab extensions

* Add initial settings menu extension code

* Add initial terminal launcher extension code

* Add lab extension build files to ignore

* Update settings form sections to be populated from a loop

* Update terminal launcher

* Add script load env from settings

* Update settings schema

* Update settings forms to handle nested schema

* Satisfy eslint

* Lint python code black

* Remove unused python API

* Satisfy eslint

* Update extension icons

* Update terminal launcher menu commands

* Update settings infrastructure for both extensions

* Update docstrings

* Lint python code black

* Lint more python code black

* Add structure for website

* Update labels.yml

* Update the settings form population with user settings

* Add node_modules of the test folder to gitignore

* Add UI tests for the settings extension

* WIP: Update terminal launcher extension code and wip settings

* Add development setup documentation

* Pass settings to environment variables in the launcher

* Update settings extension schema to include custom python path

* Satisfy eslint and flake8

* Add setup.py to mypy exclude paths
The setup.py that goes with the jupyterlab extensions fails the mypy
check and excluding them is the only workaround atm

* Check mypy hook

* Fix linting error raised by pyupgrade

* Change setting name to be different from a system variable

* Update launcher to set env variables with bash stdin

* Clean up unused scripts

* Make jupyterlab mandatory in poetry

* Add Jupyter Lab extension installation docs

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: didier <dro.lopes@campus.fct.unl.pt>
2021-09-09 21:34:04 -07:00
Artem Veremey
d44cd16614 Updating dependencies and cleaning up (#730)
* Updating dependencies and cleaning up

* Tensorflow 2.6.0 update
2021-09-01 14:55:17 -07:00
colin99d
b9b640898c Excel Discounted Cash Flow (#667) 2021-08-14 15:23:18 -04:00
colin99d
81337b4fdd Improved Testing Framework (#665)
* 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>
2021-08-13 12:05:32 -04:00
DidierRLopes
ec07686aed Refactor Economy menu (#652)
* 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
2021-08-08 21:36:24 +01:00
Artem Veremey
6ad25442ee Update poetry to 1.1.7 (#577)
* Updating poetry to 1.1.7 and updating dependencies

* Downgrading pywin32

* Updating snok/install-poetry version
2021-07-29 16:07:27 -07:00
Timothy Langer
06957c27f3 Add Sentiment Investor API integration (#562)
* 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>
2021-07-28 23:00:20 +01:00
Artem Veremey
64c8fd10fc Adding charset-normalizer explicit version setting and adding Sphinx to dev dependencies (#551) 2021-07-16 19:07:14 +01:00
jmaslek
a57be3b9cc Update view plot (#541) 2021-07-12 21:19:25 -04:00
DidierRLopes
07fc037441 Allow to load data from IEX (#536)
* 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
2021-07-12 20:46:34 +01:00
jmaslek
6d9bfa6fd3 Small bugs (#534) 2021-07-06 19:11:24 -04:00
DidierRLopes
d7bb5a9456 Add Fear And Greed Index command to Economy menu (#509)
* Add CNN feargreed to economy menu

* Update README.md

* Update README.md

* Update ROADMAP.md

* Update README.md
2021-06-23 20:56:10 +01:00
Artem Veremey
b49c4f09be Removing last mentions of fbprophet and updating dependencies (#508)
* Removing last mentions of fbprophet and updating dependencies

* Adding pytest.ini

* Updating requirements.txt
2021-06-19 13:41:33 -07:00
DidierRLopes
3c438fd84b Improve-UX (#506)
* 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
2021-06-18 19:35:47 +01:00
jmaslek
c0248a5b08 Add Stockgrid io source (#496)
* poetry add new mypy and merge recent main updates

* add shortdata command and dark short interest data

* reformat black

* Update Readme

* Add stockgrid dd command and update readme info

* Update Roadmao
2021-06-12 13:26:58 -04:00
jmaslek
6a1be6bcb7 Changing NLP from Flair to VADER (#491) 2021-06-10 19:14:25 -04:00
Chavithra
7477699514 Feature/degiro integration (#489)
* degiro integration : set degiro-connector = 1.0.0

* apply migration script

* degiro integration : enable degiro menu

* degiro integration : enable degiro menu

* degiro integration : update requirements
2021-06-07 03:17:45 +02:00
Artem Veremey
030bec00e5 Dependency on black is fixed in pyproject.toml. Mirroring the setting in conda configs (#483) 2021-06-01 17:00:23 -07:00
Artem Veremey
fe443f1426 Pin jupyter_client==6.1.12 (#482) 2021-06-01 16:00:20 -07:00
Artem Veremey
962be07a2d Move tensorflow into optional 2021-05-30 12:01:36 -07:00
Chavithra PARANA
e9054ac9a9 make runnable script gst 2021-05-29 18:58:43 +02:00
Jamie
a5815b26ec pin cvxpy to 1.1.12 everywhere 2021-05-26 21:02:23 -04:00
didier
31f5cc9f8b update to latest black version 2021-05-25 01:32:33 +01:00
didier
ab9a1dca96 fix a mess created by making timeseries-cv pip installable 2021-05-25 00:33:40 +01:00
Jamie
848b44c23a Updated black version and pyupgrade version 2021-05-24 12:42:57 -04:00
Jamie
ba6e0b9c61 Update tensorflow/h5py/grpcio to address tf 2.4 vulnerablity 2021-05-24 11:55:42 -04:00
Chavithra PARANA
73405e97f7 degiro integration : update poetry 2021-05-22 11:30:10 +02:00
Chavithra PARANA
a7882b40ed degiro integration : update porfolio commands 2021-05-14 22:56:31 +02:00
Jamie
552602311c reqs + poetry 2021-05-01 20:13:26 -04:00
jmaslek
9634eb4680 Merge branch 'main' into add_bt 2021-04-25 20:28:21 -04:00
Jamie
1e69cb183f poetry + requirements 2021-04-24 14:27:46 -04:00
Deel18
66bf42b674 Merge branch 'main' into feature/degiro-broker 2021-04-23 21:06:42 +01:00
didier
0ee59c8439 Add fa-score 2021-04-22 22:21:27 +01:00
Deel18
f4715ff5d7 removed while loop and fixed indent 2021-04-22 20:48:12 +01:00
DJ
04330f2e3c run poetry 2021-04-21 15:23:06 -06:00
Jamie
fa63412ac3 Add coinmarketcap top 100 ability + small refactor 2021-04-21 12:20:37 -04:00
Jamie
6a45ce11af update requirements after merge 2021-04-20 15:59:35 -04:00
Artem Veremey
725771e02b Install cvxpy through conda 2021-04-19 19:42:09 -07:00
Artem Veremey
6d09f68cbf Downgrading cvxpy and pyportfolioopt to fix Windows dependencies 2021-04-19 17:05:23 -07:00
didier
d0c6c4ba84 make pmdarima not optional 2021-04-17 22:52:53 +01:00
didier
4dfa8ffe5b fix tabulate 2021-04-17 22:35:38 +01:00
didier
cf12d791cc address statsmodels on poetry #295 2021-04-17 17:57:23 +01:00
Jamie
f8e4d06de9 poetry add + requirement adds 2021-04-11 20:27:54 -04:00
didier
2016e67819 Add sector/industry/country valuation/performance/sector 2021-04-06 00:22:29 +01:00
didier
729f73a472 add screener-menu 2021-04-05 18:44:27 +01:00