Commit Graph

6083 Commits

Author SHA1 Message Date
Diogo Sousa
a22a018df4 update core readme with obbject 2023-08-14 16:59:20 +01:00
Diogo Sousa
9b5f962d19 add description to OBBject 2023-08-14 16:57:35 +01:00
Theodore Aptekarev
cf646df6b9 Add pydocstyle to v4 pre-commit hook (#5322)
* Add pydocstyle pre-commit hook

* Fix regex vs glob field value

* Add pydocstyle linting github action

* Fix pyproject.toml syntax for pydocstyle to work

* Remove pydocstyle from GHA
2023-08-14 16:42:56 +02:00
Pratyush Shukla
76ea5f3975 Fixed Fetcher functions 2023-08-14 20:05:42 +05:30
Pratyush Shukla
bd98a61b93 OBBject properly 2023-08-14 20:00:48 +05:30
Pratyush Shukla
8b563c2627 Revert "bye obbject tests @hjoaquim"
This reverts commit 5a01c7eb7f.
2023-08-14 19:58:34 +05:30
Pratyush Shukla
5a01c7eb7f bye obbject tests @hjoaquim 2023-08-14 19:51:45 +05:30
Diogo Sousa
8bc7169f2e small fix on yf stock_eod 2023-08-14 14:11:11 +01:00
Pratyush Shukla
9770f02947 Added the yfinance provider 2023-08-14 17:57:07 +05:30
Pratyush Shukla
d7e7107d5a Added standard_models courtesy @deeleeramone 2023-08-14 17:55:38 +05:30
Pratyush Shukla
19a47c80fd merged cboe provider from @deeleeramone 2023-08-14 17:41:08 +05:30
Igor Radovanovic
0a9aa8ceb4 Add DocstringGenerator unit tests 2023-08-13 22:55:43 +02:00
montezdesousa
f8c26ff1c6 rename type var 2023-08-13 15:23:47 +01:00
Pratyush Shukla
a058e91bb3 Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-08-11 20:30:50 +05:30
Pratyush Shukla
f850994de4 CommandOutput to Obbject 2023-08-11 20:30:46 +05:30
Igor Radovanovic
bd1bca653e Revert "Convert all return fields to snake_case"
This reverts commit bec1a53202.
2023-08-11 16:59:07 +02:00
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