Commit Graph

3037 Commits

Author SHA1 Message Date
Jeroen Bouma
d0aaa9ab5e Add in Cryptocurrency guide and remove the old 'Guides' folder (#2015)
* Add in Crypto guide

* Remove redundant folder

* Fix links
2022-06-30 14:01:41 +01:00
Jeroen Bouma
ddef89d115 Add in Forex Menu guide and apply redirect to a terminal page that shouldn't exist (#2011)
* Add redirect

* Add in Forex guide

* Update _index.md

* Remove images

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-06-30 09:35:14 +02:00
Colin Delahunty
282132f059 Fix yf FA quarterly issue (#2017)
* Fixed issue with yf

* Added todo
2022-06-30 00:09:37 +01:00
Paul Symonds
248deed202 New Feature Financial Analysis, checks Yahoo if no data at Alpha Advantage. (#1984)
* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage.  Should cover all UK (only tested with .L appended to tickers).

* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage.  Should cover all UK (only tested with .L appended to tickers).

* change

* refactored to keep yahoo fa financials (income, cash, balance) separate.

* refactored to keep yahoo fa financials (income, cash, balance) separate.

* refactored to keep yahoo fa financials (income, cash, balance) separate.

* refactored to keep yahoo fa financials (income, cash, balance) separate (fixed dates).

* Fixed source bug

* empty commit

* fixed header date issue

* Fixed source

* fixed bugs related to no data returned

* fixed bugs related to no data returned

* fixed bugs related to no data returned

* Added yf to av when no data returned from av

* Added support for polygon statement of cash flows

* Fixed issue I created

* fixed pylint error else after return

* fixed pylint error with disable R1732

* fixed tests relating to av

* Updated polygon model and fixed tests

* fixed load GNR in fa after SNR.L in stocks

* fixed load GNR in fa after SNR.L in stocks

* Added newline to print

* Added newlines

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-06-29 14:02:01 -04:00
James Simmons
7cdd9ae23e Build workflow 1 (#1999)
* Build workflow to save .openbb folder for testing later

* Adding prediction install to workflow

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-06-29 11:58:07 -05:00
DidierRLopes
221bfce452 Improve economy menu (#1996)
* slight improvement on the reports controller

* improve economy menu

* fix tests

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-06-29 12:49:00 +01:00
Jeroen Bouma
8324f739b6 Add in a new GIF that better demonstrates the terminal (#2010)
* Add new GiF

* Get rid of the old gif

* Add in new GIF

* Update README.md

* Update README.md
2022-06-29 11:50:02 +01:00
James Simmons
2c2112df9e Changing menu dialogue for keys menu to be more apparent on how to add an api key (#1971)
* Changing menu dialogue for keys menu to be more apparent on how to add an api key

* Changing key dialogue based on suggestions
2022-06-28 20:41:10 +01:00
soggyomelette
c6f7912aaf Warning messages in #2002 (#2004)
* Update requirements-full.txt

Updating finvizfinance version

* Update requirements.txt

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-06-28 17:50:43 +01:00
soggyomelette
1fe1f8714f Fix: crypto/headlines missing Legend & wrong Chart Title (#1997)
* Update stockanalysis_model.py

* Update etf_controller.py

* Fix tests and linting

* 'Fixing #1978 by switching to check_positive_float'

* 'Fixes #1977 by switching labels'

* Fixes #1992 by modifying finbrain_crypto_view.py

* 'Changed the markers to white to avoid confusion'

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: JerBouma <jer.bouma@gmail.com>
2022-06-28 16:44:50 +01:00
Danglewood
2e7b54205f Adds Stocks/DD Guide (#2001)
* Adds Stocks/DD Guide

* Demo routine for the Stocks/DD menu

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-06-28 16:28:35 +01:00
Danglewood
d23d8dd698 Fixed typo - SCI --> SIC (#2000) 2022-06-28 10:49:53 +01:00
soggyomelette
fe96ab2dd8 Fixes stock price and metrics in #1993 (#1998) 2022-06-27 20:58:54 +01:00
minhhoang1023
67e3b3be13 Add Introduction to Cryptocurrency Guide & Fix crypto/find (#1970)
* Add Introduction to Cryptocurrency

* Add images

* Finish guides

* Add images

* Fix find not working

* Add keywords

* Update top_level_menu.md
2022-06-26 23:57:51 +01:00
Danglewood
9d75692af4 Fixed bad URL to options screener intro (#1990) 2022-06-26 01:51:08 +01:00
Sam Kerr
b40868491e Handle errors when tickers can't be loaded (#1986)
* Add error handling for when financial statements cannot be parsed

* Formatting updates

* Remove a rogue print statement

* Fix a copy paste error

* Formatting issues with Black

* Use sentinel values rather than exception based workflow

* Remove unneeded change

* Fix formatting

* Don't use exceptions for handling error

* Fix a null check case

* Add an error print string to pass tests

* Remove exception throwers

* Update docs since we don't throw this exception
2022-06-25 16:05:06 +01:00
soggyomelette
5790f0bfa9 [Bug] ta/bbands: when value contains a decimal: error: argument -s/--std: invalid check_positive value: '4.5' (#1988)
* Update stockanalysis_model.py

* Update etf_controller.py

* Fix tests and linting

* 'Fixing #1978 by switching to check_positive_float'

* 'Fixes #1977 by switching labels'

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: JerBouma <jer.bouma@gmail.com>
2022-06-25 16:04:13 +01:00
montezdesousa
8f6bd9cab6 Removes command govp from crypto/defi (#1980)
* remove govp from defi menu

* rewrites help txt

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-06-25 00:54:14 +01:00
minhhoang1023
7c597befe2 Unify input arguments between Terminal and Crypto API usage (#1942)
* Refactor API to accept Crypto Symbol as an input argument

* Fix tests

* Fix tests 2
2022-06-25 00:02:07 +01:00
James Simmons
2a5fbd4cd5 Fixing default view and ascending order in cglosers and cggainers (#1923)
* Fixing default view and ascending order in cglosers and cggainers

* Fixing futurewarnings error, adding test data, and changing dollar sign issue

* Adding --rewrite-expected test to pass CI

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-25 00:01:20 +01:00
teh_coderer
d45bd55ec8 disnake intents patch (#1987)
* disnake intents patch

* update docs

* update bots readme
2022-06-24 23:52:58 +01:00
soggyomelette
0b9a81b1bd [Bug] Broken ETF functionalities (#1976)
* Update stockanalysis_model.py

* Update etf_controller.py

* Fix tests and linting

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: JerBouma <jer.bouma@gmail.com>
2022-06-24 23:49:54 +01:00
montezdesousa
2386bd2da2 [Bug] crypto/defi/sratio: Remove scientific notation in Chart title (#1965)
* removes sratio from choices and help

* rewrites help test txt

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-06-24 14:01:13 +01:00
Jeroen Bouma
a4de5763e6 Add in Introduction to Funds guide (#1979)
* Small fixes

* Add in Introduction to Funds page

* Update _index.md

* Delete images and fix some grammar

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-06-24 10:10:58 +02:00
Colin Delahunty
e3daff2161 fixed crypto load (#1981)
* fixed crypto load

* Added fix

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-06-23 14:07:27 -04:00
Danglewood
1bab55cf71 Adds an Introduction Guide to the Fundamental Analysis Menu (#1982)
* Adds an Introduction Guide to the Fundamental Analysis Menu

* Adds Demo Routine for the Fundamental Analysis Menu
2022-06-23 13:31:35 +01:00
montezdesousa
57b61d1b2a Display the help menu whenever users move to a different menu (#1968)
* switch auto print_help on exits

* display help when home called from home directory

* change in test to expect help cmd

* change in test to expect help cmd

* sets autoexithelp flag on conftest

* supress help string print on quit

* adapt tests to expect help

* adds help on 3 tests missing

* run black

* respect literal bool type

* second attemp to respect literal bool

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-06-22 13:45:48 +01:00
Sam Kerr
cb66db14b0 Add diff output to black workflow step (#1975)
This change adds the --diff flag when running Black. This will make it print out what it would expect to see. This makes it easier for developers to understand what they need to change for Black to be happy.

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-22 08:59:01 +01:00
Danglewood
14c599e4ec Adds Introduction Guide to the Technical Analysis Menu (#1964)
* Adds Introduction Guide to the Technical Analysis Menu

Adds a guide for the Technical Analysis menus. Routine file to come.

* Adds demonstration routine for the Technical Analysis menu

* linter typo

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-06-21 23:18:03 +01:00
Jeroen Bouma
1752f98667 Add in Econometrics guide and routine (#1966)
* Add in Econometrics guide and routine

* Update _index.md

* Remove images

* Typos

* More details
2022-06-21 23:17:15 +01:00
Jeroen Bouma
0e8fed9795 Add in Introduction to ETFs (#1973)
* Add images, update some docs, add in introduction to ETFs

* Also update the menu

* Update _index.md

* Delete images
2022-06-21 23:13:53 +01:00
James Simmons
7ea577e142 Fixing scorr and sentiment dataframe indexing bug (#1947)
* Fixing scorr and sentiment dataframe indexing bug

* Fixing type hint and did some slight refactoring

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-20 15:07:56 -05:00
montezdesousa
ac50ab0f57 changes type_string to lowercase (#1958)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-20 07:26:34 -04:00
James Simmons
0c60d70cb2 Fixing fails to deliver bug and resulting NaN values in dataframe bug (#1956)
* Fixing fails to deliver bug and resulting NaN values in dataframe bug

* Taking out print statement

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-20 08:48:26 +01:00
Danglewood
aa53f4967f Adds Introduction Guide to Stock Screener (#1950)
* Adds Introduction Guide to Stock Screener

Adds Introduction Guide to Stock Screener

* adds a demo routine for the Stock Screener

* Improved Discovery Menu Demo Routine

* Improves functionality of autocomplete by changing value field to use underscore instead of dash

* black

* spelling

Co-authored-by: james <jmaslek11@gmail.com>
2022-06-18 10:38:51 +02:00
Danglewood
7486e7ff86 Adds Introduction to the Stocks Insider Trading Menu (#1931)
* Adds Introduction to the Stocks Insider Trading Menu

Adds intro guide for Insider submenu.

* adds demo routine for the insider trading menu

adds demo routine for the insider trading menu

* adds demo routine for the Government Menu

adds demo routine for the Government Menu

* Adds Introduction to the Government Menu

adds guide for the Government menu.

* Linter

* Removed sentence

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-17 11:39:15 -06:00
montezdesousa
99dce2457a Fix crypto/defi/vaults not showing for default and -k lp (#1957)
* fix vault sort

* rewrite tests

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-06-17 09:15:48 -04:00
James Simmons
f9f717774a Fixed warnings bug which does not display data if there is an inf value data point (#1948)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-06-17 08:47:48 -04:00
Colin Delahunty
836d529ff0 Fixes Blank Report Bug (#1954)
* Fixed blank report bug

* Removed ipynb file
2022-06-16 16:26:24 -04:00
Colin Delahunty
b0b81c4d14 Fixed risk free bug (#1953) 2022-06-16 11:02:27 -04:00
Colin Delahunty
82e38cfdc1 Fixed cntrld issue (#1952) 2022-06-16 10:13:55 -04:00
Colin Delahunty
fd81deac20 Fix show ticker issue (#1951)
* Fix show ticker issue

* Removed print

* Removed darts logs

* Black
2022-06-15 16:27:03 -04:00
Sam Kerr
497324d75f Preferred data source for a given command and help docs for any command (#1928)
* Add a feature flag loaded from . env for preferred data source

* Update the load command to use the preferred source

* Add a test

* Black syntax checker updates

* Update test syntax

* Update load command documentation

* Add a variable to read a sources file from

* Add a default sources.json file

* Add a helper function to read the source file and get the most relevant value

* Add some comments

* Remove older preferred data source file setting

* Add a default source file for data and use it if no user preference specifies a specific file

* Remove duplicate source file and old settings values

* Update the test file

* Update documentation string

* Update tests/openbb_terminal/test_settings_controller.py

* Black syntax formatting issues

* Fix a test case

* Fix a typo

* Fix Flake8 errors

* Fix Flake8 errors

* Pyupgrade syntax fixes

* Additional linter corrections

* More pylint issues

* Improve predefined default sources

* refactor parse_known_args_and_warn for documentation

* Update openbb_terminal/helper_funcs.py

* Add a feature flag loaded from . env for preferred data source

* Update the load command to use the preferred source

* Add a test

* Black syntax checker updates

* Update test syntax

* Update load command documentation

* Add a variable to read a sources file from

* Add a default sources.json file

* Add a helper function to read the source file and get the most relevant value

* Add some comments

* Remove older preferred data source file setting

* Add a default source file for data and use it if no user preference specifies a specific file

* Remove duplicate source file and old settings values

* Update the test file

* Update documentation string

* Update tests/openbb_terminal/test_settings_controller.py

* Black syntax formatting issues

* Fix a test case

* Fix a typo

* Fix Flake8 errors

* Fix Flake8 errors

* Pyupgrade syntax fixes

* Additional linter corrections

* More pylint issues

* Improve predefined default sources

* refactor parse_known_args_and_warn for documentation

* Update openbb_terminal/helper_funcs.py

* Forex controller

* Tests : Fixing `parse_known_args_and_warn` issue

* Comparison Analysis controller

* Tests : Comparison Analysis

* Tests : Stocks/DarkPoolShorts + Stocks/Options

* Tests : fix call_load tests

* Linting : fixing line size

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-06-14 20:23:55 +02:00
Colin Delahunty
b6300e906c Fix for DCF glitch (#1932)
* Added fixes

* Added fixes

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-06-14 17:09:38 +03:00
James Simmons
c30f6c821b Fixing future warnings bug by switching from append to concat. (#1943) 2022-06-14 11:20:03 +08:00
Sam Kerr
9a79e9e992 Update docs for the load command (#1941) 2022-06-14 02:17:46 +08:00
Sam Kerr
a89b3dca61 Match to USA if no exchange suffix is present (#1939)
The logic on line 213 defaults to USA if there is no exchange symbol present, so the market coverage suffix should use the same logic. This enables filtering by exchange to work correctly.

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-13 23:09:58 +08:00
Sugato Ray
1ea75579ee update install instructions for jupyterlab (#1929)
- removed jupyterlab/gst* with jupyterlab/openbb*

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-13 15:08:46 +08:00
Chavithra
b62300f15b Update logs rotation (#1920)
* Logs : add rollover at start

* Black

* Typing

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-06-12 11:58:31 +02:00
chuckdustin12
7aa7146aff Updated Tickers.csv (#1930) 2022-06-11 16:46:24 +08:00