Commit Graph

3025 Commits

Author SHA1 Message Date
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
Theodore Aptekarev
79e9275ccf Release/1.5.0 (#1926)
* Add more build assets and all notebook checkpoints to ignore

* Delete old reports that were accidentally added to the repo

* Fix portfolios not bundling

* Add mac installer image assets

* Update license

* Make the code folder hidden in macOS package

* Add folder and launcher icons programmatically during build

* Change dmg creation tool to create-dmg

* Update macOS installation docs

* Bump project version

* Update macOS installation instruction image links

* Fix macOS installation instructions styling

* Unify macOS install instructions image size

* Point download links to the website vs github

* Fix macOS launcher self-quarantine command

* Fix routines not launching in packaged apps

* Fix .openbb test mode not displaying filenames during test run

* Remove file with weird apple character in path
2022-06-10 21:32:13 +02:00
James Simmons
4ad367d2e0 Changing no data label and test files (#1922)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-10 13:17:44 -04:00
Danglewood
c377cbf776 Adds Introduction to the Options Menu Guide (#1919)
* Adds Introduction to the Options Menu Guide

updates the Hugo site to include Options Menu Guide.

* Removed double title at the start

* Removes the double title at the beginning

* Adds Introduction to the Pricing Submenu

Adds the guide for Options Pricing Submenu.

* Options Menu Demo Routine

adds a demo routine for the options menu

* small correction

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-10 11:33:00 -04:00
Sam Kerr
15846387a1 Use returns for correlations in hcorr (#1925)
* Use returns for correlation

* Uses returns and has lots of other print messages now

* Clean up the code some

* Remove spurious imports

* Update the help messages

* Update for black syntax errors
2022-06-10 09:06:58 -04:00
jose-donato
0e03b9e9e4 refactoring load, changed chart to candle (#1838)
* refactoring load, changed chart to candle

* updating load

* refactor done, missing tests

* fixed chart

* refactor

* linting

* tests failing

* fix minh issues

* auto completion for load

* linting

* Tests : cryptocurrency/controller ; remove mocking of functions which are not used anymore

* Cryptocurrency/Controller : call_headlines ; fix bug

* Tests : cryptocurrency/controller ; mock function

* Tests : cryptocurrency/due_diligence ; fix expected output

* cryptocurrency/due_diligence ; mock functions

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-09 13:25:33 +01:00
Danglewood
262a27b5df adds Introduction to Options Screener Guide and renames the folder to 'screen' (#1915)
* adds Introduction to Options Screener Guide and renames the folder from "scr" to "screen" to match the Terminal structure

adds Introduction to Options Screener Guide and renames the folder from "scr" to "screen" to match the Terminal structure

* Changed /stocks/options/scr --> /stocks/options/screen & deleted unused tree: /stocks/options/payoff

Changed /stocks/options/scr --> /stocks/options/screen & deleted unused tree: /stocks/options/payoff

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-08 16:44:12 -04:00
Theodore Aptekarev
8f0146cc67 Fix trailing coma typo (#1917) 2022-06-08 16:14:08 -04:00
James Simmons
7527e91692 Fixes bug #1907 scraping management data (#1914)
* Fixing bug #1907 scraping  management data

* adding csv for failed tests on last push for bug fix

* business_insider_view tests

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
2022-06-08 14:52:58 -04:00
Sam Kerr
a9a777143c Add argument to remove masking for heatmap in hcorr and print correlations to command line (#1913)
* Remove masking for heatmap

* Add a comment

* Add a flag to show either half or the full correlation matrix.

* Fix printed correlation table cutting off for large data sets

* Update the test

* Update some formatting issues

* Fix another formatting error

* Formatting issue

* Remove a double blank line

* Black formatting changes

* Fix a pylint formatting issue

* Use rich table and add a raw flag

* Fix formatting issue

* Capitalize ticker name in table columns

* Update a test

* Add docs for new arguments

* retrigger checks
2022-06-08 13:29:35 -04:00
Danglewood
7e52dac516 adds Introduction to Hedge Guide - only requesting to update 1 file!! (#1911)
This is the only thing that should be updated with this PR, anything else is a lie!

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-06-08 13:51:08 +03:00
Theodore Aptekarev
83f35e80c2 Release/1.4.0 (#1909)
* Fix stocks_bt integration test script

* Stop keeping parts of third-party libraries that are bundled

* Update pre-commit

* Disable false positive pylint in some crypto models

* Add i18n support to packaged apps

* Add more sklearn hidden imports

* Fix routines files path

* Fix stocks/pred openbb test script

* Fix website not building because of expo command removed

* Bump project version and update deps

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-06-07 16:14:36 +03:00
Sam Kerr
610b19bbb5 Clarify values by re-ordering rows in enterprise value report (#1908)
* Re-order columns in enterprise value report

* Update test files with changed values

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-06 15:29:40 -04:00