Commit Graph

4640 Commits

Author SHA1 Message Date
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
Elyanah Aco
2079649e44 Set query arg in economy/eval as required (#4317)
* Set query arg as required

* Edit economy/eval documentation

---------

Co-authored-by: elyanah <elyanah.aco02@gmail.com>
2023-02-22 08:30:50 -05:00
Luqman
1c30ad2eec Nightly Publish to Pypi (#4315)
* pypi nightly feature

* Added trigger to nightly push

* Edited command in PyPI docs

* Code cleanup
2023-02-21 23:50:47 +01:00
James Maslek
2c9cddbd75 Change sources path (#4312) 2023-02-21 17:29:48 +00: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
1c84da9f16 Handle end_date with CCXT source when loading crypto (#4296)
* Handle `end_date` with `CCXT` source when loading crypto

* Fix linting

* Fix linting

* Improve code readability

* Final linting

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:41:59 -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
northern-64bit
6e5b3998c5 Display correct risk free rate in the portfolio menu help message (#4217)
* Fix printing of help message

* Fix risk free rate usage

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 17:54:00 -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
teh_coderer
02b7f4403a Update trailmap.py (#4301) 2023-02-20 10:54:18 -05:00
Luqman
8dff6b1f20 Fix Unit Test (#4298)
* Fix Unit Test

* Added comments

* remove punctuation

* Edit depth

* fix linting
2023-02-20 14:48:40 +01:00
0x-Mr.7i74N
382874b4d9 Update api-keys.md (#4256)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-19 20:15:44 -05:00
xinbaDev
6e3a683beb fix variable name (#4289)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-19 20:11:51 -05:00
James Maslek
8bf5637e1e Merge pull request #4291 from northern-64bit/hotfix/bug-#4290
Fix spelling mistake in portfolio menu help message
2023-02-19 20:03:15 -05:00
James Maslek
758abb5d09 Merge branch 'develop' into hotfix/bug-#4290 2023-02-19 19:58:09 -05:00
James Maslek
0c6721864d Merge pull request #4292 from northern-64bit/hotfix/bug-#4278
Fix `--help` for `stocks/candle`, `stocks/tob` and `stocks/news`
2023-02-19 19:57:52 -05:00
northern-64bit
ca67168a47 Fix linting 2023-02-19 22:39:01 +01:00
northern-64bit
659ea2c306 Fix help message for stocks menu 2023-02-19 22:25:19 +01:00
northern-64bit
8b15faa90d Fix spelling mistake in portfolio menu help message 2023-02-19 22:01:34 +01:00
James Maslek
5e37b94076 Merge pull request #4274 from OpenBB-finance/release/2.4.1
Release/2.4.1
2023-02-17 12:46:57 -05:00
James Maslek
8f35afc7d7 Merge branch 'develop' into release/2.4.1 2023-02-17 12:14:14 -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
James Maslek
10024138d3 Merge branch 'develop' into release/2.4.1 2023-02-17 11:29:27 -05:00
teh_coderer
96af407585 SDK Added about() for methods and class, fixed pypi.md (#4273)
* added log_if_login and about() for methods and class, fix pypi.md

* Update sdk_helpers.py

* mypy
2023-02-17 11:29:07 -05:00
James Maslek
7bdaa4b007 Merge branch 'main' into release/2.4.1 2023-02-17 10:25:39 -05:00
james
2e97d64f2f pyproject 2023-02-17 10:25:18 -05:00
james
f0bcdecd2a Release branch 2023-02-17 10:18:39 -05: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
jose-donato
6de733e607 Small typos on readme (#4267)
small typos

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-17 08:25:54 -05:00
James Maslek
8aa1c34efb Merge pull request #4271 from Deucedadorian/patch-1
Update api-keys.md
2023-02-17 08:22:08 -05:00
Dylan Cole
b1a123f66a Update api-keys.md
fix typo
2023-02-17 01:50:10 -05: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
James Maslek
b1ced18fb4 Merge pull request #4198 from OpenBB-finance/feature/mypy10
Bumping to mypy 1.0
2023-02-16 09:40:58 -05:00
james
48f59b92a0 Bad ruff 2023-02-16 09:33:07 -05:00
james
032054873c Reqs 2023-02-16 09:16:30 -05:00
james
a0f3ad125b Other mypy fixes 2023-02-16 09:06:31 -05:00
james
15141122a2 Merge 2023-02-16 08:57:34 -05:00
DidierRLopes
2130dea530 Feature/improve docs (#4260)
* Update README.md

* Update README.md

* Create pipy.md

* Rename pipy.md to pypi.md

* Update README.md

* Update pyproject.toml

* Update README.md

* Update README.md

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-16 12:02:17 +01: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
montezdesousa
e57de3b453 Account menu improvements (#4252)
* ask for confirmation on delete, replace

* fix logout

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-15 14:59:15 +00:00
Henrique Joaquim
46b230f146 Minor fixes on login (#4234)
* block logout

* fix default behaviour to no ask for creds

* enables to use --login on
Welcome to OpenBB Terminal v2.3.1
╭─────────────────────────────────── Home ───────────────────────────────────╮
│                                                                            │
│ Information, guides and support for the OpenBB Terminal:                   │
│     intro              introduction on the OpenBB Terminal                 │
│     about              discover the capabilities of the OpenBB Terminal (h │
│     support            pre-populate a support ticket for our team to evalu │
│     survey             fill in our 2-minute survey so we better understand │
│     update             attempt to update the terminal automatically (GitHu │
│     wiki               search for an expression in Wikipedia (https://www. │
│     news               display news articles based on term and data source │
│                                                                            │
│ Configure your own terminal:                                               │
│ >   keys               set API keys and check their validity               │
│ >   featflags          enable and disable feature flags                    │
│ >   sources            select your preferred data sources                  │
│ >   settings           tune settings (export folder, timezone, language, p │
│                                                                            │
│ Record and execute your own .openbb routine scripts:                       │
│     record             start recording current session                     │
│     stop               stop session recording and convert to .openbb routi │
│     exe                execute .openbb routine scripts (use exe --example  │
│                                                                            │
│ Main menu:                                                                 │
│ >   stocks             access historical pricing data, options, sector and │
│ >   crypto             dive into onchain data, tokenomics, circulation sup │
│ >   etf                exchange traded funds. Historical pricing, compare  │
│ >   economy            global macroeconomic data, e.g. futures, yield, tre │
│ >   forex              foreign exchanges, quotes, forward rates for curren │
│ >   futures            commodities, bonds, index, bitcoin and forex        │
│ >   alternative        alternative datasets, such as COVID and open source │
│ >   funds              mutual funds search, overview, holdings and sector  │
│                                                                            │
│ OpenBB Toolkits:                                                           │
│ >   econometrics       statistical and quantitative methods for relationsh │
│ >   forecast           timeseries forecasting with machine learning        │
│ >   portfolio          perform portfolio optimization and look at portfoli │
│ >   dashboards         interactive dashboards using voila and jupyter note │
│ >   reports            customizable research reports through jupyter noteb │
│                                                                            │
╰─────────────────────────────── OpenBB Terminal v2.3.1 (https://openbb.co) ─╯
You are using the latest stable version

2023 Feb 14, 06:39 (🦋) / $

[h] help menu    [q] return to previous menu    [e] exit terminal    [cmd -h] s
                                                                               e
                            2023 Feb 14, 06:39 (🦋) / $
The OpenBB Terminal is the result of a strong community building an investment research platform for everyone, anywhere.

We are always eager to welcome new contributors and you can find our open jobs here:
https://www.openbb.co/company/careers#open-roles

Join us           : https://openbb.co/discord
Follow us         : https://twitter.com/openbb_finance
Ask support       : https://openbb.co/support
Request a feature : https://openbb.co/request-a-feature

Fill in our 2-minute survey so we better understand how we can improve the OpenBB Terminal at https://openbb.co/survey

In the meantime access investment research from your chatting platform using the OpenBB Bot
Try it today, for FREE: https://openbb.co/products/bot

* reverting the condition to the original state

* openbb to match python terminal.py

* adding unauthorized

* reverting changes

* getting the value of the status

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-15 14:55:22 +00:00
James Maslek
012561934c Merge pull request #4253 from OpenBB-finance/feature/doc-updates
Feature/doc updates
2023-02-15 09:26:58 -05:00
James Maslek
43a918f160 Merge pull request #4254 from OpenBB-finance/feature/doc-updates
Fix the stuff
2023-02-15 09:25:03 -05:00
James Maslek
8890d83a84 Merge branch 'main' into feature/doc-updates 2023-02-15 09:24:34 -05:00
jeroen
eae5f304ab Fix the stuff 2023-02-15 15:22:35 +01:00
James Maslek
6d271fbb4a Merge pull request #4251 from OpenBB-finance/feature/doc-updates
Updated many images and adjusted many wrong pieces of documentation
2023-02-15 08:55:17 -05:00
James Maslek
6b50411d70 Merge branch 'main' into feature/doc-updates 2023-02-15 08:46:19 -05:00
Jeroen Bouma
8016bde698 forgot one 2023-02-15 13:01:34 +01:00