James Maslek
2bac506dd4
fixing more tests 2
2023-10-02 16:43:23 -04:00
James Maslek
934e9e6828
Release 3.2.3
2023-10-02 13:34:55 -04: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
OpenBB
3f3c61ab00
put spaces in columns for econ/performance and valuation and make sortby work
2023-07-22 11:06:21 -07:00
OpenBB
c70a990900
fix windows int overflow economy/edebt
2023-07-22 09:01:40 -07:00
teh_coderer
979930b9e8
feature / Refactor Interactive Charts to React ( #4941 )
...
* init
* fix tables
* add shortcuts
* handle svgs
* test
* test2
* test3
* Update loggers.py
* Update sdk_helpers.py
* Update loggers.py
* Update loggers.py
* updates
* updates
* update
* handle add text high/low for candlestick traces when updating
* adding save overlay to tables
* maybe fix
* prints
* asdf
* working
* working
* removing prints
* update
* fix no figure title text
* add trace labels space
* download finished popup for MacOS
* bump pywry
* update
* update table
* Update plotly_helper.py
* only format numbers over 10_000 on tables
* Delete generate_index.py
* turn off logs in generations
* update tables
* bump pywry, fix tables, added ichimoku ta indicator
* Update backend.py
* mypy
* update tables
* updates
* juan more
* tables
* test
* bump pywry
* bump pywry
* Update loggers.py
* test
* fixing some formatting
* add update button to indicators dashboard
* fix oecd dates to be full dates
* prepare charts/tables for pywry update
* Update poetry.lock
* Update finviz_view.py
* tests
* tests
* tests
* tests
* testss?
* tests
* Create test_call_func[call_sec-nasdaq_view.sec_filings-other_args37-called_with37].yaml
* testtss please
* Update loggers.py
* testss
* `with open(newline="\n")`
* tests
* tests -__-
* why
* Revert "`with open(newline="\n")`"
This reverts commit 554e0f53f4 .
* Revert "why"
This reverts commit 89f1d9b823 .
* Revert "tests -__-"
This reverts commit a9c694ae96 .
* Revert "tests"
This reverts commit 5463249498 .
* whelp
* .
* rename `streamlit.py` -> `streamlit_run.py`, bump pywry/finviz/streamlit
* Update backend.py
* update
* Revert "update file"
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-05-11 17:38:12 +00:00
Danglewood
4743e571b8
patches economy/edebt and updates tests ( #4981 )
2023-05-08 08:10:02 +00:00
jose-donato
dbd466d381
New table design ( #4485 )
...
* fix: new table design
* fix: added trillions
* fixing some raw data
* fix: trying to fix global+resize
* feat: improving design
* fix: new styling and lot of reorganizing
* title fix
* feat: new html
* fix: bottom bar
* fix: table dates
* fix: table html
* fix: new filtering
* fix: new filtering
* fix: long
* Lint
* Lint again
* fix: beautiful james suggestions
* fix: some more fixes
* fix: typo
* fix economy bug
* feat: added toast to notify user and some more cleanup
* fix: more issues
* tests
* fix: james updates
* fix: added banner to charts as well
* fixing title
* better fix
* feat: added column resizing and any number of columns
* auto column width - poc
* feat: added colors toggle, support to display source, fixed some more issues
* fix: table deploy
* fix: table issue
* fix header
* fix: some fixes
* fix: remember pagination and default pagination to 30
* mypy
* Colins tests
* Fix economy test
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: teh_coderer <me@tehcoderer.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2023-03-23 16:45:46 +00:00
Jeroen Bouma
6b4f0ad6da
Add new functionality to measure country performance ( #4514 )
...
* Add in new country parameters
* Add in tests corresponding to the new commands
* Update SDK and some more robustness
* Update tests
* Update tests
* Revenue and spending didnt work, then saw spending has many more options
* Small bug
* Update tests and overall improvements
* Forgot to add ccpi
* Make more efficient
* Update tests
* Fix IDX issue within real gdp
* Add quarterly flag to fgdp
* Add integration tests
* Update tests
* Fix SDK and related bugs and fix CPI for SDK
* Zzzz tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-03-20 15:21:58 +00:00
jose-donato
40cfe8148d
Interactive tables using react ( #4386 )
...
* feat: experimenting tables with react
* feat: adding new interactive tables
* feat: adding more table features
* small changes
* update
* Update backend.py
* Update backend.py
* fix: dark mode?
* feat: lot of table improvements
* fix: my b
* fix: load only when prod
* feat: naive detect links and dates
* handle index and column names
* increased min width
* codespell
* mypy, pylint
* fix: added new chart, export, etc
* testing
* updates
* fix : add PLOT_OPEN_EXPORT, USE_INTERACTIVE_DF to user dataclass
* bump pywry version, readd removed `plots_backend().start()`
* req files
* Update unit-test.yml
* Update unit-test.yml
* Update unit-test.yml
* updates
* fixing some date things
* update table
* fix formatting with timezones
* fixing some long prints and tables
* Mickey Mouse
Co-authored-by: teh_coderer <tehcoderer@users.noreply.github.com >
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com >
* fix: ?!?!?
* adding limit arg to all print_rich_table
* tests
* lint
* simple by Default on interactive charts
* playing with some css (thks jose)
* Fix #4426
* Edit some structure
* fix sdk generation
* Update backend.py
* fa menu tested and working
* fix #4460
* fix #4460 drop indices
* update tests
* update tests
* Update helper_funcs.py
* tests
* Update unit-test.yml
* Update etf.ipynb
---------
Co-authored-by: teh_coderer <me@tehcoderer.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
Co-authored-by: teh_coderer <tehcoderer@users.noreply.github.com >
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-03-13 17:50:48 +00:00
teh_coderer
94e2b33802
hotfix/economy-charts ( #4387 )
...
* fixes
* missing dropna on economy models, bump pywry version to override download path
* Update backend.py
* tests
* fix rare instance CHART_DIV is undefined if pywry window loads too fast
* add warning of pywry version due to json keys change
* pylint
* Update fred_view.py
* Update fred_view.py
* Update plotly_helper.py
2023-03-02 22:30:16 -05:00
james
d9b20a2ef1
ur welcome <3
2023-02-27 21:38:00 -05:00
jeroen
6d3fc04a64
Introduce CPI functionality
2023-02-28 02:30:31 +01:00
Peter Oroszvári
4c80b75591
Fix incorrect column label in nasdaq_model.py ( #4063 )
...
* Fix incorrect column label in nasdaq_model.py
'Time (GMT)' changed to 'Time (ET)'
* Update tests
---------
Co-authored-by: petycomppety <30414255+petycomppety@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-01-30 09:57:18 -05:00
Henrique Joaquim
3518ca40fb
openbb.economy.fred_ids to always return dataframe (#4058 )
...
* Fix plot look when using eval and add query to choices (#3881 )
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905 )
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f .
* returning always a dataframe
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2023-01-27 13:14:28 -05:00
montezdesousa
86fd7ae426
Add multiple countries option to events ( #3938 )
...
* allow multiple countries in events cmd
* fix test
* fix last test
* black
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-01-13 19:10:20 -05:00
James Maslek
70d35ff598
Economic calendar ( #2936 )
...
* First push
* Second commit
* Comment out 'spread'
* list to List
2022-10-21 15:36:31 +02:00
Theodore Aptekarev
9a246dd76b
Refactor alphavantage commands in economy menu ( #2739 )
...
* Refactor economy alphavantage commands
* update tests and test data
2022-10-08 20:39:29 +02:00
Chavithra
72b0a9f1ee
Next release : reports on steroids ( #2349 )
...
* fix gov tests
* refactor insider
* new virtual path extraction
* removed some symbol default params as they're considered critical
* little adjustments
* portfolio refactor
* merge API factory
* add helpers, stocks, crypto, forex
* minor forex changes
* include forex api paths
* add 2 missing forex funcs
* portfolio brokers refactor
* display help on api func call
* add econometrics virtual paths to api
* add api unit test
* fixed report for the new api
* minor portfolio refactorings
* added gdapps
* anchor_yield path
* some more crypto path fixes
* small change
* fixed wrong param
* minor fixes
* wip - inital commit for forex report
* add bw as a model, we'll get better solution afterwards
* added ema with dummy model as it adds great functionality to the report
* minor fixes
* wip - added functions to forex report
* add feedparser news path
* add new virtual paths to api
* adding commands to equity report
* revert to old paths, new ones were breaking
* Add in very basic ETF report
* Add candle chart to ETF report
* add etf load
* allow use of candle without data
* add raw to candle
* added forex report
* ongoing equity report
* equity report change
* fix some portfolio bugs and add docstrings
* include portfolio paths and coin class
* add crypto paths
* change event dates to str
* starting economy report
* window for limit
* equity report and refactor newsapi
* add helper to api
* update on economy report
* equity report
* update economy report
* refactor some docstrings
* change maturities helper
* refactor newsapi
* refactor futures command
* add some sauce to ycrv plot
* black
* update report
* refactor alphavantage
* refactor wsj
* update economy report
* ycrv tenor
* map avaiable_indices
* map economy helpers
* fix econdb docstring
* add plots on economy report
* minor fixes
* wip - crypto report
* update economy report
* added same default args as view
* added view to explicity use chart=True when suing the api
* adjustments - removed rich tables to use only df
* final version economy report
* change report name
* equity report for review
* linting
* add etf symbols endpoint
* incorporate feedback economy report
* fix reports launch by adding tag to economy report
* fix equity bug
* remove analyst name
* fix
* fix news
* make links hyperlinks for equity
* click links
* fixed arg name
* improved news
* small improves
* Fix light terminal stylesheet that would prevent using it in notebooks (#2473 )
* improved report
* run reports in installer
* fix #2209
* minor ycrv refactoring
* refactor portfolio/holdv virtual path
* refactor benchmark trades
* fix events args
* adapt economy report to changes
* fix portfolio controller bug
* holdv refactor
* refactor perf command
* start portfolio report
* remove perf view
* refactor holp
* add textwrap3 to poetry (doesn't solve the error)
* fix equity after merge
* add some rolling commands
* fix equity after save button
* improved crypto report, plus minor fixes
* minor fixes on the reports
* add maxdd and distr
* refactor qa
* var command
* refactor qa expected shortfall
* add es command
* add es command
* fix qa percentile bug
* fix economy rendering
* refactor qa omega
* add om command
* add summary command
* add dret command
* add mret command
* add yret command
* add metrics
* add allocs to report
* remove bro and po commands, add later
* fixed some tests
* adjustments to crypto report
* Fix docstring for VSCode
Added a note about installing Jupyter PowerToys extension for optimal API usage in Jupyter VSCode, in the API_README.md.
* minor adjustment
* remove nft calendar model virtual paths
* Add in Portfolio report
* fix external axes portfolio view
* Update portfolio report with rolling plots
* Details for ETF and Portfolio
* fix economy report
* change analyst to openbb
* floppy
* fixed unmatched axis in reports
* Speed up tests
* fix file and load on po
* get_news output
* add some po paths
* Add integration tests for Reports menu
* refactor maxsharpe
* open maxsharpe
* open minrisk
* open maxutil
* open maxret
* Added fixes
* black
* remove useless views
* Fixed small issue
* refactor ef
* open ef api
* portfolio optimization report
* Added fixes
* unblock api loading
* add more endpoints
* update po report
* unblock api loading
* update po report
* expose herc
* expose property endpoint
* Added fixes
* More api fixes
* flake8
* Fixed some mypy
* news api model
* flake8
* mypy fix
* mypy
* black
* pylint
* fix tests
* markdown
* markdown
* Added fixes
* fix economy report
* merge
* fix economy report
* remove empty notebook
* expose nco
* remove jupyter notebook
* expose plot endpoint
* remove po report, just used for tests
* api v paths plot
* remove api_old
* change loading msg
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Om Gupta <guptagom@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: JerBouma <jer.bouma@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Om Gupta <85685255+soggyomelette@users.noreply.github.com >
Co-authored-by: Diogo Sousa <diogosousa@Diogos-MBP.lan >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com >
2022-09-20 15:07:58 +01:00
Chavithra
9e1a58e2db
Here we merge all API Refactor related branches ( #2236 )
...
* Update api.py
* Updated forex menu
* refactor ycrv command
* refactor ycrv command black
* refactor ecocal command
* Minh changes
* Adding space to test pushing
* title fix ecocal df
* get economic calendar annotation
* fix investingcom tests
* refactor index command
* refactor overview command
* give defaults to wsj view function args
* rename date args investincom
* refacto bigmac command
* fix ecocal typo
* refactor rtps command
* alphavantage gdp
* alphavantage gdp per capita
* alphavantage cpi
* alphavantage tyld
* alphavantage inf
* refactor macro command
* refactor macro command w helpers
* refactor treasury command
* fix macro on terminal
* treasury labels
* refactor maturities
* update treasury maturities doc strings
* refactor get economic calendar finhub
* refactor map command api
* display map filter choices
* route economy api to performance map
* route economy api to performance map
* display group choices on valuation command
* refactor performance and valuation commands
* refactor spectrum model and view
* add choices to spectrum controller
* delete image after view
* fix model tests finviz
* fix finciz view tests
* refactor futures
* fix some tests
* fix more tests
* fix controller test
* refactor fred series notes
* update fred notes docstring
* refacto fred series ids
* fix pred and qa when empty datasets
* refactor fred
* uncomment stuff
* refacto get series data
* fix some tests
* set defaults on args
* refactor fred yield curve
* black
* fix spell and remove ecocal names
* fix linting
* linting
* pylint fix
* change dangerous defaults
* Working through crypto fixes (#2256 )
* Working through crypto fixes
* Continued adding crypto stuff
* Added crypto overview
* Added test fixes
* Added fixtures
* Fixed tests
* Fixed charting issue
* Removed broken APIs
* Final adjustments
* Added test fixes
* map get groups and get ycrv countries into old api
* exposed econdb helper funcs
* remove helpers
* refactor search indices
* linting
* refactor arg currency
* pylint from currency
* Started switching crpyto ascending to ascend
* Merging
* Portfolio model arguements, params, and docstring
* Refactored for etf commands (#2292 )
* Refactored for etf commands
* Fixed tests
* Added load command
* Fixed menu
* Portfolio logic fixes
* Added econometrics (#2260 )
* Added econometrics
* Fixed tests
* Simplified API
* Added test fixes
* Added test csv
* Allowed examples to be loaded
* Fund refactor (#2291 )
* Fund refactor
* Changed fund_name and fund to name
* Changed ascending to ascend
* Stock menu refactoring for easier API usage (#2194 )
* Stocks refactoring for easier API usage
* Linting
* Refactor newly added features
* Linting
* Fixing tests
* Refactor common files used by stocks menu
* Fixing flake8
* Fix linting and tests
* Linting
* Fix flake8
* refactor insider_data
* refactor mentions
* refactor watchlist
* refactor sentiment
* refactor sentiment
* fix yahoofinance tests
* refactor load and candle
* refactor get_news and display_news
* refactor stocks.ins.act
* candle default matplotlib
* fix yahoofinance_view tests
* fix ark model tests
* fix ark view tests
* fix business insider model
* fix business insider view
* refactor csimarket model
* fix tests csi market model
* update dd controller
* fix get suppliers tests
* fix dd controller tests
* fix finhub tests
* fix finviz tests
* fix fmp tests
* fix marketwatch tests
* corrected argument keywords in test_bt_model
* corrected argument keywords in test_bt_view
* refactor fa controller
* refactor marketwatch view
* refactor gov controller
* fix tests fa av
* fix tests elect
* fix dcf tests
* fix polygon tests
* fix fmp tests
* fix quiverquant tests
* fix yahoofinance fa tests
* fix more fa tests
* fix insider tests
* fix more tests
* fix more tests
* fix options tests
* fix stock gov tests
* fix tests test_ba_controller
* fix tests for test_finviz_compare_model.py
* fixed 2 tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fix final tests
* fixed tests
* fixed tests
* Fix tests
* black
* forgot to black tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* flakefix
* Tests + code : Stocks / Discovery
* fix tests
* added recorder
* fixed tests
* fixed tests
* black
* black
* remove unused imports
* refactor display raw
* sia dicts fix
* pylint
* linting
* remove dangerous default
* fix tests
* fix beta model test
* black
* skip screener qa test
* change sector path to sectors
* update tests readme
* fix metric defaults
* black
* substitute lost ticker
* defaults cpic
* another round on sia
* refactor cramer
* reduce default tweets on sentiment
* refactor yf hist, corr, volume
* arkorders default
* refactor income, balance, cashflow
* refacto scorr, screener, getfinnhub
* refactor stockgrid
* ibkr refactor
* another round on stockgrid
* add dividens end point
* refactor discovery endpoints
* update docstrings with similar input
* refactor messages
* refactor ba
* refactor regioons
* refactor twitter sentiment
* refactor hist
* refactor regions
* give default to timeframe
* refactor bunch of defaults and arg names
* remove leftover imports
* refactor vwap
* let tests run
* fix tests
* fix stock tests
* fix stockanalysis tests
* flake
* MYPY
* Made important changes
* added fixes
* Fixed big issue
* Added fixes to tests
* fix qa tests
* fix tests
* fix 1 more test
* last stocks failing
* fix crypto test
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
* fix portfolio tests
* change period to window
* update ca docstrings
* refactor get_similar_companies func
* Fixed
* Update CI
* Update CI 2
* Update CI 3
* Update dependencies
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: James Simmons <simmonsj330@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2022-08-17 15:28:54 +01:00
jmaslek
b71abcfbf4
Updating some names ( #1575 )
...
* quick econ fix
* black
* keys and feature flags
* terminal name 👀
* some more replacements
* some more replacements
* edit pyproject
* gst -> openbb
* add example portfolios back to git
* Update api from gst
* sorry. skipping some tests
* another round of names
* another round of test edits
* Missed some .gst refs and update timezone
* water mark stuff
* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS
* fix more GST to OpenBB Terminal
* Logging : merge conflicts with main
* Revert wrong files
Co-authored-by: Andrew <andrew.kenreich@gmail.com >
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-03-29 09:46:26 -04:00