Commit Graph

1989 Commits

Author SHA1 Message Date
James Maslek
279850822d fix databento (#5287) 2023-08-07 13:10:21 +00: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
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
07537199af Move hub api keys ts (#5267)
* move hub api keys ts

* json instead

* update contributing.md

* Update all_api_keys.json

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2023-08-01 16:27:59 +00: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
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
teh_coderer
dc30ab3d36 Hotfix/ locking when deploying streamlit app (#5261)
* fix locking when deploying streamlit app

* Update streamlit_run.py

* Update streamlit_run.py
2023-07-29 02:13:42 +00:00
James Maslek
73348c0872 Fix issue where incorrect key for biztoc prints exception (#5257) 2023-07-27 15:09:03 +00: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
Danglewood
aca982e721 fix duplicated table (#5252) 2023-07-25 18:08:51 +00:00
James Maslek
43eb52734e Andrew reveiw after 9 months 2023-07-24 09:57:20 -04:00
OpenBB
02767ca733 ruff 2023-07-22 16:02:07 -07:00
OpenBB
4681dc785b fix trail map for crypto.price() 2023-07-22 15:56:20 -07:00
OpenBB
4643de665b codespell 2023-07-22 11:13:35 -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
46b23852d7 mypy 2023-07-22 10:09:35 -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
45b2ae2f0c fix display_floor_price 2023-07-21 22:15:42 -07:00
Danglewood
e5f5ca922c pylint 2023-07-21 21:42:40 -07:00
Danglewood
bd1c2a4a37 mypy 2023-07-21 21:32:04 -07:00
Danglewood
65bd1d92f9 nftpricefloor_view - fix integer division or modulo by zero 2023-07-21 21:22:08 -07:00
Danglewood
5107efeed7 fix integer division or modulo by zero 2023-07-21 20:55:59 -07:00
tehcoderer
e98021e9a0 limit rangebreaks 2023-07-21 20:45:07 -04:00
tehcoderer
290c5bc8d7 fix for economy treasury / usdli 2023-07-21 20:17:33 -04:00
tehcoderer
cd74832ded fix tables 2023-07-21 16:32:01 -04:00
James Maslek
1e25cd6e81 Merge branch 'develop' into release/3.2.0 2023-07-21 13:05:25 -04:00
James Maslek
3a322b831d Change 3.1 to 3.2 2023-07-21 12:57:21 -04: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
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
teh_coderer
41ef3d416f Hotfix/ improve tables/charts (#5228)
* improve charts, tables

* update

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-19 23:58:32 +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
DidierRLopes
1bfc4190e1 Update routine tags (#5221)
* Update routine tags

This updates available routine tags.

I added other topics than not OpenBB menus. Let me know if anything is missing.

@jmaslek @andrewkenreich @deeleeramone

CC: @Disorrder

* Update constants.py

* Update constants.py

* Update constants.py
2023-07-19 22:30:11 +00: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
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
Theodore Aptekarev
d3126b414a Get oanda back to forex sources to fix the menu (#5204)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-07 19:14:04 +00: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
martinb-bb
96727d49e9 [Update] bump langchain and llama (#5202)
* bump langchain and llama

* Pin scipy

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-07 14:50:40 +00:00
teh_coderer
77f34f54a2 Hotfix / Switch download_plotly_js to run in thread (#5203)
* change plotlyjs download to run in thread

* Update backend.py
2023-07-06 21:07:04 +00: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
be2af599da fixes random column header artifacts (#5199) 2023-07-05 21:03:47 +00:00
Danglewood
ee60f0efad feature/examples-optionsChains: Add Notebook example: optionsChains (#5165)
* update README.md with optionsChains

* uploads the notebook file

* fix nasdaq load

* Adds a cell for the IV skew smile

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-05 17:47:43 +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