Commit Graph

118 Commits

Author SHA1 Message Date
Artem Veremey
b7d30c22dd Updating dependencies and putting kaleido into a shibajail (#1592)
* Updating dependencies and putting kaleido into a shibajail

* Downgrading jinja2 to accomodate papermill

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 12:26:12 -07:00
Theodore Aptekarev
3c2a8cf97f Installer fixes (#1584)
* quick econ fix

* black

* keys and feature flags

* terminal name 👀

* some more replacements

* some more replacements

* edit pyproject

* gst -> openbb

* add example portfolios back to git

* Update api from gst

* sorry.  skipping some tests

* another round of names

* another round of test edits

* Missed some .gst refs and update timezone

* water mark stuff

* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS

* Add statsmodels and linearmodels datasets to bundle

* Update openbb test scripts to exit after they're done

* Fix default export path for packaged apps

* Update packaging settings after rename

* Exclude jupyter and report from packaged apps and testing

* Fix typo

* Remove divcal from test because it freezes the terminal

* Add openbb mac icon

* Add windows icon and splashscreen

* Fix markdown linting

* Fix gov & economy failed test  (#1585)

* fix more GST to OpenBB Terminal

* Fix gov & economy fail tests

* Small changes

* Patching valuation & performance command

* Change GTFF to OBBFF

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Resolve no-else and inconsistent return

* Set default predict to true

* Fix multiple bugs: Add ylabels to bt menu & Fix reports bug (#1581)

* Add y labels to all bt commands

* Fix reports bug

* Update crypto market

* Update crypto market

* Remove gst folders and remaining files

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>

* Break CI

* Break CI again

* Fix small rsi bug (#1588)

* Add y labels to all bt commands

* Fix reports bug

* Update crypto market

* Update crypto market

* Remove gst folders and remaining files

* Add back crypto market

* Update report controller

* Remove bt view from gst

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>

* Clean up remainder of Gamestonk

* Fix CI back

* Force CI to install pytest

* Tests : fix test_menu

* Fix loggers linting

* Rename default OPENBB feature flags

* Rename defaults feature flag file

* Loggers : fix mypy

* OBBFF to OPENBB in terminal.spec

* Change flair to butterfly

* Force CI to create a new cache

* Force CI to create a new cache in conda tests

* Skip test

* Clear other caches

* Fix linting

Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 20:10:00 +03:00
jmaslek
b71abcfbf4 Updating some names (#1575)
* quick econ fix

* black

* keys and feature flags

* terminal name 👀

* some more replacements

* some more replacements

* edit pyproject

* gst -> openbb

* add example portfolios back to git

* Update api from gst

* sorry.  skipping some tests

* another round of names

* another round of test edits

* Missed some .gst refs and update timezone

* water mark stuff

* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS

* fix more GST to OpenBB Terminal

* Logging : merge conflicts with main

* Revert wrong files

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 09:46:26 -04:00
Theodore Aptekarev
ab4de1dd70 Create a packaged app bundle with Pyinstaller (#1525)
* Add dashboard widget assets

* Add ipywidgets and ipyflex to project

* Add currencies dashboard notebook

* Update docs and docstrings

* Add pyinstaller to project deps

* Add pyinstaller artifacts to gitignore

* Fix linter errors in terminal.py

* Update cspell hook and action with a pyinstaller specific word

* Add pyinstaller specfile and artifacts

* Add splashscreen image

* Add app icon

* adding splash screen support to terminal.spec and terminal.py

* Restore the conda env build files

* Sync deps

* Add border to the splashscreen image

* Clean up terminal launcher

* Add support for default feature flags in packages apps

* Fix types and linting

* Add splashscreen management to app bootup

* Check prediction feature flag when entering crypto/pred

* Update pyinstaller spec file

* fix .spec file to work for splash and icon - removed the ".."

* Allows to export when using installer (#1568)

* fix export for packaged apps

* fix filename

* Git : replace commit_hash when it is set in config_terminal

* Add update of the git commit hash in gtff default during build

* Add packaged app name and feature flag to logs

* Add platform specific icon assignment

* Add macOS build assets

* Add tensorflow to hidden imports

* Move LOGGING_COMMIT_HASH to gtff

* Adding files/folders needed to .spec  and pyinstaller folder. This will make certain commands work again.

* Linting

* Workflow : ignore ./build/pyinstaller from codespell

* Workflow : exclude ./build/pyinstaller from flake8

* Poetry + Workflow : add types-six

* Pyinstaller : remove property_cached, user_agent and vaderSentiment

* Revert "Pyinstaller : remove property_cached, user_agent and vaderSentiment"

This reverts commit dbb3e2b810.

* Clean up local paths in specfile

* Validate deps have correct Jinja version (they do)

* Fix logging commit hash to be set correctly for the logger to see it

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 02:35:56 +03:00
Colin Delahunty
c2b035c4da Fixing tests (#1559) 2022-03-26 08:53:42 -04:00
Colin Delahunty
dd4734bd90 Added Tests for Bots (#1523)
* Added common/helper tests

* expanded bot testing

* few changes

* import fix

* missed removing test config

* column order fix

* import fix

* removed df2img add new deps

* req

* update readme

* add dep for image export, fix

* get rid of yahoo-fin, add image export lib

* import issues in some machines fix

* images dir fix

* init fix

* fix?

* test

* test

* Fixed text handling

* missed a tbl

* Fixed tests

* Fixed poetry

* Fixed kaliedo

* Fixed codecov

* Fixed dependencies

* Added fix

* FIxed tests

* Added image cleanup

* Added tests

* Fixed tests

* Added test fix

* Added conda

* Updated bot path

* refactor

* poetry

* update dict/ fix slack image upload

* Update config_discordbot.py

* Updated

* Fixed tests

* Skipped energy

* fixes

* black

* fix

* import

* fix nan on smile

* added env settings

* add cmds_text dict, some chgs

* merge bot test fixes

* fix duplicate

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: Colin Delahunty <colindelahunty@MacBook-Pro.local>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-03-25 18:21:41 -04:00
Chavithra
9260856505 Logging : Disable Log Collection on CI (#1553)
* Logging : workflows put env in alphabetic order

* Logging : disable log_collection on workflows

* Logging : some cleaning

* Logging : catch join exception
2022-03-25 14:46:41 +01:00
Colin Delahunty
f193ad4fbf Update Folders in Pylint (#1519)
* Updated pylint folders

* Began fixing pylint

* fixed black

* Fixed pylint

* More pylint fixes

* Added

* Added changes
2022-03-19 13:48:46 -04:00
Colin Delahunty
93dc34b59c Code Without Documentation BANNED (Contributors Outraged) (#1487)
* Adds working checker

* Removed unused import

* Added dupont docs

* Added arg parser

* Removed Directory

* Updated commands

* Added hook to actions

* Added handling for no args

* Added proper ignores to actions

* Fixed tests

* Added Oanda documentation

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-16 15:21:28 -04:00
Jeroen Bouma
3c9c2b9223 Complete check on Hugo Documentation (#1358)
* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This is not a function on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This command does not exist on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Type in dcf help text

* Missing the index on dividends function

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* doesn't exists

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $ disp
usage: options {calc,yf,tr,info,pcr,load,exp,vol,voi,oi,hist,chains,grhist,unu,plot,parity,binom,vsurf,greeks,payoff,pricing,screen,cls,home,h,?,help,q,quit,..,exit,r,reset}
options: error: argument cmd: invalid choice: 'disp' (choose from 'calc', 'yf', 'tr', 'info', 'pcr', 'load', 'exp', 'vol', 'voi', 'oi', 'hist', 'chains', 'grhist', 'unu', 'plot', 'parity', 'binom', 'vsurf', 'greeks', 'payoff', 'pricing', 'screen', 'cls', 'home', 'h', '?', 'help', 'q', 'quit', '..', 'exit', 'r', 'reset')

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Create _index.md

* Create _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update and rename website/content/common/quantitative_analysis/data/_index.md to website/content/common/quantitative_analysis/raw/_index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Black formatting

* Update _index.md

* Update _index.md

* small ba edits

* black formatting code

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* black formatting code + mc axes

* Update _index.md

* Update _index.md

* Update _index.md

* regression

* regression

* Update _index.md

* codespell

* codespell

* flake8 fix

Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-20 13:40:58 +00:00
Colin Delahunty
c5393e0875 Bankruptcy Scores (#1271)
* Refacotred and expanded analytics

* Updated tests

* Updated hugo

* Updated tests
2022-01-27 11:56:53 -05:00
Colin Delahunty
a799585d0f Options Chain Dashboard (#1226)
* Began new

* Added chains

* Added documentation

* Enhancements

* removed black[jupyter]
2022-01-20 19:22:50 -05:00
Colin Delahunty
7412d2b61a Brotli.py check (#1188)
* Added brotli check

* Updated poetry and linting

* Modified to uninstall brotli

* Updated requirements

* Fixed YAML

* Added TOTO

* Added -y to pip uninstall

* Added user flag

* Using python -m

* Switched to conda

* Changed where we remove
2022-01-15 09:07:18 -05:00
Colin Delahunty
5d96f2959e Better pre-commit (#1185)
* Added jupyter black?

* Improved debug_mode

* Updated requirements.txt

* Added black[jupyter] to linting

* Reformatted jupyter notebooks

* Fixed black

* Updated requirements
2022-01-14 22:35:10 -05:00
jose-donato
d334d5e087 Features(crypto): added new commands to defi menu (#1169)
* adding new defi features and refactoring existing ones

* added tests and docs

* added zlot to ignored words

* markdown lint

* fixed pr issues

* fix hugo main.yml

* fix hugo main.yml

* added tests

* fixed prt issue

* added iv_surface failing tests

* added mocking to llama tests

* new tests

* skipped rich test for now
2022-01-14 11:14:15 +00:00
didierlopes.eth
f1ecd1fe90 Add logging w decorators (#1173)
* Example of adding logging

* make log possible with decorators

* remove lineno since we'll have logging at start and end

* rename log_decorator to log_execution

* add lineno and let it be 0 for log_start_end

* Decrease logging level (#1150)

* reset different coin from dd controller on crypto (#1118)

* Fix to dcf command (#1115)

* Fix to dcf command

* Forgot to take out a comment

* Dider change

* user data patch for now

* revert DD report with pickle dataframe being stored (#1120)

* Discordbot/expiry reactions (#1114)

* added load extension for options menu

* options menu: oi, iv, unusual options

* Update opt_menu.py

* Update unu.py

if no num requested set default to 10

* Update opt_menu.py

+ !oi ticker expiry request added without inputting date format. accepts 0-9 up to 10 weeks
+ added option volume plot (works same as oi)

* Create vol.py

* Create reaction_helper.py

* Cleaned up, added historical options

Cleaned up
+ added historical options data
+ added expiry reaction helper function

* Create hist.py

* cleanup

* added min/max strike price

* cleanup

* cleanup, added min/max strike price

* Update opt_menu.py

* added yfinance if no tradier token

* Update vol.py

* Update opt_menu.py

* Create oi_tradier.py

* Update oi.py

* Update opt_menu.py

* Update oi.py

* Update opt_menu.py

* Update oi.py

* Update iv.py

* Update unu.py

* Update oi_tradier.py

* Update hist.py

* Update opt_menu.py

* Update reaction_helper.py

* Create options_menu.py

* Update run_discordbot.py

* Update vol.py

* Rename discordbot/options_menu.py to discordbot/stocks/options/options_menu.py

* Delete opt_menu.py

* Update oi.py

+ min strike/max strike

* Delete oi_tradier.py

* Update options_menu.py

* Update hist.py

* Update vol.py

* Update oi.py

* Update options_menu.py

* Update options_menu.py

* Update options_menu.py

* Linting/Pre-Commit Fixes

* linting

* Linting

* linting

* pylint fixes

* Update iv.py

* Update options_menu.py

* Update reaction_helper.py

* Improved Code

- removed 148 lines same function

* Update run_discordbot.py

* Update reaction_helper.py

* Updated Options Menu

+ reaction expiry lookup
+ added unu, iv, oi, vol ,hist

* mypy fix

* msg delete delay

* Update options_menu.py

* fix

seems bot doesn't like when last emoji is empty.
added an X when strike c/p empty

* Update opt_cmd.py

* Update options_menu.py

* better handling

* Update options_menu.py

* Update opt_cmd.py

* fix stocks.opt indention

* hist.py token/error handling

* Update hist.py

* Update options_menu.py

* Update hist.py

* Add whatif scenario feature (#1122)

* Add whatif scenario feature

* fix tests

* Mutual funds (#1106)

* 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

* Handle KeyboardInterrupt on user input read (#1124)

Co-authored-by: David Khouya <david.khouya@leddartech.com>

* Improve hugo docs (#1113)

* added gitignore to website, fix portfolio toggle and website path

* updating styles and homepage

* added index page, removed dark mode, updated styling

* fixed colors

* updated urls (removed /GamestonkTerminal after url)

* added new hr feature (#1128)

* fix assets on hugo server and revert url (#1129)

* fix darkmode issues (#1130)

* Tests : Stocks > Options (#1125)

* Update tests : conftest

* Updating tests : stocks/options

* Updating tests : fix typing

* Updating tests : black

* Updating tests : pyupgrade

* Updating tests : black

* Updating tests : mock dates in cassettes

* Updating tests : conftest

* Updating tests : black

* Updating tests : force single threading

* Updating tests : skip

* Updating tests : black

* Updating tests : conftest

* Update tests : skip stocks/options/controller

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : fixing issue

* Updating tests : add init

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : conftest

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Updating tests : skip

* Tests : Stocks > Research + Screener (#1131)

* Updating tests : stocks/research

* Updating tests : stocks/screener

* Updating tests : stocks/screener

* improve usage of timezone in terminal (#1126)

* improve usage of timezone in terminal

* lint

* update dependencies

* address James review comments

* remove seconds from time on cmd line

* skip test

* Add insider presets (#1127)

* Add prediction to economy/fred (#1133)

* Fixing tradier (#1135)

* improve additional info of stocks (#1137)

* improve additional info of stocks

* unnecessary code

* Qa update (#1139)

* Add line option to common - qa

* rich to controller + lower case for pick

* Change qa_view to rich + hugo

* Update _index.md

* fix test

* fix test pt 2

* change menu print

* Refactored Reports (#1123)

* First working program

* added Voila support

* Attempt to fix requirements

* Revert depen

* Another dependency test

* Fixed errors

* Small changes

* Fixed help

* Added port warning

* Fixed continued terminal use

* Last change, we good fam

* Added placeholder so we can have stored

* Didier changes

* Fixed exit

* Fixed issue

* Update stocks : ta > tradingview (#1144)

* Tests : Stocks > Option + Technical Analysis + Screener (#1145)

* Updating tests : stocks/ta

* Updating tests : conftest

* Updating tests : stocks/screener/finviz

* Updating tests : stocks/options

* interactive line chart and annotation (#1140)

* interactive line chart and annotation

* add drawing flag

* New alternative data context + first sub context (Covid) (#1142)

* Crypto menu refactor (#1119)

* enabled some crypto commands in dd to be called independent of source loaded

* support for coin_map_df in all dd functions + load ta and plot chart refactor

* updated tests and removed coingecko scrapping where possible

* removed ref of command from hugo

* updated pycoingecko version

* refactoring load

* refactored load to fetch prices; pred can run independent of source now

* load by default usd on cp/cg and usdt on cb/bin

* updated to rich for formatting and updated dependencies

* fixed changes requested

* update docs

* revert discord requirements

* removed absolute from calculate change for price

* fixing pr issues

* fix loading issue when similar coins exist, move coins to home, fill n/a

* update docs for coins

* adds load to ta and pred menu

* Fix library loggers always setting DEBUG verbosity

* Set default log level to INFO

Co-authored-by: Didier Rodrigues Lopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: David Khouya <dakhouya@gmail.com>
Co-authored-by: David Khouya <david.khouya@leddartech.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>

* Fix linting errors

* Move log decorator to the decorators.py file

* Revert test assertion so that windows tests don't hang up

* Fix pylint exception

* Bump pylint version in CI

* Skip test that hangs on windows

Co-authored-by: Artem Veremey <artem@veremey.net>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: David Khouya <dakhouya@gmail.com>
Co-authored-by: David Khouya <david.khouya@leddartech.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-01-11 19:01:46 +03:00
Didier Rodrigues Lopes
78f110b389 ETF context new and improved (#1103)
* Add lookup commands

* main ETF commands

* Add technical analysis to ETF

* add prediction techniques to ETF

* add comparison analysis to etf

* allow to select nr of holdings on load

* add shold and summary commands to ETF

* minor improvs

* screener on ETF menu

* add etf/scr wsj commands

* readd compare command

* add sbc to etf/screener

* rename chold and shold

* fix rogue etf and reset

* minor corrections

* minor menu print improv

* legend of weights and title of plot

* refactor screener to screener and disc on ETF

* add ETF scripts
2021-12-30 03:21:21 +00:00
Chavithra
73624dcc18 Fixing Linting (#1062)
* Updating code : fixing linting

mypy message = Too many arguments for <lambda>

* Updating workflows : allow newest mypy version

* Updating code : apply black

* Updating code : black
2021-12-16 14:03:40 +01:00
Chavithra
2f010c5287 Workflows + Stocks > Insider (#1061)
* Updating code : stocks/insider remove unused file

* Updating workflows : tests - set mypy==0.910
2021-12-16 11:21:33 +00:00
Chavithra
cb6c1d4850 Updating tests : workflows + pre-commit (#992)
* Updating tests : workflows + pre-commit

* Updating tests : fixing mypy on pre-commit
2021-11-28 05:51:07 +01:00
Chavithra
ca45eaea2e Updating workflows : codespell + mypy (#991) 2021-11-27 19:47:25 +00:00
Artem Veremey
a1cba7378a Enable full mypy (#985)
* Add mypy types to dev requirements

* Add optional discord dependencies and generate requirements.txt for DiscordBot

* Add a full run of MyPy

* Fixing mypy errors and ignoring where unclear to establish a baseline

* Don't run mypy on Windows
2021-11-25 08:56:14 -08:00
Artem Veremey
1e8daa1f9a Enabling pylint for DiscordBot (#979)
* Enabling markdown linting for DiscordBot

* Clearning remaining linters

* Enabling pylint for DiscordBot

* Fix DiscordBot imports, pylint and mypy

* Flake8 fixes

* Add an exception for too-many-branches
2021-11-24 17:15:42 -08:00
Chavithra
e8329bba72 Updating requirements : to prepare for tests improvements (#976)
* Updating : poetry dependencies

* Updating : requirements files

* Update : poetry fix coverage version

* Updating : poetry.lock

* Updating : workflows  "pip requirements"

* Update : fix pylint false positive (conda 3.8only)
2021-11-24 22:20:24 +01:00
Artem Veremey
a6d442361d Enabling markdown linting for DiscordBot (#978)
* Enabling markdown linting for DiscordBot

* Clearning remaining linters
2021-11-24 12:47:45 -08:00
Artem Veremey
d93f9d60a5 Updating pylint version to 2.11.1 (#975) 2021-11-23 15:22:48 -08:00
Artem Veremey
5c65f7306d Major dependency updates including deprecation of python 3.7 (#970)
* Major dependency updates including deprecation of python 3.7

* Disabling unsubscriptable-object

* Updating pylint settings

* Updating conda env YAML
2021-11-23 08:25:46 -08:00
Artem Veremey
f608cdb88d Update bandit settings and add a wrapper for os clear (#905)
* Add bandit to dev requirements

* Adding bandit exceptions

* Wrap system clear os call

* Apply black
2021-11-03 11:05:14 -07:00
jmaslek
a13be8d678 Redo some forex menu with basic commands (#903)
* Make oanda menu and add some alpha vantage forex

* ignore csv for codespell

* Added load and candle plot for forex

* Add hugo stuff for forex commands

* fix merge error

Co-authored-by: James Maslek <james@Jamess-MacBook-Pro.local>
2021-11-03 09:44:24 -04:00
Artem Veremey
30425557a0 Another batch of markdownlint updates (#901)
* Another batch of markdownlint updates

* Update additional markdowns in gamestonk_terminal/
2021-11-02 09:01:42 -07:00
Artem Veremey
9f9aaf2789 Next batch of markdownlint cleanup (#900)
* Next batch of markdownlint cleanup

* Fixing a deliberate mistake
2021-11-01 22:14:55 -07:00
Artem Veremey
597cf5118b Next batch of Markdown lint fixes (#888)
* Next batch of Markdown lint fixes

* Fixing a deliberate mistake
2021-10-31 11:43:34 -07:00
Artem Veremey
ee55b271e8 Enable codespell for markdown and reduce exceptions (#885)
* Enable codespell for markdown and reduce exceptions

* Add a line break

* Spell out categories further
2021-10-31 01:14:22 -07:00
Artem Veremey
ceedec844b Add markdownlint to all top level markdowns (#884)
* Add markdownlint to all top level markdowns

* Fixing deliberate mistakes
2021-10-30 15:00:08 -07:00
Artem Veremey
e00729044a Adding linting to CONTRIBUTING.md (#883)
* Adding linting to CONTRIBUTING.md

* Fixing deliberate mistake

* Removing duplicate runs
2021-10-30 13:38:27 -07:00
Artem Veremey
44b8047774 Initial implementation of the Markdown Linter (#878)
* Initial implementation of the Markdown Linter

* Adding markdownlintrc

* Add an empty line
2021-10-30 11:30:10 -07:00
DidierRLopes
61ccd504af Improve customisable report generation (#854)
* A more customizable jupyter notebook report implementation

* refine dark pool and due diligence reports

* remove stocks reports

* Add crypto_market notebook report

* remove crypto reports folder

* remove crypto reports folder

* economy data report template

* remove economy reports menu

* Update test.yml

* remove notebooks folder, no longer needed

* Update README.md

* update due_diligence notebook to reflect refactoring of fa

* update gitignore based on Theo suggestion
2021-10-25 22:35:28 +01:00
DidierRLopes
d89683804e Fix #826 (#828) 2021-10-18 23:31:04 +01:00
Artem Veremey
ecbff24cd2 Updating poetry to 1.1.11 (#789)
* Update python dependencies

* Downgrade jsonschema version

* Updating poetry to 1.1.11
2021-10-05 18:13:08 -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
Artem Veremey
11b3caf16e Have codespell ignore *.lock files (#720) 2021-08-27 21:04:58 +03:00
Artem Veremey
e7e49538b0 Synchronize master and main (#705)
* hugo server

* Update test.yml

* Update test.yml

* Create gh-pages.yml

* Update gh-pages.yml

* Update config.toml

* Update config.toml

* update themes and public

* Update gh-pages.yml

* Update gh-pages.yml

* Update gh-pages.yml

* remove themes

* add themes

* Update gh-pages.yml

* Update config.toml

* Update config.toml

* remove

* re-add theme

* Update config.toml

* Update config.toml

* Update config.toml

* Update gh-pages.yml

* Update gh-pages.yml

* Update config.toml

* Update config.toml

* Update config.toml

* Update _index.md

* Update config.toml

* Update gh-pages.yml

* Update README.md

* Update README.md

Co-authored-by: didier <dro.lopes@campus.fct.unl.pt>
2021-08-23 09:03:23 +01:00
Artem Veremey
c7e784af71 Lock pylint version to 2.9.6 in the rest of CI (#691) 2021-08-21 15:17:22 +01:00
DidierRLopes
78d13934bd Dark Pool Shorts menu (#668)
* Work on dark pool short menu

* refactor some code

* fix sec_view and sec_model, and dp notebook

* improvements

* fix test

* minor fix

* add load command

* improve commands name

* remove news
2021-08-16 01:51:47 +01:00
Meg1211
00e4e7ca22 Update changelogs (#655)
* Update W10_2021.md

* Update W10_2021.md

* Update W11_2021.md

* Update W12_2021.md

* Update W11_2021.md

* Update W12_2021.md

* Update W13_2021.md

* Update W14_2021.md

* Update W15_2021.md

* Update W16_2021.md

* Update W16_2021.md

* Update W15_2021.md

* Update W16_2021.md

* Update W17_2021.md

* Update W18_2021.md

* Update W19_2021.md

* Update W20_2021.md

* Update W21_2021.md

* Update W22_2021.md

* Update W23_2021.md

* Update W24_2021.md

* Update W25_2021.md

* Update W26_2021.md

* Update W27_2021.md

* Update W28_2021.md

* Update W29_2021.md

* Create W30_2021

* Update and rename W30_2021 to W30_2021.md

* Create W31_2021.md

* Update test.yml

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2021-08-08 18:51:06 +01:00
DidierRLopes
b7e9495d3a Add crypto report (#575)
* Add crypto report

* refactor papermill to output html directly

* fix duplicate function

* fix finviz_view

* Update README.md

* forgot to push crypto market template

* add bitcoin plot to crypto report

Co-authored-by: Jamie <jmaslek11@gmail.com>
2021-07-30 00:09:50 +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
DidierRLopes
f89fcc72a3 final codespell fix 2021-07-24 00:03:50 +01:00
DidierRLopes
2a4257684f lowercase codespell trial 2021-07-24 00:01:14 +01:00