Commit Graph

851 Commits

Author SHA1 Message Date
martinb-bb
b211fcac52 changing to base model default 2023-02-23 19:58:28 -05:00
martinb-bb
c628aace56 refactor 2023-02-23 19:52:18 -05:00
martinb-bb
b716a5c2ef sentiment analysis 2023-02-23 19:42:35 -05:00
martinb-bb
b06419bd76 poetry 2023-02-23 16:20:41 -05:00
martinb-bb
1e6735321a trailmap 2023-02-23 15:14:28 -05:00
martinb-bb
42690f2d76 tqdm 2023-02-21 16:28:18 -05:00
martinb-bb
94b5002765 fix chucks 2023-02-21 10:45:54 -05:00
martinb-bb
57c30f4f5e fb model 2023-02-21 10:09:47 -05:00
martinb-bb
1a965791c6 many upgrades 2023-01-20 10:33:40 -05:00
martinb-bb
74cf852175 working with urls 2023-01-20 09:45:54 -05:00
martinb-bb
0d377ce0f2 working summarizer 2023-01-18 12:21:17 -05:00
martinb-bb
f7f1ef23e9 more features 2023-01-18 11:37:32 -05:00
martinb-bb
6a300940c1 working 2023-01-18 10:17:10 -05:00
martinb-bb
6792f8e3b1 fixes with vids 2023-01-16 12:22:13 -05:00
martinb-bb
737cb895ac large commit 2023-01-16 11:59:02 -05:00
martinb-bb
eed3c3d59c i18n 2023-01-16 11:04:20 -05:00
montezdesousa
86fd7ae426 Add multiple countries option to events (#3938)
* allow multiple countries in events cmd

* fix test

* fix last test

* black

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 19:10:20 -05:00
Bongani Bendile
19919189ec Last Price Bug into Previous Close #3865 (#3949)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 18:32:57 -05:00
James Maslek
6ae8d88d2d Put yf.info behind an exchange flag on load (#3951)
* Put yf.info behind an exchange flag

* Guides

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-01-13 17:45:27 -05:00
montezdesousa
e9b832f779 Fix portfolio returns (#3931)
* fix inception bug and clean some useless attributes

* reorder attributes

* add returns and cumulative returns

* fix cumulative returns

* fix cumulative returns

* remove cumulative ret

* add some doc and encapsule methods

* order detail

* add more details on docstrings

* wrong docstring

* add commnet

* Update portfolio_engine.py

* fix bug with unsupported type

* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* fix table header

* fix portfolio integration test

* ruff

* fix tests

* rewrite yfinance call

* fix test_draw

* test_stocks_helper

* bt model

* fix comp analysis

* fix ftd

* fix dd

* fix screener

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-01-13 17:25:53 -05:00
Mert Nuhuz
4303bdc682 Issue #3882 Fixed (#3885)
* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Issue #3882 Fixed

* 2 files reformatted by black

* tests added

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* fixed mypy errors

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-12 10:14:58 -05:00
James Maslek
ac5e1b083c Rebase develop? (#3935)
* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-12 09:57:23 -05:00
montezdesousa
c6b2ec5857 Integration tests refactor (#3781)
* generate integration tests report

* new console report

* simple run_scripts

* move tests script to folder

* add skipping

* always display skips

* func name

* allow running from relative path

* rename some vars and time

* typo

* change portfolio supress and warning

* uncomment economy test

* rename test controller

* multiprocessing

* display test progress and available

* rename func

* mypy

* should not be here

* small changes

* type hinting and docstrings

* new subprocesses default

* forget context and chunksize

* clean len skipt

* small comment

* fix subproc default with v

* minor change

* fix path

* better this way

* make output visible

* allow only sequential run with verbose mode

* change message

* detail

* include andrew idea

* limit multiprocessing to clone version

* fix for package application

* must be up here

* allow verbose with multiprocessing but warn

* update readme

* move tests to core

* Update README.md

* Update README.md

* move readme outside

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* parse subproc arg

* Update README.md

* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* Delete glossary base command

* move scripts

* ruff

* update pyproject.toml

* update yfinance

* fix futures and economy test, rewrite

* rewrite stocks test yfinance dependent

* refactor sia to yfinance 0.2...

* fix last failing sia tests

* black

* update reqs

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2023-01-11 14:23:43 +00:00
James Maslek
1aebf488ac Add crypto dd functions to sdk (#3888)
* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Add crypto dd functions to sdk

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* Fixes currency and trailmap

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-10 17:36:26 -05:00
Luqman
694d22c83f Fix plot look when using eval and add query to choices (#3881) (#3898)
* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-01-09 08:02:40 +01:00
montezdesousa
7a5b82f817 Fix Stocks/QA/beta (#3876)
* load with correct dates

* black
2023-01-06 09:58:15 -05:00
montezdesousa
c69d562006 fix candle with av data (#3877) 2023-01-06 09:57:19 -05:00
James Maslek
93f440a31c Adds historical end date on the ca menu (#3867)
* #3835 add end date for historical

* Add to terminal function

* Add to other ca functions and update tests

* missed the controller test

* Add helper function for start and end date

* test for helper function

* default end = today

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-01-05 11:24:39 -05:00
montezdesousa
4b9119adbf Fix emacross with Polygon as source (#3874)
* fix emacross with Polygon as source

* remove import
2023-01-05 11:24:22 -05:00
AlisonB319
988f0aeed8 Adding override to get_user_timezone (#3871)
overrideing the get_user_timezone() so that the updated timezone variable is used
2023-01-05 11:03:23 +00:00
Colin Delahunty
be2c2a33d7 Convert flake8 to ruff (#3855)
* Final ruff fixes

* Added fixes

* Removed fixes

* Updated dependencies

* More updates

* revert test change

* Added fixes

* Final change

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-04 10:21:31 -05:00
Nate
052c16f87e Added single block data from Blockchain.com (#3406)
* Added single block data

* Added single block data tests to test_blockchain_model.py and test_blockchain_view.py

* Made changes requested by reviewer.

* Updating with some of the new changes.  Still have some to fix.

* Changed everything requested except a couple I need help on.

* Finished the last two changes.

* Resolving

* Added function for sdk and fixed a linter issue.

* Formatting

* Fixed tests

* tests

* Fix tests

Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-04 10:20:44 -05:00
Sameer Khan
1af3ff768c stocks/fa/analysis returns empty dataframe instead of error when no data (#3858)
* stocks/fa/analysis returns empty dataframe instead of error when no data

* lint

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-04 08:36:32 -05:00
martinb-bb
cf1603ade2 Dependancy updates: Darts --> 0.23.0 & thepassiveinvestor --> 1.0.11 (#3866)
* Poetry updates + reqs

* check import
2023-01-04 07:26:54 -05:00
Mert Nuhuz
450e78d2c5 update_loaded made more readable (#3859)
I made these changes is to make the code more readable and understandable.

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-03 17:28:57 -05:00
jose-donato
d9267da380 Adds command to check top hackernews stories (#3841)
* fix(docs): added margin between sections

* feat: added hn command

* fix: added log decorator

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-03 16:56:24 -05:00
Sameer Khan
ed47f56741 fix eclect screen typo (#3844)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-03 15:10:01 -05:00
Lars Karbach
ec41ab89b0 Display daily returns as bar chart with color=red for negative return… (#3850)
* Display daily returns as bar chart with color=red for negative returns and color=green for positive return

* Display daily returns as bar chart with color=theme.down_color for negative returns and color=theme.up_color for positive return

* Black formatting

Co-authored-by: Lars Karbach <lars@karbach.org>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-03 15:09:42 -05:00
Henrique Joaquim
306d0ec9bd Fix issue on loading stock (#3860)
* fix the issue for inexistant ytd dataframe

* fixing tests
2023-01-03 09:15:12 -05:00
joshuabuildsthings
21247ac302 Fixes ValueError in Cell 21. (#3804)
* Fixes ValueError in Cell 21.

* Fixes ValueError in Cell 21.

* Merge branch 'fix/economy-report-error-09717374' of github.com:joshuabuildsthings/GamestonkTerminal into fix/economy-report-error-09717374

* Clearing cells
2022-12-24 09:27:48 +00:00
Florian Drinkler
2873bbbadd Update blcp display name (#3808)
* Update blcp display name

* fix test_print_help

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2022-12-22 20:46:35 +00:00
northern-64bit
caa10a8a20 Fix the greeks calculations of the chain command (#3812)
* Fix greeks

* Improve readability

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-22 14:43:31 +01:00
James Maslek
7e90d20d46 Release 2.1.0 (#3811)
* bump version

* Update OPENBB_LOGGING_COMMIT_HASH

* Update docker version

* Update requirements

* Revert "Update requirements"

This reverts commit fae0e8ddb1.

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-12-21 14:01:27 -05:00
James Maslek
0e8a8013aa Fix polygon cash statement + fmp stuff (#3809)
* Fix polygon cash statement

* FMP bugfix and regenerate some tests

* fix vomma

* Fix unreported futures bug with capitalization
2022-12-21 12:04:45 +00:00
James Maslek
a3419d0844 deps update (#3800) (#3801)
* deps update (#3800)

* statsmodels

* delete very old files

* Lots o tests

* etf tests

* OPtions tests

* Pin psutil for m1 build

* stocks rewrite expected

* pyproject comments + portfolio test

* disc/ark view test

* dcf coe

* dcf view

* stocks screener

* dcf model

* etf controller

* insider views

* dps view

* ca menu

* stocks/qa

* skip bt tests

* get rid of pymongo from .spec

* One last skip

* Allow finviz to be 1.4.4

* oops forgot to get rid of my debugging

* remove bson from spec because no more pymongo

* make requirments txt and requirements be finviz 1 4 4

* try hidden import

* Gray sweatpants

* Add files to spec

* Revert "Allow finviz to be 1.4.4"

This reverts commit 9581993b4f.

* Revert "Pin psutil for m1 build"

This reverts commit 07fa2d1be0.

* Revert "statsmodels"

This reverts commit 2e431b5d34.

* Revert "deps update (#3800)"

This reverts commit d9fb8a288c.

* Re-solve dependencies

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-12-20 23:45:29 +01:00
Henrique Joaquim
097173742a Out of the box economy report (#3802)
* out of the box economy report

* some fixes for when user has keys

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-19 17:12:21 +00:00
Henrique Joaquim
4021a5511f Out of the box forex report (#3799)
* dashboards working on installer

* passing args as list

* fixed for ubuntu

* adding args just if necessary

* removing the shell arg

* out of the box forex report

* removing changes

* adjusting condition
2022-12-19 10:25:45 -05:00
Henrique Joaquim
af7334a6ef Out of the box crypto report (#3794)
* working crypto report

* fixing news

* fixing the condtion's logic

* changed the load source

* added example

* trying to get rid of binance
2022-12-16 13:55:06 -05:00
James Simmons
6112658d46 Pyinstaller Hook Fix For Forecast Report (#3746)
* trying to replace hook

* reports controller commenting out forecast disable

* removing astropy, tensorflow, and riskfolio

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-16 13:31:37 -05:00
martinb-bb
4c3c87d11b hot fix: True Range Feature (#3793)
* fix atr feature eng

* fix

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-16 12:00:29 -05:00