Commit Graph

1008 Commits

Author SHA1 Message Date
montezdesousa
3e89ce3ab3 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-18 11:00:52 +01:00
Danglewood
a6e66f7a73 hotfix/fix-stocks-search-sdk3: Fixes the stocks search so that it doesn't print_rich_table() for SDK. (#5329)
* fixes the stocks search on SDK so the ticker symbol is returned.

* export data

* unused argument

* fix test

* more test fixy

* test_print_help.txt
2023-08-17 16:25:13 +00:00
Henrique Joaquim
ab6c8f4804 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-17 09:40:02 +01:00
James Maslek
2b2ccacbbe more tests 2023-08-14 11:52:14 -04:00
James Maslek
f4460fbf18 tests 2023-08-14 11:40:39 -04:00
James Maslek
889a986b07 pylint + test 2023-08-14 10:47:29 -04:00
James Maslek
c000c6e3cc Merge branch 'release/3.2.1' into hotfix/macro-routines-to-hub 2023-08-14 09:39:46 -04:00
DidierRLopes
c40c3f7529 Creates a "--dev" flag that points to dev backend for testing with hub (#5319)
* check that routine title is valid

* more updates

* small fixes

* override local routine

* more improvements to routine logic

* --debug runs .dev

* few more updates

* small fix

* rename BASE_URL from ultima to ULTIMA_BASE_URL

* use debug from dataclasses instead of env since env doesn't get updated

* create --dev flag that can point to .dev backend

* merge conflits

* few changes, made it actually work 🤣

---------

Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-08-13 23:20:07 -07:00
Igor Radovanovic
744a30ca74 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-10 19:37:03 +02:00
James Maslek
f4cdc3d432 Merge branch 'develop' into release/3.2.1 2023-08-09 17:41:30 -04: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
James Maslek
e122a0bb55 fix wsb/deprecate spacc 2023-08-08 14:41:40 -04:00
Igor Radovanovic
af04b4ca88 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-08 13:55:00 +02: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
Henrique Joaquim
dbc6751843 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-04 07:37:11 +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
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
Henrique Joaquim
2066d7d4be Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-02 05:37:20 +01:00
teh_coderer
ae91a3f9b9 Hotfix economy/overview rates displaying as dates (#5269)
* fix: `economy/overview` rates displaying as dates

* Fix Test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-01 16:05:29 +00:00
Theodore Aptekarev
21c69a510f Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-31 20:17:30 +03:00
Danglewood
d212a8e270 hotfix/gdp-units - better GDP units (#5262)
* better GDP units

* mypy

* remove not needed dict

* test_oecd_view.py

* test_oecd_model.py
2023-07-31 16:05:22 +00:00
Henrique Joaquim
27e1728027 Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-27 15:04:19 +01:00
montezdesousa
41d1359202 Check token expiration before request (#5255)
* check token expiration before request

* move to jose instead

* ruff

* Reqs

* update requirements files

* Print expiration time on login

* console.print

* too fast, let the token expire...

* fix create token date

* point expired key to hub

* hard code tokens, works?

* ok it passed

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-26 19:28:36 +00:00
OpenBB
5f9d07c390 black 2023-07-24 17:38:47 +02:00
OpenBB
d4f4d9fc91 fix assertion error with test_economy_controller: test_menu_with_queue[queue0-expected0] 2023-07-24 17:38:47 +02:00
OpenBB
a3427b0557 fix test_economy_controller 2023-07-24 17:38:47 +02:00
OpenBB
f113fc27e3 put spaces in columns for econ/performance and valuation and make sortby work 2023-07-24 17:38:47 +02:00
OpenBB
2b1e04679c fix Finviz screener Perf 1Y returning as 1970-01-01 2023-07-24 17:38:47 +02:00
OpenBB
7121abf7d6 rename 1Year column to fix returning as 1970-01-01 2023-07-24 17:38:47 +02:00
OpenBB
d85cae6193 fix windows int overflow economy/edebt 2023-07-24 17:38:47 +02:00
Danglewood
31f595bc99 update test_get_floor_price 2023-07-24 17:38:47 +02:00
montezdesousa
1453885ab4 add public routines flag (#5236)
* add public routines flag

* Spelling

* mypy

* Tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-24 13:22:47 +02:00
OpenBB
b5cee74fde black 2023-07-22 12:02:06 -07:00
OpenBB
1efbbba6cf fix assertion error with test_economy_controller: test_menu_with_queue[queue0-expected0] 2023-07-22 11:59:37 -07:00
OpenBB
563b4cbbdd fix test_economy_controller 2023-07-22 11:53:21 -07:00
OpenBB
3f3c61ab00 put spaces in columns for econ/performance and valuation and make sortby work 2023-07-22 11:06:21 -07:00
OpenBB
68239df094 fix Finviz screener Perf 1Y returning as 1970-01-01 2023-07-22 09:57:51 -07:00
OpenBB
adcaadf261 rename 1Year column to fix returning as 1970-01-01 2023-07-22 09:22:46 -07:00
OpenBB
c70a990900 fix windows int overflow economy/edebt 2023-07-22 09:01:40 -07:00
Danglewood
bb7889af07 update test_get_floor_price 2023-07-21 22:30:11 -07:00
montezdesousa
d6bc45d046 add public routines flag (#5236)
* add public routines flag

* Spelling

* mypy

* Tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-21 16:26:31 +00:00
Henrique Joaquim
ac771cf14a Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-21 09:42:10 +01:00
James Maslek
87b5bdb521 Release Cleanup (#5233)
* turn hold off when run even if no figure

* Add warning text to PlotlyTA

* better wording

* fixes #5232

* Fix askobb + updaate reqs

* bump requests

* Couple other bumps

* Here we go with the mac builds

* That wasn't right

* Not gonna have a good time today

* Previous miniconda

* did that wrong

* Wrong version

* ?

* installer-url instead

* 3.1 not 5.1

* CONDA UPDATE

* Revert the mac builds

* Run poetry lock and update some packages

* bump poetry on unit test

* Fix one test

* Add vanilla 3.11

* Fix issue on runner

* One last try

* Remove windows conda :D
2023-07-20 22:26:05 +00:00
James Maslek
8b007785a1 Adds a matlab like hold on to plot on same axis (#5173)
* definitely not juan walking me through everything

* trying to pretty it

* start doing same axis with hold

* actually do the sameaxis correctly

* Better docstring

* Fix mypy

* mypy3

* pylint fixes

* Add message about candle

* might work, might now

* Update stocks_controller.py

* Update plotly_helper.py

* Update plotly_helper.py

* Make fmp view legends nice

* Update helper_funcs.py

* Add custom legends for when hold on

* bigger font

* add colors to new axes

* add custom title, remove location

* Start guide.

* Update plot-holds.md

Add figures

* More words

* Update plot-holds.md

* Finish guide

* tests

* Sneak in test updates for release

* guess not sneak test

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-07-19 23:29:24 +00:00
Theodore Aptekarev
04d5cb1e16 Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-17 16:51:00 +02:00
James Maslek
830159f718 Update treasury command to get directly from fed (#5215)
* Update treasury command to get directly from fed

* test

* Fix the codespell lint

* Mypy

* help text

* mypy + askobb update

* pylint now

* Fix #5190

* Fix report

* ruff life

* Fix #5172

* economy report titles

* Make the chart nicer
2023-07-14 17:33:31 +00:00
teh_coderer
281799f047 hotfix / improve autoscaling/dynamic loading, fix forex candle charts, equity reports (#5183)
* improve autoscaling/dynamic loading, fix forex candle charts

* updates

* Update plotly_helper.py

* fix?

* fix table date sorting, localize forex load

* tests

* tests?

* ugh tests

* Update test_display_debt.txt

* Update test_get_debt.csv

* Update forex_helper.py

* close #5182

* fix `crypto/dd/info` tables not loading due to `dict` object in dataframe values

* Update parent_classes.py

* tables: show full value on hover, fix year only filtering. on reset use queue if logged in

* lint + first batch of test fix

* tests pt2

* Tests v3

* Pylint

* typo

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-14 14:46:01 +00:00
James Maslek
52c560d414 Close 2 stocks fa issues with polygon (#5217)
* Fix #5190

* Add quarterly back to polygon cash flow

* Add some to stocks statics

* lint

* Fix tests + balance all of a sudden not working
2023-07-14 14:27:04 +00:00
Igor Radovanovic
4629a47cac Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-14 16:26:52 +02:00