Commit Graph

998 Commits

Author SHA1 Message Date
Igor Radovanovic
744a30ca74 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-10 19:37:03 +02: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
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
montezdesousa
92027a6a0e Fix prompt typo (#5192)
* fix prompt typo

* Update banner.txt

* rewrite prompt on test

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-13 17:42:15 +00:00
teh_coderer
002a44b6f1 hotfix / Moving Averages Export (#5214)
* Update overlap_view.py

* tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-13 16:28:49 +00:00
Igor Radovanovic
148b373d9c Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-13 14:42:15 +02:00
Igor Radovanovic
c469ca3853 Fix income statement and lint 2023-07-12 14:11:25 +02:00
Igor Radovanovic
228ab0b529 linting 2023-07-12 11:51:46 +02:00
James Maslek
9ab1674604 Make some improvements to askobb (#5205)
* Edit txt files and generate docstore

* crlf -> lf

* Unused files
2023-07-07 18:50:58 +00:00
James Maslek
84f215d4bd Remove economy/rtps and stocks/ta/rsp (#5181)
* remove economy/rtps

* remove ta/rsp

* Forgot the sdk

* remove  from stocks/ta choices

* remove terminal ta intro reference

* remove sdk economy intro reference

* remove from integration tests

* delete gpt index txt files

* more .md files to remove

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-07-07 14:06:43 -04:00
Danglewood
8df31f8de4 feature/usd-liquidity-index: Adds USD Liquidity Index to Economy menu (#5174)
* add USD Liquidity Index to Economy menu

* mypy

* add screenshots to Terminal Economy Intro

* add test to test_fred_model

* add Broad US Dollar Index to list of comparables

* docs pages update

* fix test_nasdaq_model

* ask obb indexing

* return just the calculated series by default

* a grid for Squares

* raw table output

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2023-07-06 15:50:10 +00:00
Danglewood
598e745beb hotfix/fix-intrinio-load: (#5188)
* fix intrinio stocks load

* update test_stocks_helper

* makes --monthly --weekly work

* pytest

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-05 16:52:37 +00:00
Danglewood
b6b1fcd782 adds 6 new indices to the index list (#5185) 2023-07-05 13:24:18 +00:00