Commit Graph

6067 Commits

Author SHA1 Message Date
Igor Radovanovic
bec1a53202 Convert all return fields to snake_case 2023-08-11 16:57:15 +02:00
Pratyush Shukla
6826b627be Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-08-11 19:21:41 +05:30
Pratyush Shukla
41f49a4e49 polished the README.md ; co-authored by: @IgorWounds 2023-08-11 19:21:36 +05:30
Igor Radovanovic
49c13ee7fe Fix chart entry_points 2023-08-11 11:41:40 +02:00
Igor Radovanovic
63edd36155 Update entry_point loaders 2023-08-11 11:26:13 +02:00
Igor Radovanovic
744a30ca74 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-10 19:37:03 +02:00
teh_coderer
6cf09392be hotfix/ /stocks/fa/pt show all price targets on hover (#5305)
* `/stocks/fa/pt` show all price targets on hover

* Update helper_funcs.py
2023-08-10 04:28:29 +00:00
Danglewood
581fd94276 hotfix/options-hist: Fixes options/hist to display date column when raw is True (#5304)
* fix options hist to display date column when raw is True

* make raw table title same as other sources

* if export
2023-08-09 21:36:35 +00:00
Colin Delahunty
d3f47521d9 Allow the exe command to run URLs (#5295)
* First

* add url

* First draft done

* Added stuff

* autofill --url

* Added fix

* play with stuff

* fix

* lint

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-09 16:58:46 +00:00
hjoaquim
fd64bd7fb7 new static asstes and fixed openbb custom argumet 2023-08-09 16:29:38 +01:00
Pratyush Shukla
699026ae07 Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-08-09 20:08:44 +05:30
Pratyush Shukla
f479375871 fixed StockNewsData date type 2023-08-09 20:08:28 +05:30
Igor Radovanovic
82002f2875 Change StockEOD 2023-08-09 14:03:28 +02:00
Igor Radovanovic
a1e8d6dfc3 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-09 13:40:49 +02:00
Henrique Joaquim
86f951f1b1 Argparse custom params (#5303)
* Argparse custom params POC

* small improvements to the package builder

* generation of static assets

* minor adjustments

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-08-09 10:51:08 +01:00
Sai-132
1523f3f1c7 Feature/news sentiment (#5274)
* News sentiment feature added

* News sentiment feature added

* Integration test script file added

* Updated code as per PR Instructions

* API key setting and testing code updated

* Unused imports and line-too-long code updated

* Resolved conflicts in config_terminal file

* removed empty line in terminal_controller file

* Resolved conflicts and updated code for Setting API keys

* Suggested changes have been updated

* Changes updated

* conflicts resolved with data_sources_default.json file

* Code Updated For without API key

* Code Updated

* New changes Updated

* Resolved conflicts and code updated

* Small edits

* missed a spelling error

* fix test

* Lint

* pylint rewrite

* Changed Domain name

* Trail map file Modified

---------

Co-authored-by: Sai1998 <sai@althub.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-08 17:42:23 +00:00
Henrique Joaquim
9348f098a5 [SDK v4] General improvements related with the charting extension (#5283)
* introducing fig on the chart model

* charting manager to expect fig and content. also, adding a 1st example of its usage for stocks/load route

* leveraging fig.show on command output

* introducing the render_chart function

* using render_chart() on the command output

* drop to_plotly_json function

* a way of removing fields from the api only

* remove references to to_plotly_json

* fix charting_router to use new convention on returning fig and content

* adjustments on the builder script

* ruff and black

* typo

* stocks_news chart implementation

* repr on chart model

* adding table style config

* removing to_plotly_json from the charting manager

* typo and a little change on the way to_table behaves so we can leverage inheritance

* introducing OpenBBFigureTable as a workarround to have tables on the sdk

* renaming to to_chart

* multiples implementation

* black
2023-08-08 15:18:57 +01:00
teh_coderer
74a7fcb416 fix conflict docstrings (#5293) 2023-08-08 14:14:09 +00:00
Pratyush Shukla
aa21a87193 static files 2023-08-08 19:04:57 +05:30
Pratyush Shukla
0d95889150 changed condition to reflect standard_models 2023-08-08 18:45:27 +05:30
Pratyush Shukla
b9242894d5 renamed models to standard_models 2023-08-08 18:42:23 +05:30
Igor Radovanovic
af04b4ca88 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-08 13:55:00 +02:00
Igor Radovanovic
28946b85c9 Refactor Fetcher, fix descriptions, fix bugs, cleanup... | co-author: the-praxs 2023-08-08 00:22:03 +02:00
Igor Radovanovic
2e21a360ed Merge pull request #5244 from OpenBB-finance/feature/unit-tests
Setup unit tests folder structure and framework
2023-08-07 22:04:57 +02:00
Igor Radovanovic
6c702a3ed0 Fix some failing tests 2023-08-07 21:56:27 +02:00
Igor Radovanovic
ffc33acdf3 Merge, fix errors, and conflicts 2023-08-07 21:33:26 +02:00
teh_coderer
47c9086e80 fix: #5263 #5264 (#5290) 2023-08-07 17:25:57 +00:00
Colin Delahunty
19e6b61953 Fixed the get routines to meet the new backend standard (#5271)
* Added fixes

* Fixed test

* Unhid try except

* Fixed everything else

* Fixed typing

* Fixed pylint

* Fixed tests

* Fixed

---------

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-07 13:16:39 +00:00
James Maslek
279850822d fix databento (#5287) 2023-08-07 13:10:21 +00:00
Theodore Aptekarev
c8c7d836ea Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-05 15:09:10 +03:00
Pratyush Shukla
564d08edd8 add --india flag to stocks/load (#5281)
* add `--india` flag to `stocks/load`

Add ticker, set `india` and voila!

* updated "help"

* added check for `.ns`, `.NS` in ticker

* consolidated conditions into 1 line
2023-08-04 17:55:47 +00:00
montezdesousa
1165e57b40 make some provider args optional 2023-08-04 10:56:20 +01:00
montezdesousa
afbd4a69aa rename some fetcher vars 2023-08-04 10:45:28 +01:00
montezdesousa
8f0b748270 move helpers and descriptions to util.py directory 2023-08-04 10:37:54 +01:00
James Maslek
41e800ad6a Custom request for all providers (#5280)
* breakpoint 1

* breakpoint pt 1

* Finish fred request

* Add **kwargs to all fmp funcs

* Moved all fmp funcs to custom request

* benzinga requests

* add polygon requests

* remove comment

* move make_request to helpers

---------

Co-authored-by: montezdesousa <montezdesousa@gmail.com>
2023-08-04 10:06:15 +01:00
Henrique Joaquim
dbc6751843 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-04 07:37:11 +01:00
James Maslek
ce5b93ae4e Custom args to package builder (#5282) 2023-08-04 00:59:51 +01:00
montezdesousa
ed07f6ad4c 200 breaks polygon 2023-08-04 00:46:12 +01:00
Danglewood
f1eee44cab Feature/options_views: Add a Variety of Views/Charts to Extend the OptionsChains Class (#5222)
* add options_chains_view

* vsurf charts

* skew for strike vs contract

* doc string

* add chart_volatility

* linting

* codespell

* mypy

* types

* tmx mypy

* update test file

* add synthetic long/short to strategies

* updates test_options_chains_model.py

* updates some docstrings

* update documentation

* actually commit the documentation page

* update documentation screenshots

* try catch for 403 error

* add tests for options_chains_view

* int64

* SPX error handling

* add cboe options dashboard for terminal

* codespell

* enable mouse scroll wheel zoom for charts

* declare key values for all widgets

* add some more streamlit charts and tables

* fix test_yfinance_view.py

* conflict resolution

* test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-03 20:58:47 +00:00
Danglewood
d575c5d52a Fwd P/E regex fix (#5273) 2023-08-03 19:56:44 +00:00
DidierRLopes
373c4f1ea7 Update all_api_keys.json (#5277)
* Update all_api_keys.json

* Update CONTRIBUTING.md

* Create json-yaml-validate

* Update release-drafter.yml

* Update json-yaml-validate

* fix test

* add json lint to general

* Update tsconfig.json

* Add a json_validate exclude to not check tests and certain known violations

* fix workflow

* not sure why this didnt exclude?

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-03 15:25:47 +00:00
montezdesousa
70f70a81b4 Hotfix/sdk py38 (#5279)
* replace unsupported Annotated, MappingProxyType, is_annotated_dc

* fix package builder
2023-08-03 12:43:55 +01:00
Diogo Sousa
61afffb1f5 typing 2023-08-02 16:56:40 +01:00
Diogo Sousa
0b3b30eccc rename exception for better localization 2023-08-02 16:51:07 +01:00
Diogo Sousa
49fe650117 update provider readme 2023-08-02 16:43:54 +01:00
Diogo Sousa
1e0a3c36c4 update provider readme 2023-08-02 16:43:19 +01:00
Diogo Sousa
9a1b4a8fba update provider readme 2023-08-02 16:42:02 +01:00
Diogo Sousa
6b93a603dc update provider readme 2023-08-02 16:37:54 +01:00
Diogo Sousa
13d95452c3 to follow the convention 2023-08-02 15:50:20 +01:00
Diogo Sousa
e3d65b502f filter 2023-08-02 14:49:19 +01:00