diff options
author | Danglewood <85772166+deeleeramone@users.noreply.github.com> | 2024-09-09 03:31:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 12:31:55 +0200 |
commit | 4bc5cd0830a042d8138361ee615c8faa1ce5bb03 (patch) | |
tree | 3274a5333e24c39255e327210249a027d0175285 | |
parent | a9aec9fa95b9895bba7e742e931dc41332f1c16b (diff) |
[Release] Release 4.3.2 (#6658)4.3.2
* fix reset_index erasing the name of the column (#6619)
* update aiohttp for dependabot (#6621)
* [BugFix] Fix Pandas FutureWarning In `derivatives.futures.curve` Chart (#6626)
* fix Pandas FutureWarning in derivatives.futures.curve
* black
* [BugFix] `obb.news.world` Add Validators To Providers Where Symbol Is Mandatory (#6625)
* add validators to enforce mandatory symbols in providers where required
* linter
* fmp 3.9 test cassette
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* data.__fields__ is deprecated - use data.model_fields instead (#6629)
* Docs fix spelling issues (#6634)
* fix README.md
* fix README.md
* fix examples.md
* fix CONTRIBUTING.md
* Update README.md
* [BugFix] Replace `Optional[bool]` with `bool` as type in Equity Search (#6633)
* replace optiona[bool] with bool as type
* one more
* test cassettes
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* [Feature] Add BLS Provider Extension With Endpoints For Search and Time Series (#6630)
* add bls provider extension
* null is returned as '-'
* codespell
* mypy
* missed colon
* more linting
* more lint
* missing charting api test
* handle months starting with Q
* too many branches
* make annual_average False by default
* review items
* example notebook updates (#6639)
* fix output of yfinance.download Date for Colab (#6645)
* capitalize economic indicator symbols before pairing with country (#6642)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [Feature] Add CFTC Provider and Replace Nasdaq Datalink For COT Reports (#6643)
* add cftc provider and replace nasdaq for COT Reports
* linters
* more linting
* grammar police
* mock all url params in test cassette
* record test cassettes with no 6901app_token
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* add trust_env to ClientSession initialization to mimic proxy behaviour of requests library (#6640)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* adding extra presets (#6623)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [Release] Patch: `openbb-yfinance-1.3.2` (#6647)
* add snowflake integration video (#6339)
* [HotFix] Fix broken URLs in docs page. (#6368)
* Fix broken URLs
* use full URL to other docs pages.
* [Release] 4.2.0 (#6422)
* [Docs] Remove Reference to `to_chart` in OBBject. (#6096)
* remove reference to to_chart in OBBject.
* put chart description back in OBBject properties
* [Feature] - Create openbb assets folder (#6101)
* create openbb assets folder
* fix unittest
* rebuild
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [BugFix] Fixes to_df() where the date series contains multiple TZ-offsets. (#6099)
* allow mixed utc offset in a tz-aware date column
* enforce ascending from all providers for price.historical
* fix tests
* add comments and apply treatment to basemodel_from_df before JSON output
* yfinance consistency
* add unit test
* add unit test
* better test
* ruff
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* Update the quantitative extension to make more sense (#6087)
* Split out a rolling submenu for the rolling functions
* Make a performance and a stats submenu.
* Test the statistics functions
* lint
* lint
* dupe test
* pylint
* ruff
* Try tests quick
* black magic signature funcs
* fix my custom tests
* Fix the existing imports/urls
* push the api update
* okay I figured out whats going on
* this should be all of them
* Correct docstringing examples
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* [BugFix] Fix ECB Yield Curve (#6108)
* fix ecb yield curve
* standard model update
* Update unit-test workflow to check for changes to openbb_platform (#6109)
* [Bug fix] - Fix package mypy (#6110)
* fix: package mypy
* types
* black
* [Feature] - Equity router descriptions & examples (#6103)
* feat: equity/calendar
* feat: compare router
* fix descriptions
* darkpool + discovery
* fix paragraph issues
* fix descriptions
* fundamental part 1
* fundamental part2
* transcipts
* ownership
* fix
* price
* shorts
* Update darkpool_router.py
* minor fix
* shorts examples
* examples
* ruff
* black
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [Feature] - Add `exception_handler` decorator to static (#6112)
* add exception handler decorator
* add exception handler decorator code
* updated static
* rebuild to fix docstring indentation
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
* update extensions list (#6114)
* add missing field descriptions to yfinance equity price historical (#6116)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* remove charting extension env var (#6118)
* [BugFix] Fix Company News (#6111)
* fix company news
* update tests
* multiple symbols for polygon
* don't include pageSize in Benzinga querystring, fixed as 100
* remove extra space
* black
* unused imports
* make benzinga test cassette smaller
* missing params
* clear empty strings
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [BugFix] Allow Multiple Symbols in `equity.fundamental.metrics()` from `yfinance` (#6124)
* allow multiple symbols in key_metrics from yfinance
* field order thing
* remove unnecessary function (#6125)
* [Docs] Update OpenBB Copilot docs (#6106)
* WIP: Tweak description.
* WIP: Experimenting with react-player
* WIP: Add copilot docs.
* fixes videos width/height
* WIP: Refine videos and copy.
* WIP: Add last videos and sections.
* Add bring-your-own-copilot section.
* Tweak grammar.
* Add copilot link.
* Fix typos.
---------
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
* [Enhancement] Add Previous Close to DATA_DESCRIPTIONS (#6120)
* add data description for previous close
* ..just the one
* update the model tripped by this change
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* added australia as a country also (#6131)
* [Bug fix] - Fix regulator cik map standard model (#6129)
* Fix regulator cik map standard model
* fix description
* Update cik_map.py
* increase timeout to 30 (#6115)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* clean up some v3 deps (#6105)
* clean up some v3 deps
* forgot we need to do the requirements txt files
* not sure it matters, but run ruff + black
* am addicted to bug fixes
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* [Bug fix] - explicit multiple items docstring (#6127)
* explicit multiple items docstring
* rebuiild
* rebuild again
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* [Feature] Pretty Pydantic `ValidationError` exceptions (#6130)
* fix validator in fmp IndexHistorical model
* make ValidationError pretty
* modify arg error
* linting fmp IndexHistorical
* black
* remove unused code
* tmx etf info (#6132)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* [Feature] - Platform V4 Markdown Generator V2 (#6094)
* add recent `openapi.json`
* fix data types in models
* removed `openapi.json`
* set default date value as None in PolygonCurrencyPairs class
* add function to generate reference.json file
* reworked function to improve readability
* reword function to add seo metadata
* add functions for creating markdown sections
* add code to extract data card markdown title
* add additional functions for generating index and data models file
* extract first sentence of the description for cards
* code cleanup and documentation
* linting
* linting polygon models
* add openbb import statement in create_reference_markdown_examples function
* add POST method functions
* cleanup; reworked generate_reference_index_files function
* moved development section to 7th position in the sidebar
* fix POST function params default value
add standard flag to QueryParams and Data fields
cleanup
* add type expansion from package_builder.MethodDefinition
* sort data models cards alphabetically
make printing less verbose
* make MAX_CARDS global
display less content in cards in Commannds section
* cleanup
* Remove '_' from the cards under Commands section
* " to ' in econometrics/causality
* replace ' with " in ReferenceCard for reference dir index files
* remove extra . from the quantile function description
* shoutout to @deeleeramone for finding POST method description bug!
* set correct value for standard field
* handle BaseModel types in provider data fields
* unit tests for the platform markdown generator v2
* yeet 'Default' and 'Optional' columns in the 'Data' section
* last minute bug fix
* add info for multiple symbols
* make multiple items info same as platform static
* organize sections properly
* sort reference sub-directories alphabetically
* extra space in 'OBBject extra' description
* add type expansion for fields with multiple items
POST method cleanup
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* [Docs] Adds Example Notebook for the Implied Earnings Move (#6128)
* adds example notebook for the implied earnings move
* remove commented out line
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* [Feature] - Sync with new openapi.json (#6137)
* feat: create data tabs
* fix: uncomment
* fix: remove unecessary comment
* sort side bar
* comment
* uncomment
* use .dev functions.json + clean traverse
* fix futures example
* fix example
* point to .co
* Fix the v3 markdown generation workflow (#6138)
* fix workflow
* debug time
* see if the docs generate at least
* ahhhh i found it
* getting there
* put the test first
* some keys cleanup
* small change to error message
* update functions.json (#6140)
* fix intraday check in charting ta_class (#6119)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* [BugFix] Display EconDB as source for macro (#6143)
* [BugFix] Disable Intrinio `InstitutionalOwnership` model (#6142)
* disable fetcher in init and fetcher tests
* disable provider test params from equity python and api tests
* updated static
* add more examples into findSymbols (#6139)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* [BugFix] Fix SEC ETF Holdings Parsing Exception (#6121)
* fix etf holdings
* linting
* black
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Docs/update xl docs (#6145)
* remove print
* update obb.get docs
* example
* md lint
* fix get reference (#6147)
* [BugFix] Filter OECD data using `start_date` and `end_date` parameters (#6144)
* move constant dicts to constants.py
filter by start_date and end_date
* black
* black again again
* Merge 'main' into 'develop' (#6151)
* Release/3.2.4 (#5696)
* test
* ultima description (#5541)
* Updating showcase page (#5543)
* updating showcase page
* use sdk instead
* add new bot command autopost docs (#5530)
add new bot command autopost docs to docs.openbb.co
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Hotfix/ultima improvements (#5553)
* tweaks for monetization
* fix linting issue
* fix: Modify 'load' behavior to append data to existing sheet (#5503)
* fix: Modify 'load' behavior to append data to existing sheet
Details:
- Added logic to detect existing sheet and append data if present.
- There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number.
Resolves: #5472
* Fixed 'worksheet not found' error during export to an existing sheet
* Changes:
* Now if the sheet exists in the xlsx file it will ask the user if he
wants to replace/append/create new sheet
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* added platform API integration test to Nightly build (#5571)
* Add columns to `stocks/search` (#5565)
* Add columns to `stocks/search`
isin, cusip, figi, composite_figi, shareclass_figi
* Update test_search[False].txt
* Update test_search[True].txt
* Delete tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_search.yaml
* Create test_search.yaml
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* updating ultima urls (#5587)
* fix: A value is trying to be set on a copy of a slice from a DataFrame #5582 (#5591)
* Update README.md (#5598)
* Hotfix/econometrics export filename fix (#5508)
* fix: Modify 'load' behavior to append data to existing sheet
Details:
- Added logic to detect existing sheet and append data if present.
- There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number.
Resolves: #5472
* Added --export option for exporting to a desired file in /econometrics menu
* Added a -f/--file option to provide the filename for export.
Made -t/--type and -f/--file mutually exclusive.
If -f is not given, -t is required and the filename will be generated based on the time and module.
* Revert `helper_funcs.py` to original state
* Made some arguments not required.
* Minor changes asked by @deeleeramone
* No sheet name
* black
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* FIX #5600 Updated the Twitter logo to X logo (#5601)
* Change Ultima paragraph (#5624)
* change ultima paragraph
* remove old paragraph
* Update CONTRIBUTING.md (#5623)
* mobile line-brake fixed (#5604)
In the mobile view (media max 400px ), the text line "Installation >>" appears broken into smaller segments.
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro
* Update index.md
* Update dashboards.md
* Update folders.md
* Update grouping.md
* Update report.md
* Update templates.md
* Update quick-start.md
* Update index.md
* Update index.md
* Update home.md
* Update news.md
* Update index.md
* Update index.md
* Update index.md
* Update data-provider.md
* Update chat-with-widget.md
* Update data-manipulation.md
* Update forecasting.md
* fix: images self closing tags
* fix: only pro visitors can see pro
* inter font
* improve SEO content and restructuring
* add new package for toggle on tutorials
* move folder around
* improve main page of each prod
* small updates and improvements
* fix logo above
* small improvement in headtitle for portfolio funcs
* fix typos from OpenAI's GPT-4
* fix _category_ json
* remove generic SEO words
* add script that generates SEO for documentation
* add missing file
* remove sdk warning message
* fix links for andrew
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* Add light blue banner, blue when clicking sidebar + fix link in docusaurus.config.js (#5627)
* typo
* pro docs tab coloring
* sidebar selection blue
* redirecting missing
* fix docs (#5646)
* Fix the redirect for intro to the correct url for docs (#5658)
* fix the redirect for intro to the correct url for docs
* fix code linting
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Improve Pro documentation further (#5641)
* small improvement
* Fix TutorialVideo for mobile view
* main page terminal pro docs
* jose whelp
* placeholder index file that needs to be removed
* fix: fixes sidebar, removes unused index.md
* update link to api keys
* update api keys link
* fix hyperlinks in terminal helper
* fix a few more links
* fix some more links
* linter
* black linter
* improve main docs page for each product
* small refactor
* header to take to main page of product
* run OpenAI script to generate SEO for pro content
---------
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
* Update folders.md
* Update integrate-your-own-backend.md
* Update index.md
* Update settings.md (#5665)
* fix front matter (#5667)
* #5633 adding comma every 1000 (#5652)
* #5633 adding comma every 1000
* pylint
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* Hotfix/reports model render report sanitize inputs (#5669)
* Adding more robust special character handling to create_output_path().Addresses https://github.com/OpenBB-finance/OpenBBTerminal/issues/5299
* Running black linter on code to conform to OBB style guides.
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* hotfix/fix-gov-histcont: Fix #5650 - /stocks/gov/histcont (#5676)
* fix histcont
* some cleanup
* remove sort line
* 12-31 not 12-12
* columns_keep_types
* remove space in regex (#5675)
* Pin openai (#5685)
* Clarified stocks/ta empty recom object message (#5468)
* Clarified stocks/ta empty recom object message
* black
* lint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* improved market cap value extraction (#5169)
* improved market cap value extraction
* pylint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* 3.2.3->3.2.4
* Changelogs
* new changelog
---------
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: Adi Sai <adithya.sairam1@gmail.com>
Co-authored-by: Sandip Saha <sandipsmoto@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: Adwait <111136306+AdwaitSalankar@users.noreply.github.com>
Co-authored-by: Abhishek Amar <66067391+abhishek-amar@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: professssor <62937125+professssor@users.noreply.github.com>
Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com>
Co-authored-by: MAX SHESTOV <57421753+maxxsh@users.noreply.github.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: Mohamad Fadil <fadil.parves@gmail.com>
Co-authored-by: Ramazan <guvencramazan@outlook.com>
Co-authored-by: joshuabuildsthings <joshuabuildsthings@users.noreply.github.com>
Co-authored-by: wojda <114031148+polooner@users.noreply.github.com>
Co-authored-by: Bim Phomthong <118195204+bimbolimbo@users.noreply.github.com>
* Release/4.0.1 (#5840)
* test
* ultima description (#5541)
* Updating showcase page (#5543)
* updating showcase page
* use sdk instead
* add new bot command autopost docs (#5530)
add new bot command autopost docs to docs.openbb.co
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Hotfix/ultima improvements (#5553)
* tweaks for monetization
* fix linting issue
* fix: Modify 'load' behavior to append data to existing sheet (#5503)
* fix: Modify 'load' behavior to append data to existing sheet
Details:
- Added logic to detect existing sheet and append data if present.
- There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number.
Resolves: #5472
* Fixed 'worksheet not found' error during export to an existing sheet
* Changes:
* Now if the sheet exists in the xlsx file it will ask the user if he
wants to replace/append/create new sheet
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* added platform API integration test to Nightly build (#5571)
* Add columns to `stocks/search` (#5565)
* Add columns to `stocks/search`
isin, cusip, figi, composite_figi, shareclass_figi
* Update test_search[False].txt
* Update test_search[True].txt
* Delete tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_search.yaml
* Create test_search.yaml
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* updating ultima urls (#5587)
* fix: A value is trying to be set on a copy of a slice from a DataFrame #5582 (#5591)
* Update README.md (#5598)
* Hotfix/econometrics export filename fix (#5508)
* fix: Modify 'load' behavior to append data to existing sheet
Details:
- Added logic to detect existing sheet and append data if present.
- There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number.
Resolves: #5472
* Added --export option for exporting to a desired file in /econometrics menu
* Added a -f/--file option to provide the filename for export.
Made -t/--type and -f/--file mutually exclusive.
If -f is not given, -t is required and the filename will be generated based on the time and module.
* Revert `helper_funcs.py` to original state
* Made some arguments not required.
* Minor changes asked by @deeleeramone
* No sheet name
* black
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* FIX #5600 Updated the Twitter logo to X logo (#5601)
* Change Ultima paragraph (#5624)
* change ultima paragraph
* remove old paragraph
* Update CONTRIBUTING.md (#5623)
* mobile line-brake fixed (#5604)
In the mobile view (media max 400px ), the text line "Installation >>" appears broken into smaller segments.
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro
* Update index.md
* Update dashboards.md
* Update folders.md
* Update grouping.md
* Update report.md
* Update templates.md
* Update quick-start.md
* Update index.md
* Update index.md
* Update home.md
* Update news.md
* Update index.md
* Update index.md
* Update index.md
* Update data-provider.md
* Update chat-with-widget.md
* Update data-manipulation.md
* Update forecasting.md
* fix: images self closing tags
* fix: only pro visitors can see pro
* inter font
* improve SEO content and restructuring
* add new package for toggle on tutorials
* move folder around
* improve main page of each prod
* small updates and improvements
* fix logo above
* small improvement in headtitle for portfolio funcs
* fix typos from OpenAI's GPT-4
* fix _category_ json
* remove generic SEO words
* add script that generates SEO for documentation
* add missing file
* remove sdk warning message
* fix links for andrew
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* Add light blue banner, blue when clicking sidebar + fix link in docusaurus.config.js (#5627)
* typo
* pro docs tab coloring
* sidebar selection blue
* redirecting missing
* fix docs (#5646)
* Fix the redirect for intro to the correct url for docs (#5658)
* fix the redirect for intro to the correct url for docs
* fix code linting
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Improve Pro documentation further (#5641)
* small improvement
* Fix TutorialVideo for mobile view
* main page terminal pro docs
* jose whelp
* placeholder index file that needs to be removed
* fix: fixes sidebar, removes unused index.md
* update link to api keys
* update api keys link
* fix hyperlinks in terminal helper
* fix a few more links
* fix some more links
* linter
* black linter
* improve main docs page for each product
* small refactor
* header to take to main page of product
* run OpenAI script to generate SEO for pro content
---------
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
* Update folders.md
* Update integrate-your-own-backend.md
* Update index.md
* Update settings.md (#5665)
* fix front matter (#5667)
* #5633 adding comma every 1000 (#5652)
* #5633 adding comma every 1000
* pylint
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* Hotfix/reports model render report sanitize inputs (#5669)
* Adding more robust special character handling to create_output_path().Addresses https://github.com/OpenBB-finance/OpenBBTerminal/issues/5299
* Running black linter on code to conform to OBB style guides.
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* hotfix/fix-gov-histcont: Fix #5650 - /stocks/gov/histcont (#5676)
* fix histcont
* some cleanup
* remove sort line
* 12-31 not 12-12
* columns_keep_types
* remove space in regex (#5675)
* Pin openai (#5685)
* Clarified stocks/ta empty recom object message (#5468)
* Clarified stocks/ta empty recom object message
* black
* lint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* improved market cap value extraction (#5169)
* improved market cap value extraction
* pylint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Release/3.2.4 (#5704)
* 3.2.3->3.2.4
* Changelogs
* new changelog
* OpenBB Platform v4 (#5225)
* change location
* check something
* add cache
* fixed auth w/@IgorWounds and @montezdesousa
* fixes for econometrics
* include Darren auth suggestions
* some routers included if dev + chg hub backend var
* coverage router should not be here
* update docker readme
* forgot to check auth here
* Change extension imports
* update docstrings and readme
* headers function wasnt being called, just referenced
* relative import
* econometrics add headers everywhere
* Fix QA
* Fix TA
* Fix test
* Fix python interface QA and TA
* Lint
* Cleanup
* Change path
* make the changes and some etf models
* tests for command_runner
* ruff
* solving naming issues on pytest
* Update some docstrings, fix typos and lint
* solving econometrics instantiating wrong openbb
* chaging the way pytest runs
* messing around with the imports
* ruff
* Change template to add platform considerations (#5533)
* change template to add platform considerations
* @the-praxs suggestions
* solving __pycache__ issue
* removing typo
* ci yml
* making linters happy (i guess)
* Improve Omega Ratio and docstrings
* chaging pro validation hash
* ruff
* Fix OLS Summary and lint
* Add OECD Provider for economy extension (#5534)
* Add record to docs
* update a couple of cboe models
* Fix econometrics bugs. Make tests pass. Lint.
* black
* ruff
* pydantic v2: remove deprecated Extra
* pydantic v2: self.dict -> self.model_dump
* revert pydantic
* revert the revert
* try 1: pin urllib3 < 2
* Revert "try 1: pin urllib3 < 2"
This reverts commit 3736c311cb6aa9e653dcb5db733798408b72a82e.
* Revert dep
* Fix
* re-lock
* Skip all tests when doing cspell in pre-commit
* Resolve linter errors
* Add OECD to install script
* Add OECD
* Resolve more linter errors
* Exclude static files of v4 python from ruff
* More linting
* Another attempt to resolve even more linting errors
* Change how Literal is used
* ticker. symbol. consistent. @piiq
* change ticker field in Stock Search to is_symbol
* Update Cboe model for stocks_search -> is_symbol parameter.
* Fix issue
* Lint
* Small QA to rename SDK to Platform (#5544)
* SDK -> Platform in docs
* renamed in core
* renamed in openbb `init`
* `sdk` variable renamed as `platform`
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* `validator` -> `field_validator` in standard models
* Standard convention for multi-ticker symbols (#5549)
* standardize symbol input param in forex and crypto historical data
* static
* linting
* Fix stock_search integration test params
* Update dependencies and linting on the CI (#5550)
* Remove ruff and black from platform dependencies
* Update codespell configuration
* Lint python code
* Add toml and tomli to root dev dependencies
* Update requirements.txt files
* Fix buggy docstring in python package methods (#5548)
* fix buggy docstring for methods
* remove space
* fix typing
* avoid name collision with validator
* Revert "avoid name collision with validator"
This reverts commit 8a30a44555d97132f6bddcbc4a4facdd97ecc591.
* typing
* rebuild
* python 3.8, ParamSpec not available
* lint
* ruff noqa
* Merge with develop (#5551)
* Charting extension integration tests (#5547)
* initial proposal for integration tests on the charting extension
* int tests for charting generation
* python generator
* ruff
* boilerplate templates
* python tests
* tests for the api
* using body instead so data don't get redefined
* unit tests for coverage
* ruff
* docstrings
* unnecessary access to keys()
* Add trading economics economic calendar
* dev install
* Data Models disposition on the website (#5538)
* pydantic v4
* flat structure
* md files
* Revert "md files"
This reverts commit bd2170e2adf82fed3a35d34fad6a2e3ba3ae1d49.
* improve command descriptions
* nice title and description
* human readble data model names on left panel
* implementation details section
* content markdown files
* markdown versioned files
* showcase page
* updates
---------
Co-authored-by: tehcoderer <me@tehcoderer.com>
* everything except tests
* fix `datetime.date` import in fetcher test
* modified url to remove `api_key` placeholder
* record test
* api key is called c here
* fixed fetcher test for api key
* recorded tests
* refactor
* life is ruff
* codespell
* Make Intrinio options chains great again (#5540)
* add multithreading
* cleanup
* linting
* use dateutil.parser
* removed `TICKER_EXCEPTIONS`
* modified `date` and `type` fields in standard model
* set alias for `date` and `type` to match standards
* static
* static
* Hotfix/fix post tests (#5555)
* Fix econometrics
* Fix ta
* Fix qa. Remove intrinio to not be rate limited
* Lint
* Fix typo
* obbject tests (#5558)
* obbject tests
* ruff
* fix dev_install
* fix unittests
* black on nox
* black on nox
* nox
* fix fetcher test so it can compare dates
* fix intrinio tests
* ruff
* change to model_dum() instead (#5561)
* Passing tests (#5560)
* Passing tests
* fix options
* Fix most tests and bugs
* fix forex missing params
* make symbol upper in polygon fx pairs
* fix fixedincome integration tests (#5564)
* Fixing charting api integration tests (#5562)
* fixing charting api integration tests
* black
* fix stocks less five API fails
* fix the 5 failing stocks integration tests
* recapture fmp stock news unit test
* fix fmp forex api test
* couple more forex integration fixes
* changing the request to always use the legacy session. @jmaslek this is was broken for 3.8 and 3.9; with this change apparently all versions work - lemme know if you see any issue with this change
* ruff
* fix ta
* add missing param
* fix testers for the api
* fix globalnews to use images instead of image
* remove unncessary pandas import
* econcal int tests
* update gitignore
* fix get_querystring to support lists
* add missing parameters
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* Stock Historical standardization and UX improvements (#5457)
* polygon add interval standard param
* attempt at standardization
* Alpha Vantage params standardization
* rename `get_intervals` and fixed bug for extracting wrong value
* missed changing it in `extract_data`
* linting
* polygon cleanup
* modified `start_date` & `end_date` type to `datetime` from `dateType`
* standardized intrinio stock historical params
* fixed yfinance
* linting
* revert start and end date to dateType from datetime
* fix alpha vantage
* changed param
* fix intrinio infinite loop
* `validator` is `field_validator`
* revert time params and fixed intervals
* `outputsize` alias set in `Field`
* set interval description using in-build dict
* yfinance stock param standardization
* static
* intrinio cleanup
* Polygon add api params as `PrivateAttr`
* modified yfinance params to `PrivateAttr`
* intrinio remove overriding date params
* fixed description for AV adjusted param
* fix alpha vantage intraday not working
* re-record and pass unit tests
* pass integration tests
* Update test
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* Fix econcal endpoint (#5567)
* fix econcal for python interface
* fix econcal tests
* fix non supported json output
* Fixes FMP index endpoint to get 1 day interval data (#5535)
* fix FMP endpoint for getting index data for `1day` interval
* fix `open` type to prevent validation error
* modifed `validator` to `field_validator`
* type of fields is `StrictFloat`
* re-record and pass test
* linting
* `validator` -> `field_validator`, a3'd everything
* Fix regression in tests. Lint
* updating the integration test actions
* Fix typo
* Fix typo
* Fix import
* Publish versions `a3` to Pypi (#5568)
* bump versions and script to publish
* small improvements
* uncomment exception
* openbb
* publishing guidelines
* improve docs
* add providers to economy api
* make symbol required in stock_quote
* Fix keys
* Fix oecd
* add comma
* revert
* Add quotes
* Sleep
* Improve tests
* Improve
* Feature/query transform (#5566)
* inject query into transform_data
* swap query and data
* update missing fetchers
* last test failing
* sig test fetcher
* black
* av add `query` to `transform_data` call
* transform_data: missing refactoring
* fix uvicorn command in the doc
* Automated examples (#5576)
* Automated examples
* Fix bug
* Lint
* static assets built on 3.8
* Revert "static assets built on 3.8"
This reverts commit fb82ff7bd9af92ed676d8f8047c31e74daf7b8b2.
* remove assets
* static assets on 3.8
* static assets on 3.8
* Wrap in quotes
* Improve wrap
* minor fix
* rebuild 3.8
* Fix bug
* Fix edge case
* Lint
* rebuild
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
* use SecretStr for sensitive fields (#5578)
* use SecretStr for sensitive fields
* fix
* docstring
* Add tests for provider (#5583)
* Add tests for provider
* Test standard models
* Lint
* Fix standard model issues.
Co-authored-by: @the-praxs
* linting
* `symbol` -> `is_symbol` in `economy.index_search`
* static
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
* feature/v4-biztoc-provider: Adds Biztoc provider and GlobalNews (#5546)
* add biztoc provider
* duplicate field
* black
* request headers
* recapture test
* move stuff around
* add integration tests
* duplicate OECD entry in dev_install
* duplicate entry for oecd in pyproject.toml
* Add Biztoc to workflow
* update readme: credentials
* Add Preferences to README
* improve tests
* fix biztoc
* obbject pylint
* Bug fix: serializ SecretStr before dumping to json
* export credentials as json (#5592)
* Check for wrong, changed, or outdated params. (#5597)
* Improving `economy.cpi` for the FRED data (#5602)
* remove multiindex using coding magic
* Update field descriptions
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Improve error message.
* Improve
* Test tests (#5607)
* Test tests
* Add test
* 4.0.0a4 PyPI publishing (#5608)
* changes to publish
* fix mini conflict
* typo
* cleaned `descriptions.py`
* fix description in `cpi.py`
* Add ETF extension to v4 (#5609)
* Add etf extension with search data model
* Add FMP ETF search
* Add fetcher tests
* Add ETF historical price from yfinance (#5610)
* Add etf extension with search data model
* Add FMP ETF search
* Add fetcher tests
* Add etf historical price standard model and route
* Add etf historical data from yfinance
* Add unit tests
* Fix linter error. Organize imports
* Update test data
* Revert common descriptions erased by CPI PR
* remove `symbol` from data for `stocks.ca.peers`
* Test docstrings (#5613)
* Test docstrings
* fix minor bugs w/@IgorWounds
* static only w/@IgorWounds
* fix `importance` param in `economy.econcal`
* right static only w/@IgorWounds
* Fix econcal and add tests to noxfile
* fix econcal static
* re-record
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
* Clean up the newly created ETF extension (#5611)
* Add ETF to dev_install bundle
* Add integration tests for openbb-etf
* Patch integration test generator scripts to produce lintable code
* Add py.typed markers for extensions
* user preferences descriptions (#5593)
* user preferences descriptions
* typo
* Feature/v4-sec-provider: Add SEC provider to V4 (#5556)
* coerce string type, add default=None
* add sec provider and FTD function
* update description
* ruff
* data model definitions in standard model already
* duplicate oecd entries in dev_install and pyproject
* actually commit
* integration test
* add stock search to SEC
* add company filings for SEC provider
* integration tests
* remove duplicated line
* ruff
* **kwargs in Transform Data
* some helper functions for later
* black
* add helper for mutual fund and etf lookup
* add some SEC lookup helpers to a new regulators extension
* black
* ruff
* fix test param
* take institution filter out of sec stock_search
* ruff
* remove URL that codespell doesn't like
* add cik-to-ticker map
* add litigations rss feed
* make openbb-regulators a dependency of openbb-sec
* add SIC search
* improve ftd and remove BeautifulSoup from SEC dependencies
* fix parsing the zip files pre-2009
* ruff
* update descriptions
* recapture ftd test
* tests params
* typo
* change limit param to 1 in test_sec_stock_ftd
* Add didiers to_records method (#5588)
* Add didiers to_records
* unused import
* Bring back polars + do what igor suggested
* Make the output consistent with what it was.
* Black ?
* spelling. oops. almost like we have a pre commit or something
* Feature/v4-price-performance: % returns for various horizons, comparable across multiple tickers. (#5618)
* coerce string type, add default=None
* add price_performance endpoint from FMP
* black
* extra period in docstring
* ruff
* forgot one file
* Feature/ipo-calendar: V4 IPO Calendar (#5605)
* coerce string type, add default=None
* add intrinio ipo calendar
* fix typo
* sort __init__
* fix description
* make requested changes
* update test params
* black
* test updates
* etf integration
* Add disc router and WSJ provider
* OBBject extensions (#5612)
* changes to core
* bug?
* docstring
* doc
* Update credentials.py
* fix model_dump
* create extensions
* fix docstring
* doc
* revert change query_exc
* doc
* fix container test
* redirect obbject test patch
* doc
* rename method
* move decorator to extension file
* rename method extend_obbject
* changes in creds model
* avoid credential racing
* doc
* rename prop
* doc
* doc
* remove comment
* comment some code
* free extension names
* docstring
* doc
* docs
* Hotfix/