teh_coderer
98ec2959f0
Hotfix/ table fixes ( #4848 )
...
* Update helper_funcs.py
* init
* Update test_display_cashflow_comparison.txt
* Update test_display_cashflow_comparison.txt
* fix copy paste fail
* Update helper_funcs.py
* Update backend.py
2023-04-21 18:10:53 +00:00
Igor Radovanovic
50a20aeaf1
Fix mocking ( #4577 )
...
* fix mocking
* run tests?
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2023-03-24 13:20:07 +00:00
teh_coderer
0e0069eb97
Feature/In-Chart Volume, Streamlit TA Indicators ( #4467 )
...
* init
* rename `add_stock_volume` to `add_inchart_volume` in OpenBBFigure class
* ruff
* poetry lock, req txt files
* fix: ma indicator not in list, connectgaps=true for subtickers
* improved forecasting streamlit
* added past_cov_legend next to explainability plot
* Update base.py
* updates
* Remove deprecated currencies dashboard and it's dependency
* Revert import statement deletion
* Lint docstrings and delete unused assets
* Fix forecast voila dashboard
* Fix futures voila dashboard
* Remove broken crypto prices dashboard
* Remove vsurf dashboard because of over-verbose yfinance error messages
* Fix chains dashboard chart title positioning
* Remove i18n entries for deleted dashboards
* streamlit cmdline fix for macs/conda
* Update reddit_model.py
* mypy, fixed removed `load_dotenv_and_reload_configs` in `website\controller_doc_classes.py`
* readded rust install on CLI for linux in case cache gets cleared
* Update forex_helper.py
* Update test_load[60-YahooFinance].csv
* Update test_call_func[call_sec-marketwatch_view.sec_filings-other_args37-called_with37].yaml
* deps
* sdk generation tests, trailmap fixes
* Revert "sdk generation tests, trailmap fixes"
This reverts commit 2575784a33 .
* Revert "Revert "sdk generation tests, trailmap fixes""
This reverts commit 5cb0ce030b .
* improve ta-multi, add title/legends to fred_view
* Update ta_controller.py
* ruff
* Update helper_funcs.py
* Update yfinance_view.py
* Update helper_funcs.py
* change executable parent paths to REPOSITORY_DIRECTORY
* fix distorted candlestick plots when freq is weekly/month, fix demark
* fix yaxis click handler
* Update popups.js
* Update popups.js
* Update popups.js
* Update volatility_plugin.py
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2023-03-21 21:47:29 +00:00
James Maslek
afa9d6cd6c
Update dev deps ( #4440 )
...
* Update dev deps
* Merge and update
* I guess pywry needs to be pinned smh
* Bump ruff
* pre commit
* mypy
* This is what I get for no verify
2023-03-17 14:06:20 +00:00
montezdesousa
b19dc5205d
Remove matplotlib references ( #4479 )
...
* remove theme refs
* will come for dtabento later
* remove theme refs except databento
* ruff
* remove mpl variables
* mpl still used in po
* move databento to plotly
* pylint
* ruff
* theme ref to openbb_terminal
* juans sugg
* fix: removed raw arg in `display_candle` which could return the dataframe and error, added figure to `export_data`
---------
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-03-15 14:25:59 +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
montezdesousa
475ebb5acd
[WIP] Migrate user, feature flags and configurations to dataclass ( #4309 )
...
* implement user and change is guest
* replace User methods
* move remaining functions to user
* fix bug
* portfolio test
* fix tests
* fix tests
* uncomment skip
* ruff
* start credentials model implementation
* change deault structure
* refacto quandl
* change default struct and file names
* bug
* start using global user
* add comments
* move update flair
* change cfg references in keys model
* reddit & fmp
* refactore additional keys
* remaing config keys
* remove unsude imports and fix hub keys
* ruff
* fix line too long
* unblock unittests
* fix keys model tests
* remove os patch
* fix account controller tests
* fix account controller tests
* fix account model
* account fixed
* fix user tests
* User Model
* User Model
* User Model
* Move session folder
* User Model : grouping the models
* User Model : fix bugs
* Config Plot + bug fix
* User Model : Refactoring plots
* Feature flags
* Remove dup
* clean comments a fix some vars
* fix feature flags controller
* refactor obbff from settings controller
* refactor a bunch of obbff variables
* fix bug blocking terminal
* fix integration tests
* refactor controllers with obbff
* refactor remaining ffs
* remove comments
* log not started
* mispelled variable
* set current user on local model
* User Model : moving files + updating
* User Preferences
* User : Refactor is_guest function + bug fix
* User : refactor is_guest function
* Fix conftest.py
* remove lost obbffs
* typo on fileoverwrite
* Plot config: move variables and start plot dpi
* User : tests
* refactor plot dpi references
* remove plot dpi imports
* refactor some config terminal leftover
* /account/sync : fix bug
* remove configs reload
* start path refactor
* installation paths vs user paths
* remove cfg_plot
* Tests : User Refactoring
* user prefix only for preferences
* user prefix only for preferences
* move user paths
* remove comment
* update apply remote configs
* fix tz not updating
* save some copys
* small fix
* create interface for credentials and preferences
* wrong docstrings fixed
* ruff core
* fix some pref setting
* login is better
* ruff
* ruff
* remove Literal
* add small comment
* Tests : User Refactoring
* Credentials Model : add DataBento
* Fix helper_funcs
* Fixing code
* Tests : fixing
* User Model : freezing the models
* Fixed Income + Databento
* Tests : fixing keys
* black
* ruff
* Tests : user model
* Tests : user model
* Fix linting
* Fix linting
* Linting
* Linting
* Fixing code and tests
* Fix tests
* mypy
* SDK
* Clean ruff cache
* Fix syntax issue
* Update fred_view
* Black
* Linting
* Update code
* Update tests
* Linting
* Linting
* Tests
* Black
* Linting
* Linting
* Mock os.listdir to avoid looking for file that doesnt exist
* Mock options paths
* lint
* Tests : fix
* Code : update
* Tests + Linting
* Tests
* Ruff
* Code : update
* Tests
* Code : update
* Fix workflow
* Code : update
---------
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-03-05 00:37:19 +01:00
teh_coderer
602cfa2c8c
[POC] Plotly Backend ( #3941 )
...
* Update portfolio_view.py
* mypy 1.0 test
* Update helpers.py
* black
* ruff
* Update thought_of_the_day.py
* isort
* Update portfolio_view.py
* Update business_insider_view.py
* funds,bt,ca,fa view updates
* economy,etf,futures view updates
* econometrics regression
* mypy
* reports notebooks, PlotlyTA class adjustments, crypto finbrain view
* crypto views updates
* crypto views done?, ba, econometrics, funds, reports
* update docstrings
* Update sec_view.py
* portfolio reports
* Update equity.ipynb
* ruff
* mypy + equity reports
* Update yahoo_finance_view.py
* Update economy_controller.py
* clean up returns
* mypy
* finished dashboards/reports templates
* update some tests
* Update common.py
* Update account_controller.py
* Update banner.txt
* update tests
* tests
* Update helpers_denomination.py
* tests
* tests
* finished tests, refactor add_histplot/add_corr_plot
* ruff
* Update backend.py
* mypy
* Update backend.py
* pywry linux libs for tests
* pywry version bump
* OpenBBFIgure import changes
* Update business_insider_view.py
* Update backend.py
* tests
* bump pywry version
* forecast plot_explainability converted to plotly
* Update helpers.py
* tests
* Update helpers.py
* tests
* Update helpers.py
* Update helpers.py
* default plotly annotation `showarrow` to false
* Update backend.py
* fixes
* Update poetry.lock
* docker
* Update openbb.dockerfile
* up
* Update style.css
* bump pywry version
* Update unit-test.yml
* Update unit-test.yml
* figure to image/pdf export
* requirements txt files, pywry version bump
* mypy, pylint
* cleanup
* Update covid_view.py
* Update helper_funcs.py
* Update backend.py
* updates
* Update backend.py
* Update backend.py
* bump pywry version
* Update poetry.lock
* Update trailmap.py
* update reports
* Update custom_indicators_plugin.py
* Update momentum_plugin.py
* equity report
* reqs files
* Update fred_view.py
* ruff
* Update po_view.py
* bump pywry version
* reqs txt files
* fix installer icons for mac
* test updated torch/darts/pyinstaller on mac
* Update dashboards_controller.py
* Update terminal.py
* Update terminal.spec
* Update terminal.spec
* test
* Update poetry.lock
* Report adjustments, improved dashboard subprocesses termination
* pylint
* Update plotly_helper.py
* Update plotly_helper.py
* pylint
* revert darts
* test
* test
* fix
* improve shap scatter plot
* Update helpers.py
* Update helpers.py
* cleanup
* Update runa_view.py
* more cleanupp
* fixes
* update tests
* Update intrinio_view.py
* Update intrinio_view.py
* Update intrinio_view.py
* reqs files, poetry lock
* Update backend.py
* test for new icon
* Update fmp_view.py
* updates
* Update plotly_helper.py
* Update businessinsider_view.py
* ruff
* pylint
* fix previous merge
* Update plotly_helper.py
* update reqs files
* Update directories.py
* fix alt covid
* fix display_candle data is None load being unreachable, get covid views ready for sdk server
* Update covid_view.py
* refactor cleanup
* plotly_ta adjustments
* terminal wide ignore print_table if export
* Update plotly_helper.py
* forgot to save a few
* added edge case fallback if figures are in queue before backend fail
* Update ta_class.py
* Rename env variable name required to return plotly json
* Resolve pydocstyle warnings
* Resolve linting errors
* revert forecasting/pyinstaller versions
* Update terminal.spec
* finished incoming fixedincome menu, improve get_ecb_yield_curve speed with multiprocessing
* update deps
* Update backend.py
* fix fred model/view from switch to DataFrame, improve ecb_model
* Update config_terminal.py
* Update backend.py
* black
* clean up
* Update fred_view.py
* Update ta_class.py
* Update ta_class.py
* Update plotly_helper.py
* sync fixedincome
* Update ecb_model.py
* convert excel to csv for faster processing
* cleanup
* remove excel files
* Update terminal_controller.py
* update tests
* adjustments/missed figs in export_data
* Update cryptocurrency_helpers.py
* fixes
* account for volume column with no volume when plotting indicators , images autogen POC
* Update plotly_helper.py
* Update etf_controller.py
* Update etf_controller.py
* margin arg for export_data func figures, some plot adjustments
* logic for numpy array for plotly helper `get_dateindex` function
* cleanup
* update
* req file updates
* views
* Update backend.py
* update tests
* Update test_load_none[btc-usd].yaml
* convert merged cpi chart
* linting
* updates
* clean
* tests
* Update openbb.dockerfile
* remove test docker in root
* Update CONTRIBUTING.md
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Chavithra <chavithra@gmail.com >
2023-03-01 22:48:45 -05:00
Colin Delahunty
cebf454cdf
Added flake8-simplify ( #4227 )
...
* Added flake8-simplify
* Update linting.yml
* update. left 1 for you colin
* Fix that one
* Missed
* Fix
* mypy
---------
Co-authored-by: james <jmaslek11@gmail.com >
2023-02-20 19:27:34 -05:00
james
d73dfd3980
fixes for mypy 1.0
2023-02-08 19:14:25 -05:00
Jeroen Bouma
0ee2ebcf1e
Refractor stocks/fa by incorporating stocks/dd and making the menu less reliant on Yahoo Finance ( #4055 )
...
* I missed some sheet_name ones :)
* Move quote to main menu and combine yahoo finance commands
* Update stocks for quote
* First update to move yfinance away from main functionality
* Small updates
* Update tests to reflect changes
* Fix some little things
* Update docs a little too
* Remove the Due Diligence menu
* Update tests for new change
* Update fa and stocks with new text and move some stuff around
* Bye bye dd
* Pls work
* work..
* work..
* work..
* Work..|
* Add tests back in
* Remove tests
* Fix fix fix
* Remove tests to fix conflicts
* Improve the `stocks/search` command (#4084 )
* Improve search command
* Make it more intuitive
* Fix tests
* Update the docs
* Ok done
* Ok done 2
* Ok done 3
* Git update tests that failed
* Update commands with --sheet-name that didn't work (#4088 )
* Update commands with --sheet-name that didn't work
* Fix test
* oops
* Adds auto completion to `news` (#4089 )
* 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 .
* quick fix to auto complete args
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
* Hotfix/Windows-CLI (#4087 )
* init
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* oops
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
* Adds end date to `forex/load` (#4077 )
* 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 .
* adding end date to the forex load
* added some tests
* added example
* always show msg
* rewriting test
* updating tests
* updating tests
* Redo load tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
* Update tests to reflect changes
* work..
* Remove tests
* Fix fix fix
* Remove tests
* Update the whole test folder
* Small updates
* Revert change
* Update eodhd to reflect it requires a paid plan and update tests
* Fix all the tests
* Update tests
* Update integration tests
* Removing tests so no whining happens
* ADD ALL THE TESTS
* Fix linting
* gitignore. thanks jer
* Add back dd and redirect to fa
* Update to just display a message
* Update OpenBB SDK commands
* Fixing issues with exporting
* Fix ruff messing up
* Fix tests
* Fix the tests by disabling isort to run on tests folder
---------
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-02-06 23:24:15 +01:00
Colin Delahunty
ee34a1f278
Feature/add isort linter ( #4114 )
...
* Fixed isort
* Fixed issues
* FIxed linters
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-02-04 21:24:47 -05:00
kulbinder dio
3da198b36c
Linting changes
2023-02-01 17:41:21 +00:00
kulbinder dio
41da657ccf
format changes by black
2023-01-30 21:37:24 +00:00
kulbinder dio
f6a8803774
linting cleanup
2023-01-30 15:25:25 +00:00
kulbinder dio
66926d5207
tidy up menu command and add to SDK
2023-01-30 15:14:38 +00:00
kulbinderdio
f7c4473809
Merge branch 'develop' into feature/real_estate
2023-01-27 22:59:27 +00:00
James Maslek
eb2c11060d
Refactor requests throughout ( #4033 )
...
* bump
* Initial function write
* Delete this line from yaml
* Changed all the main things - Need help on tests
* pylint errors
* Tests v0
* Tests v1
* Tests v2
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2023-01-27 14:01:07 -05:00
kulbinderdio
24e2de67ce
Merge branch 'develop' into feature/real_estate
2023-01-27 17:31:05 +00:00
kulbinder dio
16c64e9316
Limit to rows returned and more use of default values
2023-01-27 17:16:54 +00:00
Jeroen Bouma
a6042b8578
Copy paste all the sheet names ( #4035 )
...
* bump
* Update ALL the exports with sheet name option
* Update contributing too
* Add in sheet name to each docstring
* Update tests
* Fix the small things for tests
* Converting CONTRIBUTING.md back since I put minimal changes in and it complains
* Fix terminal exit after `--sort p/e` (#4013 )
* fix scr sort exit
* rewrite unit test output
* rewind slash replace
* rewind slash replace
* fix regex
* rewrite expected scr tests
* black
Co-authored-by: James Maslek <jmaslek11@gmail.com >
* fix: small typo (#4036 )
* fix income comparison error (#4029 )
* Update tests due to yfinance error
* I broke tests and fixed them
* Fix tests?
* Missed a few sheet name additions
* missed one more
* Fix some missing sheet_name parameters
* Fix a test I broke
* Update tests due to changes with sheet_name
* Update stocks and common
* Mutual funds just because
* Portfolio update
* Update Forecast
* Update Futures
* Update ETF
* Update Economy
* Update Crypto
* Update others
* Update documentation to explain --sheet-name
* It should be None test
* Add None for sheet_name since empty string can result in errors
* Formatting
* Fix tests
* Update documentation
* Also update the image
* Add back to options commands
Co-authored-by: james <jmaslek11@gmail.com >
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-01-26 09:53:21 -05:00
kulbinder dio
5276606bd1
still trying to resolve linting issues
2023-01-16 19:55:22 +00:00
kulbinder dio
308b0a6add
still trying to resolve linting issues
2023-01-16 19:41:31 +00:00
kulbinder dio
fc43e62f39
and once more with black installed
2023-01-16 18:20:38 +00:00
kulbinder dio
e5856597fd
trying again to resolve linting issue
2023-01-16 18:15:06 +00:00
kulbinder dio
4cd7aeb803
more newlines for linting
2023-01-16 17:48:18 +00:00
kulbinder dio
403283f70c
newlines added for Linting
2023-01-14 23:15:14 +00:00
kulbinder dio
069dc21cc1
added newline to ends of files to pass Code Linting
2023-01-14 23:05:24 +00:00
kulbinder dio
230868345c
New functionality for UK Sold house price data
2023-01-14 21:49:05 +00:00
jose-donato
d9267da380
Adds command to check top hackernews stories ( #3841 )
...
* fix(docs): added margin between sections
* feat: added hn command
* fix: added log decorator
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-01-03 16:56:24 -05:00
jose-donato
2e2e5e2fb6
fix about command ( #3532 )
...
* fix(docs): added margin between sections
* fix: about command
* fix: about command to match new docs
* sdk aout
* fix: fix homepage
* fix: features -> reference on generate; about on homepage
* fix: juan magic
* update on merge workflows
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: teh_coderer <me@tehcoderer.com >
2022-11-25 18:42:07 -06:00
Colin Delahunty
87458c965d
Stocks Suggestor Repair ( #3477 )
...
* broken edition
* Fixed issue
* Update StockController
* Update choices generation
* Update parent_classes
* Update choices generation
* Update choices generation
* Update crypto_controller
* Update DefiController
* Update crypto/disc controller
* Update crypto/dd
* Update choices generation
* Update crypto : dd + nft
* Update crypto/onchain
* Update crypto_controller
* Linting
* Update crypto/ov
* Linting
* Update crypto/ov
* Update crypto/qa
* Update crypto/tools
* Update crypto/ta + dd
* Linting
* Update alt
* Tests fix crypto
* Update future
* Update futures
* Refactored through Options
* Tests + Linting
* finished stocks refactor
* Update stocks/sia
* finished stocks refactor
* Added fixes
* Added fix
* Tests
* Fix conditions
* Fix portfolio
* Prepare for merge
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com >
2022-11-21 17:54:26 +01:00
martinb-bb
2a084833a3
Fix for covid cases export ( #3447 )
...
* fix
* fixing export to have datetime as a column not index
2022-11-17 13:48:42 -05:00
Colin Delahunty
968ff588f0
Fix Bugs ( #3433 )
...
* Covid error handling and US country fix
* Added fix
* Added fixes to how tests work
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-17 08:56:37 -05:00
montezdesousa
02901f1473
Trim command output spaces ( #3424 )
...
* first round of removing spaces
* remove more print statemnts
* remove more spaces
* bullbear color
* spacc color
* improve stalker readability
* delete more spaces
* reddit colors
* rever hood
* flake8
* forgot this one
* fix econometrics tests
* fix econometrics tests
* fix more tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-16 11:47:24 +00:00
teh_coderer
59d8b36bb0
[IMPROVE] Fix Docstring formatting/Fix missing, incomplete type hints ( #3412 )
...
* Fixes
* Update stocks_helper.py
* update git-actions set-output to new format
* Update stocks_helper.py
* Update terminal_helper.py
* removed LineAnnotateDrawer from qa_view
* lint
* few changes
* updates
* sdk auto gen modules done
* Update stocks_helper.py
* updates to changed imports, and remove first sdk_modules
* Update generate_sdk.py
* Update generate_sdk.py
* pylint
* revert stocks_helper
* Update generate_sdk.py
* Update sdk.py
* Update generate_sdk.py
* full auto generation, added sdk.py/controllers creation
* missed enable forecasting
* added running black in subprocess after sdk files generation completes
* removed deleted sdk_arg_logger
* comment out tests
* property doc fix
* clean up
* Update generate_sdk.py
* make trailmap classes useable for doc generation
* Update generate_sdk.py
* added lineon to trailmap class for linking to func in markdown
* changed lineon to dict
* added full_path to trailmap for linking in docs
* updated portfolio
* feat: initial files
* feat: added meta head
* feat: added funcdef
* added func_def to trailmap attributes for markdown in docs, added missing type hints to covid functions
* feat: added view and merged with jaun
* Update generate_sdk.py
* Update generate_sdk.py
* Update generate_sdk.py
* Update generate_sdk.py
* init
* fix returns
* fix: random stuff
* fix: random
* fixed encoding issue on windows
* fix: generate tabs
* update
* Update generate_sdk_markdown.py
* Create .pydocstyle.ini
* added type hint classes for views
* fixes
* alt, ba
* alt-economy
* Update finviz_compare_model.py
* fixs
* Update substack_model.py
* Update generate_sdk.py
* last of my section
* porfolio
* po
* Update optimizer_model.py
* fixing more things
* few more
* keys done
* update
* fixes
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* mypy forecast fix
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* fixes
* forecast fixes
* one more fix
* Update coinbase_model.py
* Update generate_sdk_markdown.py
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: jose-donato <zmcdonato@gmail.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2022-11-15 16:37:49 -05:00
Henrique Joaquim
0ae89d6cc2
Style fixing: removing --ascend/--descend ( #3395 )
...
* stocks candle to use reverse
* qa raw to use reverse
* etf candle to use reverse
* oss rossix to use reverse
* crypto/defi to use reverse
* crypto/disc to use reverse
* added test
* crypto/dd to use reverse
* crypto/onchain to use reverse
* crypto/ov to use revert
* forex candle to use revert
* conibase controller to use revert
* tests to use reverse
* covid to use reverse
* removing ascend
* removing ascend from econ
* more removing ascend
* more removing ascend
* more removing ascend
* fixing stuff on .md files
* fixed economy controller tests
* fixed screener tests
* fa controller to use comma separated when multiple inputs
2022-11-14 15:04:34 +00:00
James Simmons
c8df2c39ce
Removing autocomplete for all limit ( #3322 )
...
* all limit fixes
* flake
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-10 13:13:48 -05:00
montezdesousa
cd420c51c7
New format for SDK documentation ( #3211 )
...
* example changes in slopes
* change lettering size and side bar capitalization
* revert back to Fira
* start automatic website generation
* this was autogen
* add examples to slopes model
* generate slopes doc
* change to _index.md
* allow italic formatting
* fix regex
* option to regenerate paths
* update alt docs
* fix generate
* update alt
* fix generate
* update common
* target italic only for types
* format alt
* format italic common
* add sig indentation
* update sig indent alt
* update common ident
* add todo
* generate docstrings for all menus
* fix maxdd
* fix returns font size
* fix keys docs
* fix more docstrings
* escape literal symbols
* escape literal symbols
* reformat keys
* format opt
* remove literal escape
* remove another literal escape
* remove another literal escape
* unindent returns
* update docs return unindent
* add comma in last arg
* fix funcs without params
* fix signature
* compact some code
* refactor some more code
* refactor some code
* some final cleanup
* write docstrings
* change main
* move futures paths
* generate futures docs
* add external axes references
* fix typo
* revert to double docstring
* fix small bug
* remove docs folder
* generate.py in website folder
* add forecast to docs
* clear some warnings
* fix underscore
* remove cite
* refresh website docs
* fix forecast docstrings
* fix po
* fix po docs and remove italic
* fix more docstrings
* remove last warning
* codespell
* flake8
* exclude website contente from flake
* noqa on optimizer
* update website
* fix mypy
* remove setup from mypy
* mypy to openbbterminal
* update precommit
* pylint
* try to remove sdk loading issue
* avoid logging on test
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-11-09 13:00:10 +00:00
Colin Delahunty
3e792d75de
Fixes Issues with the OSS Menu ( #3238 )
...
* Added docs and added auto suggest for country
* Fixes docs
* Added chavi fixes
* Reverted argument name change
* Added case fixing to countries
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-04 10:19:37 -04:00
James Maslek
9722c338cf
Spoooooky bugs - Futures menu ++ ( #3230 )
...
* Some futures cleanup
* #3141
* Fix #3146
* Add check to covid slopes
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-11-01 11:55:21 +01:00
Colin Delahunty
457671250d
Switches all multi input arguments to comma separation ( #2902 )
...
* Switched first narg to arg
* Finished converting first menu
* Finished converting menus
* Fixed tests
* Fixed webpages
* Error handling
* Added James fixes
* Allowing lowercase
* Temp
* Temp
* Fixed error message for multi word countries
* Fixed countries
* James fixes
* Docs fixes
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-10-25 11:35:52 -04:00
montezdesousa
cf9670303c
Populate model functions with check_api_key decorator ( #2755 )
...
* fred decorator
* fmp decorator
* quandl decorator
* reddit decorator
* polygon decorator
* twitter decorator
* news decorator
* tradier decorator
* cmc decorator
* binance decorator
* finnhub decorator
* iex decorator
* sentiment investor
* walert decorator
* glassnode decorator
* coinglass decorator
* cryptopanic decorator
* bitquery decorator
* smartstake decorator
* messari decorator
* github decorator
* santiment decorator
* eodhd decorator
* import check_api_decorator
* fix some decorators
* fix some decorators
* remove some decorator
* decorator fixes
* black
* mypy
* mypy again
* mypy again
* pylint
* decorator
* too many line
* fix fred ycrv
* mypy
* rewrite events test
* another try
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-10-12 17:36:49 +01:00
northern-64bit
28a0cfd2ee
Improved auto completion ( #2763 )
...
* Adding improved auto complete to all menus
* Improve autocomplete
* Done
* Linting : fix unused imports
* Tests : fix help messages
* Fixing typing
* Tests : forex
* Tests: stocks
* Stocks/TA
* Linting
* Stocks/insider
* Portfolio/Broker/Degiro
* Linting
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-10-11 16:07:24 +02:00
Theodore Aptekarev
63cc084b98
Clean up old api files ( #2752 )
...
* Clean up old api files
* Remove unused imports
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-10-10 00:27:55 +03:00
Colin Delahunty
6c0942898c
Fixes integrated tests for alt and economy ( #2655 )
...
* Fixes integrated tests for alt and economy
* Added fixes
* Added fixes
2022-09-28 16:18:55 +01:00
Colin Delahunty
fcf2330888
Added fixes ( #2643 )
2022-09-27 09:37:37 -04:00
Colin Delahunty
5bc7bc070e
Tests over API Best Practices ( #2344 )
...
* Started new tests
* Added special function
* Improved dict
* Finished new test
* Got bad functions to 75
* Got bad func to 73
* Bad func down to 60
* Bad func down to 50
* Bad func down to 35
* Got bad func to 30
* No more bad functions
* Added tests
* Added fix
* Fixed some tests
* Fixed some tests
* Fixed some tests
* Fixed some tests
* Added tests to CI
* Fixed CI tests
* Fixed CI tests
* Imrproved CI tests
* Fixed reports
* Fixed reports
* Added stuff
* Removed CI
* Fixed
* Fixed some typing'
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-22 22:31:46 +01:00
Colin Delahunty
8731fbd692
Auto Generate API Documentation ( #2360 )
...
* Started auto doc generation
* Created a markdown document
* Added test changed to md
* Created working version of new documentation
* Made requested changes
* Generate docs for all
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-20 19:15:54 +01: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