Commit Graph

785 Commits

Author SHA1 Message Date
Diogo Sousa
4a7d277e16 Merge branch 'develop' into hotfix/issue4212 2023-02-27 17:53:06 +00:00
Diogo Sousa
8661f22884 fix test 2023-02-27 17:49:14 +00:00
teh_coderer
bf26d4a7c7 Merge branch 'develop' into feature/sdk-update 2023-02-27 12:26:28 -05:00
james
95fcd765f3 Etf 2023-02-27 11:56:54 -05:00
teh_coderer
0203e2b0db Merge branch 'develop' into feature/sdk-update 2023-02-27 11:54:55 -05:00
jeroen
522c282d0a Update tests 2023-02-27 17:10:29 +01:00
jeroen
34d7f6a307 Remove etf/screener and tests 2023-02-27 15:42:38 +01:00
james
1ae9115741 Delete rogue file and update test and add fixedincome to en.yml 2023-02-25 18:31:12 -05:00
Jeroen Bouma
bec294b92d Merge branch 'develop' into feature/finance-database-update 2023-02-25 14:24:18 +01:00
jeroen
7357c1c9ef Fix tests 2023-02-25 14:18:21 +01:00
James Maslek
0174a202ed Merge branch 'develop' into feature/fixed_income 2023-02-24 11:34:29 -05:00
James Maslek
d3efd2f326 Merge branch 'develop' into feature/fixed_income 2023-02-24 11:13:19 -05:00
james
aa71ccbc61 Tests 2023-02-24 11:00:56 -05:00
James Maslek
eea170bdda Adding databento as a source (#4293)
* First commit

* Baby steps

* Keys and sdk

* Fix import for api key

* Add SDK endpoints

* Test + api checks

* tests

* roque print of api key

* Changes

* minor

* custom timeout

* improve timeouts

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-02-24 10:33:45 -05:00
jeroen
523a65d278 Fix tests 2023-02-24 12:37:22 +01:00
jeroen
b3598dc92f Fix tests I broke 2023-02-24 12:21:34 +01:00
hjoaquim
75099f18bf deprecating non used function 2023-02-24 10:04:34 +00:00
hjoaquim
3c52a522e8 fix test_stocks_controller 2023-02-24 09:57:45 +00:00
hjoaquim
60b7bbf649 fix etf/test_stockanalysis_view.py 2023-02-24 09:54:16 +00:00
hjoaquim
da7fd0a01d fix etf/test_stockanalysis_model.py 2023-02-24 09:53:37 +00:00
hjoaquim
1264ea44b3 fix /economy/test_yfinance_view tests 2023-02-24 09:52:30 +00:00
teh_coderer
49bb20d76d Merge branch 'develop' into feature/fixed_income 2023-02-23 13:31:09 -06:00
Chavithra PARANA
4fcb953fff Tests : fix cassette 2023-02-23 18:46:34 +01:00
Theodore Aptekarev
f2b1a26c81 Update SDK generation scripts 2023-02-23 16:36:48 +01:00
jeroen
9e480cf811 Fixing all the tests I hope 2023-02-23 16:09:34 +01:00
Jeroen Bouma
2c3a7f186b Merge branch 'develop' into feature/finance-database-update 2023-02-23 15:45:51 +01:00
jeroen
9cf078611c Updates 2023-02-23 14:12:36 +01:00
DidierRLopes
f1a824a179 Add tweet news in terminal toolbar (#3757)
* Add tweet news in terminal toolbar

* allow to store tweet news settings

* update dependencies

* Add tweet news in terminal toolbar

* lint

* dependencies

* 5s timeout for twitter api

* poetry update for resolve

* reqs

* set news to false by default

* update tweepy

* update reqs

* update reqs again?

* update setuptools

* small improv

* Add tweet news in terminal toolbar

* update packages

* black linting

* black formatting

* ruff fixes

* fix settings controller

* Reqs

* fix tz issue

* add keywords selection

* linting

* helper funcs mypy

* pylint fixes

* Checkout poetry.lock + pyproject.toml

* Update dependencies

* Remove integration test file

* News Toolbar : Fix bugs

* Tests : News Toolbar

* Update dependencies

* Tests : change variable name

* Remove unused keys

* Remove unecessary global variable

* Fix linting

* Lighter API call

* Ruff

* Linting + Remove keys

* Linting

* Dotenv loading issue.

* Ruff

* Revert "Dotenv loading issue."

This reverts commit 4493f1a3e7.

* Tests : fix

* Tests : fix test_settings_controller.py

* Twitter Toolbar : avoid checking API when not enabled

* Tests : news toolbar

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2023-02-23 13:22:22 +01:00
james
6788aa2c33 LAst functions added 2023-02-22 16:43:07 -05:00
james
e1e1bd9a47 controller tests 2023-02-22 13:26:04 -05:00
James Maslek
42e3ed8915 Merge branch 'develop' into feature/fixed_income 2023-02-22 13:01:15 -05:00
james
99fb987d5a pylint edit 2023-02-22 12:53:25 -05:00
Henrique Joaquim
a054e5d005 User UUID to use the designated column instead (#4299)
* token generation on the terminal

* revoke and show commands

* uuid on the right column

* adding logs to the account commands

* login info at this point does not make sense anymore

* get_user_uuid function

* log formatter to use get_user_uuid function

* ruff + black

* fix tests

* fix tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-22 14:22:05 +00:00
james
44d65bd198 Model tests 2023-02-21 13:17:28 -05:00
james
9dfcbf21c9 ecb tests 2023-02-21 12:56:33 -05:00
James Maslek
2c9cddbd75 Change sources path (#4312) 2023-02-21 17:29:48 +00:00
james
7484b6aa4c 98% on controller 2023-02-21 12:19:49 -05:00
james
29b526b72d Make functions kwargs 2023-02-21 11:28:32 -05:00
james
d191385055 tests v2 2023-02-21 11:06:39 -05:00
james
33b17bf7a0 Tests pt1 2023-02-21 10:24:27 -05:00
Colin Delahunty
cebf454cdf Added flake8-simplify (#4227)
* Added flake8-simplify

* Update linting.yml

* update.  left 1 for you colin

* Fix that one

* Missed

* Fix

* mypy

---------

Co-authored-by: james <jmaslek11@gmail.com>
2023-02-20 19:27:34 -05:00
northern-64bit
33e79a2aaa Fixes #3873 and adds generic naming to financial statements (#4142)
* Fix plotting error

I choose to fix it by removing the denomination transform, since it doesn't affect the result (even when fixed).

* Add generic naming to financial statements, except for EODHD source

* Fix linting

* Fix linting

* Fix bugs

* Fix linting

* Handle invalid plot options for sources

* Fix linting

* Fix linting

* Some tests

* more tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:29:27 -05:00
James Maslek
258fab8658 Speed up pytest with xdist plugin (#4307) 2023-02-20 16:25:10 -05:00
James Maslek
9af4dc00e5 Hotfix for SIA menu (#4294)
* Make sia function

* Wording

* Fix attrib

* Linting

* port test

---------

Co-authored-by: jeroen <jer.bouma@gmail.com>
2023-02-20 12:20:06 -05:00
Henrique Joaquim
7998ae7887 Adds Personal Access Token Commands (#4266)
* token generation on the terminal

* revoke and show commands

* save to keys

* test for hub_model

* black

* controller tests

* fix wrong merge

---------
2023-02-17 17:13:51 +00:00
Luqman
bbeaef4732 Code Coverage (#4236)
* Code Coverage

* minor fix

* Remove coverage limit check

* Check code cov

* removed env

* Tests : fixing tests + autocompletion bug

* Tests : skip a test

* Linting

* Tests : skip slow coins test on crypto

* Added check for coverage

* Remove failure test

* Minor tweak

* Added code coverage to base test

---------

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-17 15:59:14 +01:00
teh_coderer
b5b8afa281 Hotfix/SDK Version Dunder (#4269)
* add version dunder

* Update test_sdk.py

* Update trailmap.py
2023-02-16 21:26:11 -06:00
teh_coderer
3747424950 Update SDK Docs Generation (#4262)
* update generate_sdk_markdown.py to use sdk trailmap class

* Update trailmap.py

* Update trailmap.py
2023-02-15 17:49:07 -05:00
teh_coderer
69b4d117fa SDK Auto-Generation/Refactor (#3358)
* Fixes

* Update stocks_helper.py

* update git-actions set-output to new format

* Update stocks_helper.py

* Update terminal_helper.py

* removed LineAnnotateDrawer from qa_view

* lint

* few changes

* updates

* sdk auto gen modules done

* Update stocks_helper.py

* updates to changed imports, and remove first sdk_modules

* Update generate_sdk.py

* Update generate_sdk.py

* pylint

* revert stocks_helper

* Update generate_sdk.py

* Update sdk.py

* Update generate_sdk.py

* full auto generation, added sdk.py/controllers creation

* missed enable forecasting

* added running black in subprocess after sdk files generation completes

* removed deleted sdk_arg_logger

* comment out tests

* property doc fix

* clean up

* Update generate_sdk.py

* make trailmap classes useable for doc generation

* Update generate_sdk.py

* added lineon to trailmap class for linking to func in markdown

* changed lineon to dict

* added full_path to trailmap for linking in docs

* updated portfolio

* added func_def to trailmap attributes for markdown in docs, added missing type hints to covid functions

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* merge

* update sdk

* updates

* Update generate_sdk.py

* Update generate_sdk.py

* dead imports

* bump

* updates

* updates

* updated missing

* added alt realestate functions to trailmap, logic to clear folders before building

* Update __init__.py

* Update generate_sdk.py

* clean __init__.py files before build

* sync website content folder

* Update generate_sdk.py

* updates + logging

* drop pandas inplace.  add docstrings

* Update trail_map.py

* Update generate_sdk.py

* Update trail_map.py

* stocks/fa PR added

* synced trailmap with develop branch

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update sdk_init.py

* fix removed keys functions

* updates

* reqs txt files

* forgot to save

* up to date with main

* made sure help(openbb.trailmap) is preserved

* ruff

* Update requirements-full.txt

---------

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2023-02-15 14:37:44 -05:00
Danglewood
d6ab0007e3 Fixes bad yFinance candles with auto_adjust=True (#4231)
* Fixes bad yFinance candles with auto_adjust

* black

* fixes from tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-14 09:49:02 -05:00