Commit Graph

3811 Commits

Author SHA1 Message Date
jose-donato
045168e5a2 Updates crypto load docs to match last load refactor (#2154)
* fix load docs

* fix vol days
2022-07-24 15:06:56 +01:00
DidierRLopes
0b0a4839a7 Update copy for docs on Why free (#2153)
* Make sec fillings link clickable in report

* update copy

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-07-24 12:07:25 +01:00
DidierRLopes
fea15aa13d Fix stuff (#2150)
* Make sec fillings link clickable in report

* Fix #2130

* styling here and there

* fix crypto panic key output result

* minor styling

* style

* tests

* allow for bitcoin rainbow to go into future

* add 2024 halving

* pylint ignore
2022-07-24 10:38:02 +01:00
Javadz
64def2e285 Small improvement in Telegram script (#2144)
* Small improvement in Telegram script

* fix black test
2022-07-23 18:18:46 +01:00
MOMINCKS
8c3145fcb4 better match for econ param parse to dict (#2123)
* better match econ param parse to dict

* Update econdb_model.py

* fix str assignment error

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-07-23 01:16:35 +01:00
Drashti Shah
b60101ca0e improve readme file for terminal (#2137) 2022-07-22 18:01:46 +01:00
Pietro Monticone
69baae4889 Fixed a few typos (#2136) 2022-07-22 18:01:11 +01:00
Raphael Coelho
a26edfbfe3 Update _index.md (#2135) 2022-07-22 18:01:00 +01:00
Jeroen Bouma
0d90df7d63 Add in Portfolio Guide and update the Getting Started guide (#2118)
* Add in Portfolio Guide

* Update _index.md

* Remove images

* Grammar

* Add why free text and other details

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-07-22 12:19:23 +02:00
Yahya SayadArbabi
17e7e6bab7 Fix demo video width (#2126)
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-07-22 10:42:09 +01:00
montezdesousa
b439580242 Fix ycrv to allow raw display and export when source is FRED (#2127)
* allow raw display and export

* change title to investpy standard

* limit fred to united states
2022-07-22 00:56:53 +01:00
Jalil F
2edc04c9e4 Add jupyterlab build folders to .gitignore. fixes OpenBB-finance/OpenBBTerminal#2121 (#2122) 2022-07-22 01:30:17 +03:00
northern-64bit
64fcbc6acd Integrating the fmp submenu into the fa menu + plotting + ratios (#2102)
* Moving changes from previous pr to new branch with working tests

* Fix website

* Tests : stocks/fundamental_analysis

* stocks/fundamental_analysis/fa_controller : fix bug

* Fix requested changes

* Fix linting

* Fix warnings

* Linting

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-07-21 09:21:11 +02:00
James Simmons
d6291ead84 Release/1.6.0 (#2106)
* Fixing paths for build procedure

* Adding back env file

* Updating pyproject and setup.nsi files for release

* Update version on feature_flags.py

* Fix default sources path not working in installers

* Fix crypto/ov/wf

* Remove old and slow tests from openbb scripts folder

* Adding a note about to explain that prediction is not available for Mac users

* Disabling prediction menu via env file

* Fix tkinter bug on windows ci by specifying the mpl backend

* Adding prediction back in and deleting previous comments about prediction not being available

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-21 00:19:13 -04:00
montezdesousa
ca4541053f Fix Economy/Plot - Does not read stored datasets properly (#2112)
* fix plot databases

* update website doc

* display stored datasets in one line

* add indent

* allow sequential storage of data

* fix menu string

* prevent appending empty dfs

* black

* silence warning
2022-07-20 10:55:09 +01:00
montezdesousa
d474bcc0f8 Allow direct orderbook export from degiro paexport to portfolio load command (#2091)
* redirect paexport to holdings/portfolio folder

* allow name change on export

* centralize default holdings path in helper

* create default folder for degiro orderbook

* refresh and unrestrict choices

* update degiro help

* fix linting

* remove unused import

* move logic to model
2022-07-20 08:46:40 +01:00
Dylan Cole
f05676b79a fix typo - change 'seaarch' to 'search' (#2114)
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-07-19 22:58:54 +01:00
DidierRLopes
bdcf540d1e Guess game - Easter egg (#2066)
* start working on guess command

* add guess game file

* Allow to do more than 1 attempt in the game

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-07-19 22:20:15 +01:00
DidierRLopes
53c3c597ef Help translate terminal language (#2100)
* minor stylistic improvement

* Add help translation

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-07-19 21:37:43 +01:00
DidierRLopes
5412149f37 Allow to build reports without arguments (#2108)
* Make sec fillings link clickable in report

* fix #2030

* improve code
2022-07-19 18:49:57 +01:00
Colin Delahunty
4b52e84a40 Changing with the times (#2111) 2022-07-19 18:17:46 +01:00
Theodore Aptekarev
b90025555b Remove defirate scraping (#2113)
* Remove functions based on defirate scraping

* Update docs

* Update tests
2022-07-19 19:40:08 +03:00
Jeroen Bouma
103ebfa916 Update sheets (#2110) 2022-07-19 14:44:43 +01:00
Danglewood
e8b2e9ce7d The prediction menu installation instructions are not correct and should not be used (#2092)
* The prediction menu installation instructions are not correct and should not be used. 

Tensorflow *cannot* be installed via Poetry. `tensorflow-macOS` and `tensorflow-metal` perform terribly and should not be used. Installing tensorflow via `conda install -c conda-forge tensorflow` is the only way tensorflow should be installed.

* Fix some indentation

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-19 01:09:22 +03:00
DidierRLopes
b5a7fb99b9 Fix save class (#2090)
* Fix save class

* add more comments around this design choice
2022-07-19 00:22:01 +03:00
DreamerC
f0a4551634 Document : Change Docker container desktop pass-through (#2070)
* Document : Change Docker container pass-through

Update #1692 for Docker new security protection in 2022 .

* fix Linting error

* fix markdown linting

* Markdown Linting : blank line

Fenced code blocks should be surrounded by blank line

* undo macOS config and reorganize

undo macOS Part for Docker Desktop, and move to the new paragraph.

* Update DOCKER_ADVANCED.md

* Fix trailing spaces

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-18 20:39:57 +01:00
montezdesousa
ec9a88e8fa Fill missing static data (sector, industry, country and region) on portfolio creation (#2072)
* pull sector industry country data from yfinance

* fix imports with missing info

* run black on helper

* fix tests

* fix tests

* fix linting

* autofill stock data and display progress bar

* redirect stock data file

* substitute only stocks not provided by user

* reset benchmark when new portfolio is loaded (bug fix)

* rewrite help, will be fixed in previous pr

* fix mypy

* fix linting

* fix linting with open

* format progress bar

* run black

* avoid clearing of all fields

* reformat error message

* improve returns calculation performance

* general linting

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-18 18:47:45 +01:00
montezdesousa
82b6411cab remove cumulative returns functionalities (#2103)
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-18 18:50:59 +03:00
Chavithra
1995344965 Tests : mock api call (#2105) 2022-07-18 17:51:12 +03:00
DidierRLopes
b75629054f Make sec fillings link clickable in report (#2104)
* Make sec fillings link clickable in report

* remove regressions from autocompleter
2022-07-18 16:27:21 +03:00
Jalil F
96ed08daaa [Bugfix#2094] Fix handling of balances when user has no tokens. (#2095)
* Add edge case handlers for crypto balance. Resolves OpenBB-finance/OpenBBTerminal#2094

* Clear print statement.

* Run previous df generation.

* Run pure row merge.

* Fixing spacing.

* Adding test and fixing previous test failures.

* Clear comment.

* Adding vcr test.

* revert to old poetry.lock

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-07-17 13:33:16 +01:00
Theodore Aptekarev
c5c2f3f8d4 Update jupyterlab deps to resolve dependabot alerts (#2082)
* Remove old naming leftovers

* Update jupyterlab deps

* Bump jsdom to a patched version

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-07-17 12:45:02 +03:00
montezdesousa
0f6852cf0c Fixes error message on portfolio menu help (#2088)
* fix message display on help

* rewrite expected on print help

* fix linting
2022-07-15 10:21:02 +01:00
pftp-jz
5fc2635648 adding data range for VaR (#2087)
* adding data range for VaR

* Update qa_controller.py
2022-07-14 18:41:57 +01:00
Jeroen Bouma
73a31f8f00 Add buttons linking to the installation page (#2086)
* Add in Install Terminal link

* Add in CSS and HTML for a button that links to terminal installation

* Because Jose said so

* Jose forced me to

* Last change forced by Jose

* No rel:
2022-07-14 14:52:20 +02:00
Jeroen Bouma
0fa9936651 Add in DeFi, DD and NFT guides from the Crypto menu (#2083)
* Url fix

* Add in Crypto DD Guide

* Add in NFT Guide

* Add in Messari

* Typo

* Add in DeFI Guide

* Update _index.md

* Update _index.md

* Update _index.md

* Remove images

* Fix links

* More fixes

* Spelling

* Let links open new page instead

* Fix another link:
2022-07-13 14:45:11 +01:00
ghbcode
51b6c6ca76 Corrected wording (#2080) 2022-07-13 09:15:12 -04:00
James Maslek
9e7cf49e91 sources goofed (#2079) 2022-07-13 07:44:15 +01:00
Jeroen Bouma
05e809a881 Add Crypto discovery, onchain and overview menu (#2073)
* Add onchain, ov and disc pages

* Fix broken links

* Fix links

* Update _index.md

* Update _index.md

* Update _index.md

* Remove images
2022-07-13 06:58:04 +02:00
pftp-jz
88c091b204 Updating README.md from top folder, CONTRIBUTING.md wrong link (#2075)
The 'OpenBB-finance/OpenBBTerminal' repository doesn't contain the 'openbb_terminal/CONTRIBUTING.md' path in 'main'.

CONTRIBUTING.md link was pointed to openbb_terminal folder, when it was supposed to be pointed to the main folder
Also both are pointing to master folder, and they are being redirected via "Branch not found, redirected to default branch." :
        Maybe update to https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md ?
but either way https://github.com/OpenBB-finance/OpenBBTerminal/tree/master/CONTRIBUTING.md would still redirect correctly
2022-07-12 21:13:37 -04:00
James Maslek
8263d84398 Fix oanda key issue (#2077) 2022-07-12 19:49:47 -04:00
DidierRLopes
e91e6c00f9 fix regression introduced (#2076) 2022-07-12 23:05:15 +01:00
DidierRLopes
b6f52429d1 allow user to set flag (#2074) 2022-07-12 19:54:12 +01:00
DidierRLopes
9e220e8f3c Creates a controller to specify sources (#2069)
* Add all data sources to data_sources_default.json so we can have a list in one place

* create menu to get and set data sources

* improve settings controller

* james request

* improve helper message

* minor improvement

* fix tests
2022-07-12 18:56:52 +01:00
Chavithra
0dfd53f28a Portoflio : add pa export command for Degiro (#2065)
* Portoflio : add pa export command for Degiro

* Update controller + tests

* Tests

* Degiro : update pa export format

* Fixing Premium

* Black

* Show index
2022-07-12 19:38:34 +02:00
montezdesousa
4c0b1135a9 Economic calendar command (#2043)
* add ecocal command to menu

* add menu legend

* run black and pylint

* fix date input

* add command to main.yml

* sort and remove duplicates

* run black on model

* fetch user timezone automatically

* remove tz option and None displays

* adds choices to controller

* fix dates corner case

* create test for get_economic_calendar

* write tests for investingcom_view

* fix ycrv model

* remove unused imports

* rewrite expected for economy print help

* rewrite expected for portfolio model

* fix linting

* fix linting

* try to pass pylint again

* create _index.md

* complete docstrings

* rewrite expected  on portfolio model

* Update _index.md

* Update _index.md

* change -i default to all

* rewrite portfolio model and mark vcr

* run black on test changes

* revert changes on tests

* add limit to nr of events

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-07-12 16:22:48 +01:00
Theodore Aptekarev
5267af2876 Bump python version (#2061)
* Add python 3.9 conda environment

* Bump dependency versions

* Bump default python version in github actions to 3.9

* Update install documentation

* Update tests

* Bump black version in conda environments

* Skip test_display_norm in econometrics menu tests

* Bump black and tensorflow versions in pyproject toml

* Attempt to fix failing concurrent windows tests

* Skip test_display_norm in econometrics menu tests

* Bump python in conda test workflows

* Update requirements.txt

* Fix old version fallback tag
2022-07-12 16:30:59 +03:00
montezdesousa
dfd6d49056 Fixes portfolio_model.py tests (#2071)
* fix portfolio tests

* run black on test file

* remove unused argument
2022-07-12 11:41:59 +02:00
James Maslek
72e2e78ad2 Get rid of datetime and market open closes in default stock load (#2067)
* Get rid of datetime and market open closes in default stock load

* fix portfolio tests
2022-07-11 15:55:26 -04:00
montezdesousa
2c3e10a128 Overhaul Portfolio class (#2021)
* adds pythonic portfolio class

* start calculate trades refactoring

* adds comments to portfolio model - delete afterwards

* finish calculate trades refactoring

* restore original portfolio_model.py

* implement calculate_allocations

* adapt and test controller load, show, bench, alloc and perf

* add old code that was ok

* adapt controller

* adapt portfolio_view

* run black on pythonic_portfolio.py

* fix crypto bug

* change column name in example datasets

* substitute portfolio_model.py

* update show command

* push cumulative returns calculation to model

* fix last change in cumulative returns

* add comments on possibly unused code

* run black on changes

* bring metrics from helper to model

* push rolling metrics from view to model

* Details and linting

* Fix tests

* remove empty attribute and rename class

* fix view and controller rf

* change returns calculation method

* remove CASH from code

* remove cash from tickers_list

* run black on changes

* change function name

* adapt to PortfolioModel

* fix tests

* fix tests on help

* fix linting

* call metrics from PortfolioModel

* call drawdown from model

* fix some mypy issues

* fix remaining mypy issues

* fix test

* Fix linting

* Remove unused function

* Small fixes

* Remove old code and adjust summary to simply work

* Update the Excel since CASH is no longer a thing

* Fix tests

* Update the csvs

* Updates to usage of full_shares and more details

* Fix -t flag for perf

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-07-08 17:59:09 +02:00