Colin Delahunty
141dd68e68
Removed prints ( #5367 )
...
* Removed prints
* FIxed typing
* FIxed typing
* Fixed typing
* Fixed typing
* Fixed typing
* Fixed typing
* Fixed typing
* Fix
* Reverted stuff
2023-08-23 18:40:31 +00:00
Colin Delahunty
1ca7fd9beb
Improves the settings/userdata command, and upgrade ruff ( #5359 )
...
* Began the fax
* Bumped ruff
* Fixed a BUNCH of ruff errors
* Fixed a lot of ruff errors
* Simplify if statements
* Fixed black
* Updated some stuff
* Updated some stuff
* A lot more ruff fixes
* Added a fix
* Added a fix
* Fixed mypy
* Fixed some stuff
* Reverted one thing
* Small fix
* Small fix
* Small fix
* Added fix
* Added fix
* Update requirements
2023-08-22 20:11:48 +00:00
teh_coderer
e07a5a3826
hotfix/ Options Historical + Crypto candles ( #5064 )
...
* fix options/crypto candles
* fix streamlit indicators
* Update Indicators.py
2023-05-24 20:46:40 +00:00
Henrique Joaquim
aa08956489
changing default data source for crypto.load ( #4744 )
2023-04-12 14:40:43 +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
teh_coderer
d216d8df96
fix: added print_to_console arg to print_rich_table and fixed crypto performance opening in pywry window ( #4495 )
2023-03-15 20:15:57 +00: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
hjoaquim
aff28556db
changes the default data source for crypto.load
2023-02-24 10:55:11 +00: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
northern-64bit
1c84da9f16
Handle end_date with CCXT source when loading crypto ( #4296 )
...
* Handle `end_date` with `CCXT` source when loading crypto
* Fix linting
* Fix linting
* Improve code readability
* Final linting
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-02-20 18:41:59 -05:00
james
d73dfd3980
fixes for mypy 1.0
2023-02-08 19:14:25 -05: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
Henrique Joaquim
a37d9032e3
Hotfix/fix black ( #4101 )
...
* 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 .
* black everything
---------
2023-02-01 12:33:15 +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
montezdesousa
f34b474052
Fix integration tests bugs ( #3993 )
...
* fix tk
* fix newsletters
* fix lt
* exception on pir
* fix attrib bug and remove warning
* fix earnings
* fix ins, lt, whatif
* fillna
* fix vis
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-01-17 17:34:10 +00:00
Henrique Joaquim
af7334a6ef
Out of the box crypto report ( #3794 )
...
* working crypto report
* fixing news
* fixing the condtion's logic
* changed the load source
* added example
* trying to get rid of binance
2022-12-16 13:55:06 -05:00
DidierRLopes
0c89ee639b
One text was missing from en.yml ( #3568 )
...
* smallest fix in the world
* fixes test
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-26 11:41:10 +00:00
Henrique Joaquim
7a9cf08acc
Fix crypto candle ( #3558 )
...
* improve crypto.candle
* added raw and examples
* linting
* disable too many args
* format volume if in use
* consistency on dd.candle
* fixed tests as default arg changed
* fixed tests
* Revert "fixed tests"
This reverts commit fb7df62000 .
* Revert "Revert "fixed tests""
This reverts commit 8b568d24e5 .
* Revert "Revert "Revert "fixed tests"""
This reverts commit 04353b0d11 .
* Revert "Revert "Revert "Revert "fixed tests""""
This reverts commit a181e0acdc .
* fixed tests
* wrong branch
* removing changes
* getting rid of mutable defaults, also changed vs_currency to to_symbol - tks @montezdesousa
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2022-11-25 14:52:45 -05:00
Colin Delahunty
af0eb7b2b9
Forecast and Economy PR ( #3500 )
...
* Added fix
* Progressed on forecast, did economy
* Fix python 3.10 code
* Fix economy
* Update choices generation
* Fix economy
* Fix choices generation
* Economy fixes
* Added improvements
* Continued work on improving forecast
* Added fixes
* Continuing
* Got some fixes in
* Added fixes
* Added fixes
* Added fixes
* Added fixes
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-25 06:44:18 +01:00
James Maslek
649dd1d64b
Fix linter issue ( #3538 )
...
* Fix linter issue
* Didnt import optimization menu
* Fix some things for deployment
* openbbterminal -> openbb
* openbb
2022-11-22 20:40:44 -05:00
James Maslek
cfe41ef7a9
More sdk enhancements ( #3480 )
...
* Combine CA peers to smiliar command
* crypto/disc/top into one sdk function
* Exchanges into sdk function
* delete wrong platforms trail
* #3478 sdk crypto load
* Options hist 1 sdk function
* SDK functions
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2022-11-21 21:58:32 +00:00
Henrique Joaquim
976d5dfccc
Fix crypto 3327 ( #3434 )
...
* removed get_coinpaprika_id from the view
* reorganized a bit
* removed unused functions
* removed unused functions
* removed unused imports
* cleaning
* cleaning
* fix tests
* fix template report
* fix template report
* fixing imports
* fixing imports
* fix report
* fix report
* fix report
* fix tests
* small fixes after merge
* linting
* split find into view and model
* added tests for view
* add tests to model
* black
* unused import
* disbale import oustise top level
* removed view from sdk
* added example
2022-11-21 14:48:40 +00:00
Henrique Joaquim
c9be1155c2
Fix #3326 ( #3425 )
...
* removed get_coinpaprika_id from the view
* reorganized a bit
* removed unused functions
* removed unused functions
* removed unused imports
* cleaning
* cleaning
* fix tests
* fix template report
* fix template report
* fixing imports
* fixing imports
* fix report
* fix report
* fix report
* fix tests
* small fixes after merge
* linting
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
2022-11-16 14:13:21 +00: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
montezdesousa
46141766d7
Sdk dates ( #3354 )
...
* 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
* fix dates active command
* fix crypto.change formats
* fix eb formats
* nonzero fix
* format dates crypto.load
* format supply transac
* format hr altindex
* format load crypto
* regenerate docs
* format ba trend dates
* regenerate docs
* format ba trend
* candle defaults
* fix sentiment test
* remove unused import
* shopt
* shopt again
* revert crypto helpers
* test shopt
* fix some tests
* skip trending test
* fix alcoin test
* helpers
* write docs
* rewrite helper
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-11-13 11:37:14 +00:00
Gabriel Segatti
3641fcd83f
refactor: divide load() for each currency data source ( #3114 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
2022-11-01 12:05:55 +00:00
0xDareDevil
54c5016f01
Exception: variable coin referenced before assignment ( #2832 )
...
* Fixed variable referenced before assignment error in source Coinpaparika, Binance, Coinbase
* Changed argument name from query to coin
* Using query instead of coin
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2022-10-17 07:43:24 +02:00
Colin Delahunty
689223957e
Fixed crypto dashboard ( #2838 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-15 17:26:00 +01:00
0xDareDevil
56a587edb3
Big Fix: 2815. Updated if condition that was raising exception ( #2821 )
...
* Big Fix: 2815. Updated if condition that was raising exception
* Assign Coin to Query. This was raising an error
* Formatting change
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
2022-10-13 19:12:05 +01:00
James Maslek
8f9481f735
Mpf log ( #2774 )
...
* Add --log option to candle charts
* fix website
* aha! fix the scaling
* test
* Incorrect import
2022-10-11 15:15:46 +01:00
Colin Delahunty
eb82d95054
Fixed ccxt ( #2666 )
...
* Fixed ccxt
* Tells you when a bad source is sent
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2022-09-30 12:34:56 +02: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
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
Christian Clauss
335a7b9ede
com2ann: Convert type comments into Python type hints ( #2325 )
...
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* Placate pylint
* pylint: disable=unused-argument
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-05 12:44:13 +02:00
DidierRLopes
8edf079041
Big refactor to be explicit about data sources ( #2490 )
...
* refactor stocks datasources
* add rest of data sources
* add_cmd without source
* forgot one tiny thing
* fix crypto tests
* fix forex tests
* fix etf tests
* fix economy tests
* fix oss tests
* fix remaining tests
* fix tests
* Rewrote vcr files
* Take 2
* fix test
* fix tests for FA
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-04 18:04:56 +01:00
jose-donato
4399d06a78
Refactoring crypto load ( #2366 )
...
* refactoring load
* updated to match minh changes
* improved loading
* updated tests
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-08-24 10:10:16 +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
Jay M Gonzalez
9d6292c7fe
fix tokenomics error ( #2155 )
...
* fix tokenomics error
* fix tokenomics graph
* add tests
* add black command
* add test helpers
* add test helpers
* trying to fix tests
* trying to fix tests
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: jose-donato <zmcdonato@gmail.com >
2022-07-25 23:26:02 +01:00
jose-donato
045168e5a2
Updates crypto load docs to match last load refactor ( #2154 )
...
* fix load docs
* fix vol days
2022-07-24 15:06:56 +01:00
northern-64bit
5188884105
Crypto api fixes ( #1959 )
...
* Making pa active + pa minor features
Makes pa actice and adds country to the df. The groupby command also gets percents of holding allocation. It also fixes warnings and prepares for a later pr that I'm currently working on.
* Fix linting
* black linter
* Fixes
Should fix everything
* Linting
* Making pa controller to base class standard
* Fix linting
* Refactor API to accept Crypto Symbol as an input argument
* Crypto API fixes
* Fixes
* Linting
* Linting
* More linting
* Fixes
* Tests : cryptocurrency/helper
* Tests : cryptocurrency/glassnode
* Pytest : Cryptocurrency/due_diligence
* Pytest : cryptocurrency/discovery
* Pytest : cryptocurrency/due_diligence
* Remove not a needed function argument
* Linting
* Test fixes
* Fixing mentioned fixes
* Test fixes
* Tests: cryptocurrency/defi
* Fix linting
* Final test fixes
Co-Authored-By: Chavithra <6114398+Chavithra@users.noreply.github.com >
* Fix merge
* Linting
* Fixing error
* Linting
* Removed long link
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: Chavithra <6114398+Chavithra@users.noreply.github.com >
2022-07-06 13:08:32 +01:00
DidierRLopes
0517135bc9
Fix volatility of crypto ( #2039 )
...
* fix volatility of crypto
* fix wrong annual value being used
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-07-04 09:22:25 +02:00
soggyomelette
fe96ab2dd8
Fixes stock price and metrics in #1993 ( #1998 )
2022-06-27 20:58:54 +01:00
minhhoang1023
7c597befe2
Unify input arguments between Terminal and Crypto API usage ( #1942 )
...
* Refactor API to accept Crypto Symbol as an input argument
* Fix tests
* Fix tests 2
2022-06-25 00:02:07 +01:00
Colin Delahunty
e3daff2161
fixed crypto load ( #1981 )
...
* fixed crypto load
* Added fix
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-06-23 14:07:27 -04:00
jose-donato
0e03b9e9e4
refactoring load, changed chart to candle ( #1838 )
...
* refactoring load, changed chart to candle
* updating load
* refactor done, missing tests
* fixed chart
* refactor
* linting
* tests failing
* fix minh issues
* auto completion for load
* linting
* Tests : cryptocurrency/controller ; remove mocking of functions which are not used anymore
* Cryptocurrency/Controller : call_headlines ; fix bug
* Tests : cryptocurrency/controller ; mock function
* Tests : cryptocurrency/due_diligence ; fix expected output
* cryptocurrency/due_diligence ; mock functions
Co-authored-by: Chavithra <chavithra@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-06-09 13:25:33 +01:00
didierlopes.eth
2cb229f35e
Fix a bunch ( #1852 )
...
* spacing before and after rich tables
* fix menus to have standard UI
* fix tests
* fix tests
* fix tests
2022-05-21 16:57:39 +01:00
Minha, Jeong
2815f42a3c
patternize validation of axes count with typo fix ( #1781 )
...
* patternize validation of axes count with typo fix
* remove unused console import
* fix suffix_text arg name typo
* Black
* add docstring with typehint, fast return if true
* Common : ta > fixing import
* Portfolio : view fix
* Black
* Helper : simplify `is_valid_axes_count`
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-05-17 20:20:48 +02:00
alexferrari88
14a800d58d
Fix crypto loading for Binance #1794 ( #1795 )
...
Co-authored-by: Alex Ferrari <a.ferrari88@gmail.com >
2022-05-11 12:20:40 +01:00
Colin Delahunty
9068ad0124
Refactored Crypto Tests ( #1743 )
...
* Refactored tests
* Removed unused command
* Added tests
* Tests : remove cassettes files + add fixture
* Black
* Tests : skip tests
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-05-10 23:32:09 +02:00