Commit Graph

3905 Commits

Author SHA1 Message Date
jose-donato
2939b1c4e8 Fixed failing badge not used anymore (#3932)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 16:52:26 -05:00
montezdesousa
9438329378 Rewrite and skip yfinance tests (#3953)
* economy

* fix futures

* fix stocks tests

* skip unfixable tests

* fix ark
2023-01-13 19:41:45 +00:00
Luqman
f8377af2e6 GitFlow - improve check for changes (#3948)
Gitflow Implementation
2023-01-13 15:14:07 +01: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
Rob-Rychs
6f473be88c broken link (#3889)
* 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

* broken link

due to quandl.com redirecting to nasdaq.com, for the link to work and get the appropiate API key you need to remove the period at the end of this link...

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: james <jmaslek11@gmail.com>
2023-01-12 10:11:56 -05:00
Jeroen Bouma
efe46dec8e Update installation guides with videos (#3903)
* 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

* Update installation guides with videos

* Add fix for Ruff crashing

* Me no longer do what James said

* 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: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-12 10:06:03 -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
Chavithra
6dfbcc9884 Update dependency: grpcio (#3937)
* Update grpcio

* Revert "Update grpcio"

This reverts commit 676c50a2bdde5ca64614bddd3eaebbccd68c5994.

* Update dependencies
2023-01-12 12:50:52 +01:00
jose-donato
3fd68b6062 Hotfix/dots sources (#3928)
* fix: wordwrap

* 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: str

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-11 17:37:10 +00:00
Luqman
547b0742c2 Gitflow - Autodoc (#3922) 2023-01-11 16:49:20 +01: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
James Maslek
26a59f3265 poetry add ccxt@latest (#3920)
* 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

* poetry add ccxt@latest

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-10 14:49:10 -05:00
Luqman
fa824b0746 Feature/gitflow (#3921)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge

* Merge error fix

* Merge fix

* merge fix

* Merge fix

* Merge fix

* Merge fix

* merge fix

* [Gitflow] - Minor fix

* Feature/gitflow (#3914) (#3915)

* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge

* Merge error fix

* Merge fix

* merge fix

* Merge fix

* Merge fix

* Merge fix

* merge fix

* [Gitflow] - Minor fix

* Nightly build feature

* Added branch name docs
2023-01-10 16:53:21 +01:00
Luqman
634957cd6f Feature/gitflow (#3914)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge

* Merge error fix

* Merge fix

* merge fix

* Merge fix

* Merge fix

* Merge fix

* merge fix

* [Gitflow] - Minor fix
2023-01-10 11:49:42 +01:00
Luqman
4466fc5dca Update develop (#3913)
* 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-10 11:38:44 +01:00
Luqman
c782daf3ca Feature/gitflow (#3911)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge

* Merge error fix

* Merge fix

* merge fix

* Merge fix

* Merge fix

* Merge fix

* merge fix
2023-01-10 11:22:22 +01:00
Luqman
cfb6539837 GItflow Implementations (#3909)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge

* Merge error fix
2023-01-09 20:39:30 +01:00
Luqman
9e15ee95b2 Main --> develop (#3906)
* 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-09 16:59:13 +01:00
Luqman
8b50e8cbdf Gitflow Implementations (#3904)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build

* Testing Merge
2023-01-09 14:33:54 +01:00
Luqman
c0bcbd4109 Gitflow Implementations (#3902)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test

* More minor fixes for merge

* Minor fix

* Added nightly build
2023-01-09 14:05:10 +01:00
Luqman
ed2740205a Fix plot look when using eval and add query to choices (#3881) (#3901)
* 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 12:47:56 +01:00
Luqman
2a0c0c0cf0 Feature/gitflow (#3900) 2023-01-09 11:43:49 +01:00
Luqman
54188fd725 Testing Gitflow (#3899)
* testing gitflow

* Name changes

* Testing python changes

* Added Checkout to Base test
2023-01-09 10:17:40 +01: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
luqazino@gmail.com
824e0b4348 Minor changes 2023-01-09 08:00:14 +01:00
luqazino@gmail.com
e4885abb29 Added github actions for gitflow 2023-01-06 17:39:39 +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
Jeroen Bouma
0d47953e17 Change openbb.stocks.fa.dcf to openbb.stocks.fa.dcfc within Docs (#3862)
* Remove function from docs that doesn't exist anymore

* Change naming
2023-01-03 17:43:28 +01: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
jose-donato
753a41883c Fix links (#3817) 2022-12-21 18:10:47 -05:00
jose-donato
0a0ec4eecf New installer versions (#3814)
* Docker installation used wrong service

`docker-compose.yaml` service name was changed to `openbb` from `poetry` but documentation was not updated for all platforms

* fix: links

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-21 16:06:12 -05:00
jose-donato
8d2d9af693 Docker installation used wrong service (#3813)
`docker-compose.yaml` service name was changed to `openbb` from `poetry` but documentation was not updated for all platforms
2022-12-21 15:49:04 -05: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