Commit Graph

2510 Commits

Author SHA1 Message Date
Didier Rodrigues Lopes
f2df70de4f Update README (#1154)
* Update README.md

* fix md lint in README

* remove line length

* remove line length

* increase md line length

* scrap new and improved
2022-01-07 16:22:24 +00:00
Didier Rodrigues Lopes
453ea23cd3 introduce routines concept (#1152)
* introduce routines concept

* James review
2022-01-07 16:20:04 +00:00
Didier Rodrigues Lopes
c388d9afba Fixes issue with loading from qa + improve line log plot (#1151)
* fix issue with loading on qa

* improve log plot

* fix date to YYYY-mm-dd

* fix dd tests w new date format

* fix tests

* grid for major lines
2022-01-07 15:59:54 +00:00
jose-donato
efab61a281 Crypto Tool: Calculate potential returns (#1146)
* 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

* created prt controller

* creating model

* removed unused print

* restaged

* adds current market cap

* added reports to gitignore
2022-01-07 09:53:54 -05:00
jose-donato
ea964109d6 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
2022-01-07 10:06:13 +00:00
jmaslek
966cd3c6d5 New alternative data context + first sub context (Covid) (#1142) 2022-01-06 13:12:38 -05:00
Didier Rodrigues Lopes
4dddaf74c4 interactive line chart and annotation (#1140)
* interactive line chart and annotation

* add drawing flag
2022-01-06 15:14:43 +00:00
Chavithra
61dd672e6d Tests : Stocks > Option + Technical Analysis + Screener (#1145)
* Updating tests : stocks/ta

* Updating tests : conftest

* Updating tests : stocks/screener/finviz

* Updating tests : stocks/options
2022-01-06 15:31:30 +01:00
Chavithra
c0772bb11c Update stocks : ta > tradingview (#1144) 2022-01-06 10:42:08 +00:00
Colin Delahunty
eb0dde4603 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
2022-01-04 20:51:11 -05:00
jmaslek
891b51b26b 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
2022-01-04 20:11:50 -05:00
Didier Rodrigues Lopes
e43e395ea6 improve additional info of stocks (#1137)
* improve additional info of stocks

* unnecessary code
2022-01-04 21:13:21 +00:00
Didier Rodrigues Lopes
b33f830c64 Fixing tradier (#1135) 2022-01-04 14:10:56 -05:00
jmaslek
f5b0dc8e7b Add prediction to economy/fred (#1133) 2022-01-04 14:10:40 -05:00
Didier Rodrigues Lopes
8571336724 Add insider presets (#1127) 2022-01-04 16:33:07 +00:00
Didier Rodrigues Lopes
d5d581b59b 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
2022-01-04 10:35:34 +00:00
Chavithra
8f8147c3af Tests : Stocks > Research + Screener (#1131)
* Updating tests : stocks/research

* Updating tests : stocks/screener

* Updating tests : stocks/screener
2022-01-04 10:12:06 +00:00
Chavithra
000d1e93d7 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
2022-01-04 01:25:31 +01:00
jose-donato
2117b5de6b fix darkmode issues (#1130) 2022-01-03 20:38:39 +00:00
jose-donato
8dacef0bf0 fix assets on hugo server and revert url (#1129) 2022-01-03 19:51:39 +00:00
jose-donato
31dad613a7 added new hr feature (#1128) 2022-01-03 19:29:06 +00:00
jose-donato
f9ac2e8b55 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)
2022-01-03 19:25:35 +00:00
David Khouya
abf79a5249 Handle KeyboardInterrupt on user input read (#1124)
Co-authored-by: David Khouya <david.khouya@leddartech.com>
2022-01-02 22:03:36 +00:00
jmaslek
e437f29ae4 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
2022-01-01 14:16:32 -05:00
Didier Rodrigues Lopes
c961fcb278 Add whatif scenario feature (#1122)
* Add whatif scenario feature

* fix tests
2022-01-01 17:57:52 +00:00
teh_coderer
445ec3256c 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
2022-01-01 17:26:42 +00:00
Didier Rodrigues Lopes
c0b83a2e39 revert DD report with pickle dataframe being stored (#1120) 2022-01-01 17:24:32 +00:00
Colin Delahunty
18180c2126 Fix to dcf command (#1115)
* Fix to dcf command

* Forgot to take out a comment

* Dider change

* user data patch for now
2022-01-01 17:28:26 +03:00
Didier Rodrigues Lopes
041a6cd5a0 reset different coin from dd controller on crypto (#1118) 2022-01-01 00:45:24 +00:00
Colin Delahunty
caa2c88c12 Stock Dashboard (#1018)
* Added notebook

* Massive refactoring

* Significant enhancements

* Error handling, variable renaming, refacotring

* Reformatted widgets

* Made rolling adjustable

* Fixed date bug

* Began transition to plotly

* Expanding dict

* Expanded analysis, formatted with black

* Added

* Replaced matplotlib with Plotly

* Slight updates

* Enhanced ability to format dashboard

* Fixed duplicate graph errors

* Fixed duplicate graph errors

* Found out which renderers work where

* removed unused code

* Final enhancements

* Updated requirements

* Added conda dependencies

* removing unneeded changes

* removing unneeded changes

* removing unneeded changes

* Updated git ignore

* Added notes

* removed unused code, added comma warning

* Allowed multi select

* Updated dependencies

* Simplified dependencies

* Fixed dependencies again...

* Added line endings

* Improved widgets and title

* Dider improvements

* Removed DS Store (sorry Nintendo)

* Updated requirements files

* Updated yml

* Updated yml

* Updated yaml

* Fixing change

* Allow for lab or Voila

* Updated toml

* Updated requirements.txt

* Update conda-3-8-env.yaml

* Update conda-3-8-env-full.yaml

* Updated

* A tragic forgetting

* Dependency reset (not ready to merge

* removed high entropy

* Another dependency update

* Added in my dependencies
2021-12-30 12:22:21 +00:00
jose-donato
c901bb9267 NFT feature opensea collection statistics (#1109)
* added statistics for opensea collection feature

* trying to fix json error

* trying to fix json error

* fixing vcr tests

* print to include 2 decimal cases

* fixing tests

* added to script, date format and require

* fix: linting
2021-12-30 11:34:25 +00:00
jose-donato
1cd7d26255 Feature: Adds new nonzero command (#1110)
* adds new nonzero command

* fix: removed wild print
2021-12-30 11:34:02 +00: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
teh_coderer
f83ee10c22 Discordbot/expiryreactions++ (#1102)
* 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

* 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
2021-12-30 03:07:46 +00:00
Didier Rodrigues Lopes
af62b22bb7 have an empty default export (#1112) 2021-12-30 02:42:29 +00:00
Didier Rodrigues Lopes
2e4d22458d fix infinite loop (#1111) 2021-12-30 02:26:14 +00:00
Didier Rodrigues Lopes
d59d6b45b7 minor fix to hcorr (#1107) 2021-12-30 00:16:07 +00:00
Didier Rodrigues Lopes
5797549c2f fix gh docs (#1108) 2021-12-29 16:24:14 +03:00
Theodore Aptekarev
37d87c358d Bump dependencies and resolve dependabot warnings (#1092)
* 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
2021-12-29 11:08:38 +00:00
Danglewood
05889b9756 Updated Hugo Server for Portfolio Menu Refactor (#1104)
* Updated menu tree for refactored portfolio menu

* updated for refactor

* no longer exists

* added menu screenshot

* updated description

* updated description

* added image

* added image

* added image

* added image

* added screenshot

* updated description

* added image

* updated description/added image

* added image/updated description

* added image/updated description

* added image
2021-12-29 11:07:53 +00:00
Didier Rodrigues Lopes
11d89b7928 Tiny tiny fixes (#1101)
* fixes

* fixes found on discordbot
2021-12-26 22:31:34 +00:00
Chavithra
c914740f48 Tests : Stocks > Quantitative Analysis (#1100)
* Updating tests : stocks/quantitative_analysis

* Updating tests : stocks/insider

* Updating tests : stocks/quantitative_analysis

* Updating tests : stocks/insider

* Updating tests : stocks/insider

* Updating tests : stocks/quantitative_analysis

* Updating tests : stocks/quantitative_analysis
2021-12-25 18:10:34 +01:00
Chavithra
23f8441941 Tests : Fix skipped tests (#1099)
* Updating tests : stocks

* Update tests : stocks/insider
2021-12-25 17:04:19 +00:00
Chavithra
9a7bde9eea Tests : Stocks > Comparison Analysis + Fundamental Analysis (#1084)
* Updating tests : stocks/comparison_analysis

* Updating tests : stocks/fundamental_analysis

* Updating tests : stocks/comparison_analysis/controller

* Updating tests : stocks/comparison_analysis/polygon

* Updating tests : stocks/comparison_analysis/controller

* Updating tests : stocks/comparison_analysis/controller
2021-12-25 16:56:49 +00:00
jose-donato
f3838d7581 update hyperlinks in readme (#1098)
* update hyperlinks

* fix hyperlinks
2021-12-25 16:55:13 +00:00
Didier Rodrigues Lopes
4e57fc0359 minor fixes that saw while showing terminal to my parents (#1096) 2021-12-24 19:03:29 +00:00
Didier Rodrigues Lopes
a498a39b4d Update Procfile (#1094) 2021-12-24 00:56:19 +00:00
Didier Rodrigues Lopes
b4a876ac6b fix minor bug (#1091)
* fix minor bug

* fix pylint
2021-12-23 23:54:55 +00:00
Didier Rodrigues Lopes
f88d592d7c Gov discord (#1093)
* add documentation to gov_menu

* improve lasttrades

* improve last contracts

* improve qtrcontracts cmd
2021-12-23 23:54:47 +00:00
Theodore Aptekarev
17c9b01fad Bot UX playground (#1082)
* Minify the help command

* Add help command for the dps menu

* Blacker the black code

* Add bot log handling

* improve screener on discordbot

* improve screener code of discordbot

* linter

* line length

* fix bug with window size on discordbot

* pylint and black fixes

* black linter

* fix and improve options menu

* Add usage example and fall back to using docstrings as help messages

* Make logger create new files on every launch

* Add usage instructions to menus and commands

* Update docstrings

* Fix arktrades command not handling limit numbers

* Add forgotten help message to the economy command

* Send "you snooze you loose" message only if debug flag is on

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2021-12-23 21:30:50 +00:00