hjoaquim
db1eba5f3c
left spacing regardless description
2024-05-09 00:13:26 +01:00
hjoaquim
0cb1b37652
keep command on the obbject so it can be shown on the results
2024-05-08 23:08:12 +01:00
Henrique Joaquim
7f5517ff59
Merge branch 'develop' into feature/james-didier-feedback
2024-05-08 14:19:24 +01:00
Igor Radovanovic
fbceab637c
Merge branch 'develop' into feature/james-didier-feedback
2024-05-08 13:31:43 +02:00
Danglewood
1a49dfdd9e
fix pandas warnings ( #6375 )
2024-05-08 11:31:12 +00:00
Danglewood
9c0ef12fa6
[BugFix] Ad 'x-' to json_schema_extra in Fields with unit_measurement ( #6376 )
...
* add 'x-' to json_schema_extra - unit_measurement
* mypy
* more mypy
2024-05-08 11:30:39 +00:00
Danglewood
99b0bb5287
[Feature] EconDB Main Indicators ( #6365 )
...
* add main indicators to economy.indicators
* static assets
* ruff
* Adapt and add unit test
* record test cassette
* polygon test cassette
* currency pairs
* recapture test
* mypy
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-05-07 20:03:13 +00:00
hjoaquim
48e0d65172
default name len to 23
2024-05-07 19:07:18 +01:00
hjoaquim
e8f5872ae3
use the PATH instead in the top of the menu help
2024-05-07 18:48:08 +01:00
hjoaquim
63461c5c98
if there's no menu description on reference.json, use the commands of that menu to create a pseudo description
2024-05-07 18:40:59 +01:00
hjoaquim
15f2b81434
add a new line only to separate menus and commands
2024-05-07 18:19:54 +01:00
montezdesousa
712ccbc1c6
Bugfix/cli max rows ( #6374 )
...
* fix: cli max rows
* fix: settings menu
---------
Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com >
2024-05-07 18:12:58 +01:00
hjoaquim
5777d090f1
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/james-didier-feedback
2024-05-07 17:38:52 +01:00
Igor Radovanovic
e12aac157e
[BugFix] - Fix tests for release ( #6372 )
...
* Fix user service
* fix module import
* proper Chart(...) mock
* Fix SEC rss
* improve test on to_chart() method
* Fix form 13F example filing
* remove broken example
* Add lxml dep to SEC
* fix default
* fix: treasury_prices default date, last business day´
* fix: linting
* fix: rebuild
* ^
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
2024-05-07 14:57:12 +00:00
Henrique Joaquim
295babd486
Merge branch 'develop' into feature/james-didier-feedback
2024-05-07 15:51:55 +01:00
Theodore Aptekarev
101990dffa
Sync main and develop ( #6373 )
...
* add snowflake integration video (#6339 )
* [HotFix] Fix broken URLs in docs page. (#6368 )
* Fix broken URLs
* use full URL to other docs pages.
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com >
2024-05-07 14:17:59 +00:00
Henrique Joaquim
4e8545461a
Merge branch 'develop' into feature/james-didier-feedback
2024-05-07 15:00:37 +01:00
Henrique Joaquim
756eebdf07
[Feature] Handle repeated non standard arguments ( #6366 )
...
* remove about message
* handle repeated arguments
* accomodate all the choices from different providers
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-05-07 13:57:35 +00:00
Henrique Joaquim
02848c47b7
Merge branch 'develop' into feature/james-didier-feedback
2024-05-07 13:23:13 +01:00
Igor Radovanovic
5c0b36cddb
[BugFix] - Fix lowercase symbols ( #6342 )
...
* Fix lowercase symbols
* fix decorator for to_upper
* add annotated results with underlying symbol info
* ?
* Improvements
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com >
Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com >
2024-05-07 12:22:44 +00:00
Danglewood
d3b9ce6d37
[BugFix] Set Chart Style Before Output ( #6367 )
...
* set chart style before output
* docstring
* black
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-05-07 12:04:46 +00:00
hjoaquim
7e53284fd6
Merge branch 'feature/james-didier-feedback' of github.com:OpenBB-finance/OpenBBTerminal into feature/james-didier-feedback
2024-05-07 12:13:21 +01:00
hjoaquim
d0d1965115
styling: no new lines after settings
2024-05-07 12:13:07 +01:00
Henrique Joaquim
70b085e2e1
Merge branch 'develop' into feature/james-didier-feedback
2024-05-07 12:10:54 +01:00
Henrique Joaquim
63723f7b2c
[BugFix] Remove Literal[None,...] ( #6371 )
...
* remove Literal[None,...]
* pylint: disable=unused-argument
* change to Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 3257224 3044 3254180 1% /run
/dev/nvme0n1p5 491732848 290872352 175808336 63% /
tmpfs 16286112 81500 16204612 1% /dev/shm
tmpfs 5120 8 5112 1% /run/lock
efivarfs 246 66 176 28% /sys/firmware/efi/efivars
tmpfs 16286112 0 16286112 0% /run/qemu
/dev/nvme0n1p1 262144 60008 202136 23% /boot/efi
tmpfs 3257220 15056 3242164 1% /run/user/1000 to avoid misleading linting attr errors
2024-05-07 10:57:03 +00:00
hjoaquim
c5f4460f0b
ommit coverage from menus
2024-05-07 10:13:26 +01:00
hjoaquim
41e4eac9d1
show msg only if it's an OBBject
2024-05-07 10:11:36 +01:00
hjoaquim
90a84a6ad9
remove comment
2024-05-07 10:10:45 +01:00
hjoaquim
5bf2bbd76a
section description
2024-05-07 09:58:48 +01:00
Henrique Joaquim
380891de4e
[Feature] Improve OBBject Registry ( #6364 )
...
* registry belongs to the session instead
* help message on results
* abstract the update_completer a bit and also force the re-link of newly created obbjects so they're immidiatly available
* new settings to control the obbject registry
* new method to remove a certain index from the stack
* using the new flags to control messages on the registyr
* fix: add spaces to results --help
* Update cli/openbb_cli/controllers/feature_flags_controller.py
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
* rename to settings_controller
* typo wrong attr
* better messages and actually removing the oldest obbject
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2024-05-06 14:49:22 +00:00
Danglewood
ec7ff94707
[BugFix] SEC ETF Holdings - Try Catch for RemoteDisconnect Error ( #6359 )
...
* try catch for RemoteDisconnect error
* await sleep
* remove not implemented helper
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2024-05-06 14:20:42 +00:00
montezdesousa
cd4e36e7fe
[BugFix] - Remove multiple .envs ( #6363 )
...
* Remove .envs
* Clean menu_text.py
* Remove TODO
2024-05-03 10:32:10 +00:00
Igor Radovanovic
18115e4e91
[Enhancement] - Sanitize sensitive data from .cli.his ( #6361 )
...
* Sanitize sensitive data from .cli.his
* fix long command providers
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
2024-05-02 11:21:48 +00:00
Henrique Joaquim
409703387b
avoid range index as it breaks interactive tables ( #6360 )
2024-05-02 11:07:40 +00:00
montezdesousa
a0d580ab25
[Feature] - Display command providers ( #6355 )
...
* fix: avoid calling Session() multiple times
* rename session refs
* fix: cmd text
* fix: avoid Session()
* fix: add providers by cmd
* fix: timezones
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-05-01 21:17:02 +00:00
Danglewood
c45997567c
[BugFix] Intrinio EquityPriceHistorical - Return Error Message When Invalid Key ( #6357 )
...
* return error message when invalid request
* mypy
2024-05-01 21:15:26 +00:00
Henrique Joaquim
9a02e501f8
create a title out of the route being used to use it as table title ( #6356 )
2024-05-01 17:52:13 +00:00
Igor Radovanovic
e37c0c0a40
Remove OpenBB Terminal from docs page ( #6354 )
2024-04-30 18:07:21 +00:00
montezdesousa
cc15a770da
[Feature] - Rename terminal folder ( #6349 )
...
* rename terminal folder
* docstring
* Rename to openbb_cli
* rename constant
* rename .his file
* pyproject.toml
* Update pre-commit and remove docker-build.yml
2024-04-30 12:42:31 +00:00
Henrique Joaquim
5f4ee56979
[BugFix] Empty views on econometrics and quantitative ( #6353 )
...
* ensure everything on the dataframe is a string
* stringify columns of dataframe
2024-04-30 11:10:48 +00:00
montezdesousa
9dce7346b2
move linting rules from pyproject.toml to ruff.toml ( #6350 )
...
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-04-29 16:25:50 +00:00
Henrique Joaquim
4105ec4e01
ensure everything on the dataframe is a string ( #6351 )
2024-04-29 16:08:42 +00:00
Henrique Joaquim
a502766d01
provider parameters were being removed bc not in signature ( #6348 )
...
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-04-29 10:52:38 +00:00
montezdesousa
efe77be527
Clean gitignore ( #6347 )
2024-04-29 10:15:17 +00:00
Henrique Joaquim
b43364b465
[Feature] OpenBB Platform CLI ( #5302 )
...
* rename sdk_token to pat to follow hub convention
* black
* move OpenBBError class to error model
* add OBBject class docstring
* pylint
* add futures to app docstring
* Linting
* Fix chart-related mypy errors. Co-Author: ’hjoaquim’
* Fix more mypy warnings
* Build static
* MyPy improvements
* move get_branch request to logging_settings (#5348 )
* move get_branch request to logging_settings
* black
* add todo
* Revert "add todo"
This reverts commit 7e3af83e3d .
* add todo
* Update logging_settings.py
* mac/linux install script python output suppressed
* rename .settings to .user for consistency
* update readme
* update readme
* Linting
* Linting and improvements
* Regenerate static files
* Snake_case, mypy, typing, improvements. | Co-Author: montezdesousa
* Rebuild
* Revert Fetcher
* better cpi
* Snake case
* fixes: major_indices_eod for intraday, optional company_overview atrs
* Feature/remove unncessary stuff (#5346 )
* removing the journal service from the command_runner
* remove the journal service and fix tests
* removing journal from the command_runner
* removing journal entry references and adding optional metadata
* rebuilding static assets
* removing all references to journal entry
* removing all references to journal and journal repository
* removing journal query references
* restructuring the command runner
* fix argument mismatch and settings to user mismatch
* dropping command runner session
* re generation of static assets
* ruff n black
* removing introduced bug
* removing duplicate reference due to merging
* 3.8 compatible static assets
* changing the way we deal with erros - removing the Error model
* removing unncessary filters
* fixing tests
* regenerating static assets
* remving mongodb references from user service
* remving mongodb references
* updating dependencies with removed pymongo
* updating dependencies with removed pymongo
* removing useless call
* fix typo
* ruff
* fixing tests
* ruff
* removing leftovers
* making registry map 3.8 compatible
* static assets
* ruff
* Hotfix/squeeze import (#5358 )
* remove commit_hash and branch references
* lazy load stats, scipy, pandas_ta
* black & ruff
* adding commithash back to log prefix
* fix test
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
* .user got lost in merge
* improve __repr__ for sdk classes
* changing posthog project key (#5362 )
* Linting and improvements
* Rebuild QA
* fix py38 + metadata ref in docstrings
* doc ident
* restore qa
* update readme: remove journal
* doc detail
* disable black in App docstring
* update readme: command execution
* ruff
* remove run_in_isolation: cannot pickle nested classes
* remove outdated dir openbb_sdk
* outdated workflow
* update ruff
* dependency related changes
* using model validator instead
* adjustments to the system model
* minor adjustments
* revert all changes on stocks controller
* working historical price
* controller_builder file
* process class recursivly
* adding translators prop
* poc with platform as a menu and as command
* paths feature
* adding subcontrollers
* offline access
* menu text as obj variable
* adjustments
* move help to base class; print tables using rich table (for now); clear the choices for better autocompletion
* introducing the platform controller factory
* remove unnecessary file
* revert changes to files
* dinamically generate platform menus
* generated platform commands
* poetry lock
* fix for literals and choices
* adjustments - recursive iteration only if it's a class
* router name should be lower() to match the class processor
* deps
* better output
* handling base models
* comment call_news
* Feature/v4 deprecate everything (#6113 )
* comment call_news
* remove news
* remove keys controller
* remove settings controller
* remove ta forex
* remove qa economy
* remove ta stocks
* remove qa stocks
* remove fa stocks
* remove ins stocks
* remove gov stocks
* remove dps stocks
* remove ba stocks
* remove bt stocks
* remove stocks
* remove stocks base controller class
* ruff
* remove qa forex
* remove oanda
* remove forex
* remove forex
* remove forex
* remove mention to fx_tickers
* remove ta crypto
* remove qa crypto
* remove dd crypto
* remove crypto controller
* remove crypto references
* remove economy controller
* remove economy folder
* remoe etf controller
* remove reports controller
* remove dashboards controller
* remove alt controller
* rmeove etf files
* remove alt files
* remove custom reports
* remove dashboard files
* remove econometrics controller
* remove forecast controller
* remove reports files
* remove forecast files
* remove econometrics files
* remove portfolio
* remove futures
* remove fixedincome
* remove funds
* remove sdk and common
* remove all from init
* remove reference to ipykernel
* remove reference to ta_helpers
* remove reference to ta_helpers
* cleanup
* adjustments to choices
* remove old sdk generator
* remove mention to dashboards
* ruff
* cleanup
* remove logging infra
* remove decorators
* remove sdk audit
* remove tought of the day
* remove tought of the day
* fix commands andmenus choices
* fixing lints
* ruffs
* remove old tests
* deps trim
* using container as condition for recursion
* remove unnecessary dependencies
* move dep to better section
* python versions
* poetry lock
* better custmo annotations
* handling properties
* handling edge cases: no func_doc and when signarute doesn't match type hints (self)
* reverting treating models as props
* provider groups
* comment debug stuff
* Revert "comment debug stuff"
This reverts commit f0a86f04a8 .
* comment debug stuff
* little adjustment for annotated types
* injecting the reference to make the custom argument groups available
* comments
* custom model_dump to drop choices
* deprecated
* remove update option
* remove update
* remove translations
* remove account controller
* command descriptions
* menu descriptions
* removing interactive tables
* limit the number of columns and rows
* menu descriptions
* show indexes
* More cleanups (#6245 )
* renames
* remove .init files
* remove unused files
* remove session stuff
* remove session and sources stuff
* remove unused models
* remove sdk session
* remove charting infra
* remove charting stuff but allow console style
* updates in models
* raise directly
* call terminal directly and remove artifacts
* remove reference to sources
* remove reference to source arg
* remove reference to source arg
* remove unused stuff
* remove screenshot and raise directly
* remove unnecessary helper classes
* update the config file
* remove references to old charting infra
* call terminal directly
* update deps
* make user always local for now
* rename to CLI
* ruff
* export options
* export functionality
* update rich
* update example routine
* fix issues with queue
* temporary workaround for username
* deprecate main menu commands
* deprecate commands and remove unused stuff
* deprecate commands and remove unused stuff
* deprecate commands and remove unused stuff
* adjustments and cleanups
* routines syncing w hub
* small adjustments to point to the right instance
* whoami
* custom terminal style
* adjustments related to preferences
* deprecate stuff
* rename terminal style
* deprecate more things
* more deprecation
* more adjustments
* current settings - deprecating preferences, user and system
* terminal settings
* revmap custom terminal settings
* cli version
* ruff
* black
* linting fixes
* happy mypy
* ruff
* remove old terminal build files
* remove devcontainer
* update dependencies
* trim commands and its descriptions
* better warnings
* remove commands and menus str and show warnings if dev mode
* get command descriptions from the translators instead
* Add username in brackets if logged in
* fix buggy command descriptions
* [Feature] Bug fixing the Platform CLI (#6291 )
* fix buggy command descriptions
* new reference structure
* Seggregate data commands from others (settings etc)
* fix table html for charting extension
* number of rows and columns as a setting
* interactive tables
* adding menu descriptions
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
* fix the way reference was being passed
* fix choices parsing for providers
* loosen to get instead
* obbject registry class
* obbject registry class
* using the obbject registry to show available options
* link obbject results to data processing commands data argument
* small improvements to correctly get the standard args
* intersecting data processing commands and matching the obbject trough its id
* poetry lock
* use openbb field
* safe json conversion and trimming
* better at finding nargs when union
* improved obbject registry using a stack
* data processing section
* Update argparse_translator/argparse_class_processor.py
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
* fix: remove unused function
* fix: terminal.py -> openbb_terminal/cli.py
* fix: move local model function to utils & delete module
* fix: rename hub_model.py to hub_service.py
* fix: delete paths_helper.py, not used
* fix: circular import console
* fix: move terminal_style.py from plots/ to config, delete plots/
* fix: delele base_helpers.py, function moved to env_handler.py
* fix: move custom_prompt_toolkit.py to core/completer
* fix: delete requirements.txt, we can export them later if needed
* fix: move routines stuff to routines/
* fix: move rich_config.py to core/config
* fix: rename parent_classes.py to base_controller.py
* Danger: create controllers/ and move stuff
* fix: move custom_prompt_toolkit.py to config and delete completer/
* fix: rename custom_prompt_toolkit.py to completer.py
* fix: move rouines stuff to folder
* ^ oops
* Edits
* fix: settings import
* fix: openbb command
* Fix routine record when local user
* Lint
* Remove quickexit
* Fix timezone change
* fix data processing commands: not allowing multiple items + need to allow 0 (which evalutes as false)
* split comma separated strings into a list so that the cli can consume them
* Feature/move terminal files (#6344 )
* Move terminal files into openbb_terminal
* move routines
* Create session to handle console, user, settings, etc.
* Reset...
* Bring back frontend-components
* Move frontend-components to openbb_terminal
* rename vars
* remove doc
* rename method
* rename method
* fix routines
* read settings from .env
* rename methods
* ^
* ^
* better
* bug
* ^
* move frontend-components back to root level
* revert changes
* type checking only
* docstring
* fix: settings autocomplete
* comment
* use openbb_core singleton
* rename src to fix openbb command
* fix poetry build
* readme
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu >
Co-authored-by: tehcoderer <me@tehcoderer.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2024-04-29 08:52:59 +00:00
montezdesousa
bd75a9746f
Move files used in gh actions from root ( #6346 )
...
* Move files used in gh actions from root
* keep this
* pydocstyle
* ^
* fix: relative path, os independent
* use relative root path
* ^
* move noxfile.py to .github/scripts
* remove flag
2024-04-26 17:18:00 +00:00
Danglewood
7f90d7406b
[BugFix] Intrinio Balance Sheet Period ( #6343 )
...
* fix period
* remove validator because pytest doesn't know what to do
2024-04-25 18:57:33 +00:00
Luqman
baee6d8c42
Add pip install requests openai to the workflow file ( #6341 )
2024-04-24 15:25:48 +00:00
Luqman
3d9a8b3217
rename the summarize changelog file ( #6338 )
2024-04-24 13:32:44 +00:00
Igor Radovanovic
b4182888b8
Summarize Changelog ( #6335 )
2024-04-24 10:55:36 +00:00