Commit Graph

5360 Commits

Author SHA1 Message Date
Danglewood
eaf27ab522 restores parameters template file (#4976) 2023-05-09 05:21:26 +00:00
Pratyush Shukla
84125c88ad Fixed equity report (#4991) 2023-05-09 05:08:49 +00:00
Danglewood
ad6a9c5e07 removes global pandas display settings from fmp_view (#4983) 2023-05-09 05:03:17 +00:00
Pratyush Shukla
d86e5cc9c4 Updated pytrends dependency in config files and remove temp workaround (#4989)
* Updated dependency `pytrends>=4.9.2`

* Updated `requirements` & `requirements-full` files

* Removed temp workaround

* `ruff`
2023-05-09 05:00:43 +00:00
Pratyush Shukla
1a150b0dbc Fixed date format for crypto.dd.twitter and crypto.dd.events in SDK (#4990)
* Fixed `date` column

* `black`

* Fixed `date` column

* `black`

* tests
2023-05-09 04:40:27 +00:00
Igor Radovanovic
1c869afd2f Hotfix/ stocks/fa/dcf (#4992)
* Remove flags

* Update DCF params and file naming
2023-05-08 20:18:37 +00:00
Danglewood
1f3f6bf2c7 fixes forecast export (#4994) 2023-05-08 18:52:35 +00:00
Danglewood
4743e571b8 patches economy/edebt and updates tests (#4981) 2023-05-08 08:10:02 +00:00
LOne2three
1f0c3ff4de Hotfix/routine default file overwrite (#4927)
* bump pywry

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* added logic to download_routines and save_routine to put default and personal routines in difference folders and changed logic in call_dowload in account controller to account for the change in logic for save_routine

* Changed logic in read_routine function to account for the new directory structure and also changed the corresponding unit tests. Slightly amended test_save_routine to account for the new routine param

* Changed the routine parameter of mock_save_routine.assert_called_once_with to account for the change in the input parameter of the save_routine function

* changed routine string in test_routines_handler

* Made unit tests for download_routines in routines_handler.

* added comments

* Added new logic to call_exe so that a user could execute the file with --file default/filename.openbb, --file personal/filename.openbb or --file Users/Username/openBBUserData/Routines/hub/default/filename.openbb

* linting: black

* linting: ruff

* ruff broke black

* removed regex in call_exe and changed logic in call_download to give personal routines priority

* Changed formatting

* Changed formatting and removed regex from call_exe

* Created class variables and moved dictionaries out of constructor to solve linting issue.
Changed routine args type annotation
Changed data list

* Added type annotations for the dictionary class variables

* Changed data annotation type for routine dictionaries

* Moved dictionaries back into constructor

* removed import pathlib

* ruff

* mypy

* pylint

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-05-05 13:12:45 +00:00
Danglewood
2da1f0d083 add libzlma workaround to Terminal FAQ (#4974) 2023-05-05 13:05:45 +00:00
Pratyush Shukla
5ed7830af7 Fixed search command issues (#4845)
* Added `exchange` filter in `stocks\search`

* Fixed arguments

* Fixed issues with `stocks\search` command

* Fixed linting

* Fixed args and updated test

* get rid of second dash

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-05 12:49:43 +00:00
Danglewood
0bcf3629a8 Updates Terminal Intro Guide for Economy Menu's Recent Changes. (#4967)
* Updates Terminal intro guide for Economy menu. Images to follow

* adds the screenshots

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-04 18:01:37 +00:00
Danglewood
72c4ce01f3 Updates SDK Intro Guide for Fundamental Analysis Module's Recent Changes (#4964)
* Updates SDK intro guide for fundamental analysis for recent changes

* previous commit was missing this

* fixes

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-04 17:32:27 +00:00
andrewkenreich
b9a4faa0d7 fixing equity report issue (#4922)
* fixing equity report issue

* some fixes

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-04 17:26:38 +00:00
Pratyush Shukla
5a3b006b76 Fixed column names for economy\performance and economy\valuation (#4968)
* Fixed column names

* Fixed column names for `valuation`
2023-05-04 16:27:28 +00:00
Disorder AA
30076a590b feat(docs): add math katex support (#4972) 2023-05-04 15:21:01 +00:00
James Maslek
aa72d4ae8d Hotfix/kill cov (#4971)
* bump pywry

* fix rm command (#4890)

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* Fix `crypto/defi/anchor` (#4892)

* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* remove codecov

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-05-04 14:41:24 +00:00
Danglewood
6964947904 hotfix/stock-screener-remove-delimiter: Gets rid of commas in Company column. (#4954)
* gets rid of comma in company name column

* re-records tests
2023-05-03 19:18:54 +00:00
Pratyush Shukla
cfb0f77f77 Fixed --help arg not working (#4956) 2023-05-03 12:41:08 +00:00
Henrique Joaquim
7c10fac330 removing wrong transposition (#4959) 2023-05-03 12:40:32 +00:00
Danglewood
02339c43cc Hotfix/stocks quote help description: replaces help dialogue description for --ticker. (#4953)
* fixes help dialogue

* ruff - unused import
2023-05-03 12:40:12 +00:00
Igor Radovanovic
30372676bf crypto/disc DappRadar update (#4918)
* Add API Key, test function

* Fix API key

* Add free NFT endpoints

* Add free Dapp Endpoints

* Add free DeFi Endpoint

* Add free Token  Endpoint

* Menu cleanup

* Update unit tests

* Update integration test

* ruff

* Description

* Update SDK model

* Trail map

* Fix map

* Fix map

* Update SDK cache

* Linting

* fix

---------

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2023-05-03 11:56:07 +00:00
Danglewood
c5bf54c73f Changes title from, Settings & API Keys, to, Setting API Keys (#4949) 2023-05-02 19:29:50 +00:00
Igor Radovanovic
fd9d6fd030 Remove commas from i18n (#4952)
* Remove commas

* Update unit tests
2023-05-02 19:25:14 +00:00
Igor Radovanovic
d78a3648ce Fix Index not showing for FMP (#4948)
* Fix index

* Update unit tests

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-02 16:35:38 +00:00
Danglewood
3c41eb6830 Enhances stocks/quote to allow for multiple tickers (#4928)
* enhances stocks/quote to allow for multiple tickers

* fix for MyPy type error

* fix pylint

* formats index string as title

* adds test for multi-ticker quote and for bad tickers

* adds integration test for multi-ticker quote

* updates docstrings and adds 'openbb.stocks.quote_chart' to SDK

* updates syntax in equity report for quote_data

* ruff

* gets rid of empty lines that got created.

* adds logic to handle input as string when not a list

* re-records tests

* decorators
2023-05-02 15:28:21 +00:00
northern-64bit
7a194249cf Fix --std argument in bbands command (#4866)
* Fix type check of std argument in bbands

* Fix std input handling

* Fix chart legend

* Fix linting

* Fix int display in legend

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-02 01:29:25 +00:00
Danglewood
6a4b7065e7 Hotfix/docs Updates Terminal Intro for Options, Creates Terminal Intro for Mutual Funds (#4917)
* updates Terminal Intro Guide for Equity Options

* adds the images.

* grammar

* makes changes

* adds Terminal Intro Guide for Mutual Funds

* adds screenshots to mutual funds intro

* html correction

* Translate Swedish description into English for Codespell

* remove unusual options table

* updates some links in Terminal FAQ
2023-05-01 20:51:22 +00:00
northern-64bit
5e92dbe636 Fix error in the SDK portfolio intro documentation (#4945) 2023-05-01 20:41:23 +00:00
Danglewood
845564c559 Adds options helper function for DTE, updates SDK trail map to not use yFinance. (#4937)
* adds options helper function for DTE

* removes logging decorator

* More decorators

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-01 20:33:54 +00:00
Henrique Joaquim
25b8bd92c1 adds type to the version on the SystemModel (#4944) 2023-05-01 20:29:30 +00:00
Pratyush Shukla
3d7b934d16 Fixed incorrect data display using stocks/fa/est command (#4940)
* Removed empty row in OpenBB SDK table under Installation

* Revamped `get_estimates` function

* Linting

* Fixed bugs, tests and modified args

* Fixed test
2023-05-01 20:23:59 +00:00
jose-donato
c603a360ec Adds shroom command and removes old ones (#4246)
* fix: remove old commands

* fix: ruff

* fix: ruff

* fix: james suggestions

* fix: added to csv

* fix: generate sdk cmds

* bump pywry

* fix rm command (#4890)

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* Fix `crypto/defi/anchor` (#4892)

* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* make -h actually work

* black ./

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-28 12:44:59 +00:00
teh_coderer
5f04749eb1 init (#4924) 2023-04-28 12:44:23 +00:00
teh_coderer
9026a41ff2 Feature / Logging (#4923)
* init

* updates

* Update loggers.py

* Update loggers.py

* sdk handling

* feature flag

* fix MOCKING_USER_PATH for windows

* Update loggers.py

* Update plotly.html

* updates

* Update parent_classes.py

* Update plotly.html

* add posthog to deps

* Update loggers.py
2023-04-28 12:43:57 +00:00
Sameer Khan
b951e4406f Futures Curve: minor cosmetic improvements (#4901)
* futures curve: prettifies contract names in raw table and in excel export. change column header to Last Price. set x axis of curve chart to correspond to contract months

* fixed linting and updated tests

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-27 19:02:07 +00:00
teh_coderer
64e37bf0a2 Hotfix/ Improve setting/loading Streamlit session state variables (#4905)
* improve setting/loading streamlit session state variables

* Update streamlit_helpers.py

* fix margins

* fix hex color markdown showing on forecast tables

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-27 16:24:22 +00:00
Theodore Aptekarev
18204202ac Remove stocks/disc/cnews command (#4920)
* Remove stocks/disc/cnews command from terminal and sdk

* Remove disc/cnews tests and test data

* Remove cnews from default sources, translations and intros

* Remove old test data files that are not used anymore

* Add pydocstyle ignore statement to pyproject toml

* Fix print help in stocks/disc controller test
2023-04-27 16:24:13 +00:00
James Maslek
2e92982387 Merge pull request #4911 from tehcoderer/hotfix/sync-with-main
hofix / sync with main post
2023-04-26 10:48:06 -04:00
teh_coderer
df9a15497d post main merge 2023-04-26 10:41:58 -04:00
Igor Radovanovic
19c52bec6a Increase integration test coverage (#4902)
* Create and update tests

* Create and update tests

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-26 14:19:31 +00:00
James Maslek
774f688092 Merge pull request #4909 from OpenBB-finance/release/3.0.0
Release/3.0.0
2023-04-26 09:04:48 -04:00
James Maslek
0c8bcc90b1 Merge branch 'develop' into release/3.0.0 2023-04-26 09:04:42 -04:00
montezdesousa
45a06098a9 Fix crypto/defi/anchor (#4892)
* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-26 09:14:54 +00:00
montezdesousa
0d7318bdc9 fix rm command (#4890)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-26 09:05:15 +00:00
James Maslek
93bd0ea354 Merge branch 'develop' into release/3.0.0 2023-04-25 20:42:47 -04:00
James Maslek
83df5b296e dmg -> pkg 2023-04-25 20:41:52 -04:00
jose-donato
130942bde8 fix: no window thing (#4900) 2023-04-25 18:53:51 +00:00
James Maslek
bcb9129c8a showcase 2023-04-25 13:04:37 -04:00
James Maslek
af8beb43b3 fix mdx 2023-04-25 12:58:58 -04:00