Commit Graph

3879 Commits

Author SHA1 Message Date
montezdesousa
80dfd9a7ee 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
2023-01-06 16:34:39 -05: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
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
Jeroen Bouma
bc48e8051a Significantly update the API Keys documentation for the OpenBB Terminal and OpenBB SDK (#3780)
* Update guides to API Keys for the OpenBB Terminal

* Small updates

* Update OpenBB SDK API Key documentation

* Update with summary tags

* Update api-keys.md

* Update api-keys.md

* SDK Update

* Terminal Update

* Jamesiboy had a request

* And this file needed changing too

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-16 09:11:43 -05:00
James Maslek
d99c5491d1 Small options fix + docstring (#3792)
* fix dte for options

* sorry henrique
2022-12-16 10:33:45 +00:00
James Simmons
0aae71cba8 Fixes Portfolio & Forecasting working on Intel Installer (#3745)
* removing astropy and riskfolio

* trying to find forecast error

* adding back in signing and notarizing

* adding import checker command

* adding darts to spec file

* removing darts and adding all entitlements

* removing debug entitlement

* adding back in debug

* reverting changes

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-15 20:34:57 -05:00
jose-donato
917b2bb44c Fix test wordrwap (#3788)
* fix: wordwrap

* fix: test
2022-12-15 15:50:04 -05:00
Jeroen Bouma
872b920d01 Add fix for Stocks menu not loading (#3782)
* Add fix for API issue

* Some black formatting

Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-15 15:49:44 -05:00
James Maslek
4266c69239 Editing the SDK functions (#3723)
* etf compare into sdk

* docstring + #3510

* #3712

* Add stats to sdk + isort folder

* Add filter function

* add 10 insider functions

* add new fa models

* update equity.ipynb
2022-12-15 14:00:29 -05:00
jose-donato
a57cb04eb1 fix: wordwrap (#3785)
* fix: wordwrap

* fix: package
2022-12-15 13:09:27 -05:00
jose-donato
d594cbd82e Fix wordwrap by default on docs (#3776)
* feat: fixes on docs website

* fix: tab issue

* fix: wordwrap by default cannot happen in every codeblock
2022-12-15 12:58:13 +00:00
teh_coderer
baa8bc6f39 Update generate_sdk_markdown.py (#3775) 2022-12-14 16:49:47 +00:00
jose-donato
0f7b492b37 New SDK showcase dashboards (#3769)
* fix(docs): added margin between sections

* feat: new showcase items

* Update showcase.md

* Update showcase.md

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-12-13 19:17:58 +00:00
James Maslek
5a43a2af5a Update actions cache (#3768)
* Update key/restore keys

* oops

* drop env.cache-name

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-12-13 10:14:18 +00:00
jose-donato
45b45437a6 Docs styling issues (#3743)
* feat: fixes on docs website

* fix: tab issue

* fix: codeblock wordwrap by default

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2022-12-12 21:48:08 -05:00
kulbinderdio
7e4a657333 Addition of exchange holiday functionality under stocks/th (#3486)
* Addition of exchange holiday calendars using PandasMarketCalendar

* website update for holidays functionality

* Disable pylint too many attributes

* Changes to not show index for dataframe and include metavar

* Setting of default value for holidays

* Merge + black linter

* test fix

Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-12-12 21:09:09 -05:00
Tiago Ferreira
5f47ca2734 feat: add reviewpad workflows (#3731)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-12 19:41:38 -05:00
montezdesousa
6d88b51961 Fix empty equity report (#3739)
* handle empty dfs

* handle empty dfs

* black

* fix equity report

* msft

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-12 19:26:17 -05:00
DidierRLopes
8b1ac6c858 Add parameter to automatically color a table based on positive and negative numbers (#3603)
* automatically color table based on values - parameter added to print_help_text

* fix act cmd

* disable warning

* improve code for coloring + allow row/col select coloring

* update timestamp date

* cleanup

* start implementing tests

* ignore branches

* pylint disable

* pylint

* remove tests

* remove unused imports

* remove .txt files

* type ignore

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2022-12-12 19:23:06 -05:00
andrewkenreich
3ddb092f9c making install instructions more clear (#3736)
* making install instructions more clear

* install instruction - requirements link

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-12-12 19:17:46 -05:00
martinb-bb
e38fec5a5c Tensorboard Integration + model export location (#3734)
* adding tensorboard support for possible models

* updates

* brnn

* rest of the models

* black

* update website URL

* reword

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-12-12 19:17:15 -05:00
sprainhill
1a3b269aac Fixes minor typos in the contributing guidelines (#3767) 2022-12-12 17:59:02 -05:00
kajdo
fedeeaad18 FEAT: EPS and Revenue Estimations from Seeking Alpha (#3402)
* FEAT: EPS and Revenue Estimations from Seeking Alpha

* initial pytest for seekingalpha model and view

* added fa_controller tests for seekingalpha views

* integration tests for epsfc and revfc

* FIX: handling of "no data found"

* merge

* number format fix

* format change according to black linter

* fixed unit tests because prev. recordings didn't match anymore

* change to match linter rules

* fixes

* delete website files"

* update codespell

* Flake

Co-authored-by: kajdo <juergen.kajdocsy@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-12-12 17:55:20 -05:00