montezdesousa
bfc4c021e7
Fix incorrect date typing in signatures ( #3524 )
...
* Report fixes
* replace wrong typing
* mypy
* mypy again
Co-authored-by: james <jmaslek11@gmail.com >
2022-11-22 17:15:40 -05:00
James Maslek
95db246ec4
Making the SDK more intuitive. ( #3450 )
...
* Add earnings to fa trailmap. More trailmap deletes
* Crypto renaming
* Economy futures sdk
* Forex quote function
* Update events docstring
* pydocstyle on this file
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-18 09:08:49 -05:00
Chavithra
2273a705fd
Choices Generation : Forex ( #3475 )
...
* Choices : add support for StocksBaseController and CryptoBaseController
* Choices : Forex
* Choices : disable by default
* Choices : update parent_classes
* Choices : forex/qa
* Linting
* Choices : choices -> choices_default
* Choices : fix
* Choices : fix issue with int and float list
* Tests : forex/qa and forex/ta
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-18 12:59:39 +01:00
James Maslek
1435227c77
Oanda Bug ( #3426 )
...
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-11-17 12:10:34 -05:00
Chavithra
c77560ebcd
Add choices generation ( #3441 )
...
* Add choices generation
* Update forex_controller
* Remove raised exception
* Linting
* Linting
* Linting
* Tests
2022-11-17 12:44:16 +01: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
f1de004567
Remove signatures with volatile date defaults ( #3385 )
...
* 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
* fix crypto dd defaults
* fix some date defaults
* regenerate website
* fix santiment model
* fix get trending
* fix more defaults
* generate website
* fix ftd view data default
* black
* regenerate website docs
* regenerate docs
* refactor remaining funcs
* pcr doc
* Checkout from main
* flake8
* regenerate docs
* regenerate docs
* fix build
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-15 11:19:14 +00:00
James Maslek
e3cd8bdc0e
SDK bugs ( #3420 )
...
* Fixes #3400
* #3996
* #3313
* #3140
2022-11-15 10:48:33 +01: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
Colin Delahunty
fb1392ba45
Improve Forex Helper ( #3351 )
...
* Fix errors and improve forex_helper
* Small changes
* Fixed how we get interval
* Fixed issues
2022-11-10 08:59:27 +01:00
andrewkenreich
2911908d09
initial commit - colin please fix tests ( #3309 )
...
* initial commit - colin please fix tests
* left a print
* removed duplicate functions, and fixed matplotlib error when no volume
* pylint fix, removed raw from display_candle
Co-authored-by: teh_coderer <me@tehcoderer.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-09 11:30:19 -05:00
teh_coderer
721a7d560c
[Bugs] Fix 3255,3160 + Improved Terminal Version Check ( #3296 )
...
* 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
* Update stocks_helper.py
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-09 11:29:48 -05:00
andrewkenreich
c14b759f97
[Bug] /forex/qa/ $ line --draw #3076 ( #3297 )
...
* [Bug] /forex/qa/ $ line --draw #3076
* removing from web
* fix pylint + test
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-04 14:54:19 -04:00
Colin Delahunty
d916535f39
Fixes Issues with Forex ( #3260 )
...
* Fixed issues
* Moved menu
* Added back doc header
* Updated tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-03 11:30:16 -04:00
Colin Delahunty
500fcd6aa2
Refactor the QA Raw Command ( #3234 )
...
* Improved usability of raw
* Began refactoring qa raw
* Continued adding fixes
* Added more fixes
* Updated docs
* James fixes
* Added formtting changes
* In process of converting to all lower
* Added fixes
* Fixed tests
2022-11-02 13:35:55 -04:00
DidierRLopes
47549cbd9f
[SDK] Allow silencing verbose output in commands that use stocks/load ( #3180 )
...
* remove verbose on load
* Revert implementation of the verbosity setting in stocks controller
* Edit docstrings to comply with pydocstyle linting rules
* Fix typos in variable names and help text
* Add verbosity setting to forex load helper as it uses the stocks helper
* Update docstrings to comply with pydocstyle linting rules
* Update tests
* Fix test relying on local sources settings
* Remove old test cassettes
* Add new test data
* WIP: Fix futures tests
* Clean up test file
* Fix futures tests having a time component
* Fix futures model tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-11-02 09:46:58 -04:00
Henrique Joaquim
eaa0a96f7e
Fix forex bugs ( #3131 )
...
* normalized way moving average is treated and prevent huge exception prompt
* changed descriptions on docs
* change to check_positive_float
* fix linting
* fix linting
2022-10-28 11:32:02 +01:00
James Maslek
90a1469c8b
Bugs 2.0 ( #2993 )
2022-10-23 22:35:44 -04:00
Colin Delahunty
a6428a5533
Allows oanda menu to be entered and updates no key message ( #2869 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-17 17:34:05 -04:00
Colin Delahunty
0254d78741
Improves the forex menu to include the forecast command ( #2818 )
...
* Added forecast to forex menu
* Fixed tests
* fix test print
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-10-13 17:46:52 +01:00
James Maslek
4c09877dc8
Add --export to load functions ( #2811 )
...
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-10-13 08:28:24 +01: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
martinb-bb
7fd72d9ee1
Forecasting Menu [Work in Progress] ( #1933 )
...
* Gave forecasting memory
* Fixed scripts, refactored
* FIxed poetry lock
* edge case check for forecast target
* Improved combine and load functionality
* Cleaned up translations
* Fixed issue with covariates
* Fixed issue checking covariates
* Another covariates check fix
* Ignored regr and linregr warnings
* Fixed covariate issues
* switched from forecasting to forecast
* Finished transition to forecast
* Can add entire dataset with one command
* Improved combine description
* Removed naming covariates
* Created new installation
* typo
* Make plot show dates if available
* Added better handling or users without the menu
* Removed unused file
* Fix
* Better handling for nontraditional datasets
* Fixed black and pylint
* Fixed tests
* Added darts install to main tests
* Working on darts with CI
* Added back test file
* Made large tables print better
* naive baseline
* typo
* Finished naive
* no dollar on prediction
* fixed positive MAPE bug
* quick refactoring
* Fixed two different args for same thing
* added extra patience
* linreg mape fix
* info fix
* Refactored API, bumped to Darts 0.21.0
* Added fixes
* Increased verbosity for wrong column
* Updated dependencies
* Hid warnings
* Fixed importing
* Fixed tests
* Fixed ugly seasonal plotting
* Fixed forecast line color
* Switched chart output to blue
* Simplified lambda_price_prediction_color
* fixed residuals
* Chnage
* Removed darts from CI per Chavi
* Added fixes to tests
* Added knnfix
* Fixed issue where n!= o
* Added changes
* Added changes
* Imrpoved forecast dash
* Added Theo notebook
* Added enhancements to dash
* Added notebook
* Added fix for jupyter lab
* Added debug stuff
* Change
* Updated docs
* Fixed formatting
* Fixed formatting
* Removed prints
* Filtered some info
* Added button to run model
* Improved api
* Added secret feautr (no peeking Martin)
* Cleaned code
* Fixed tests
* Added test fixes
* Added fixes
* Fixes
* FIxes for pres
* Remove bad tests
* Removed knn
* Fixed issues with removing mc
* doc for conda
* Added forecast improvements
* Added streamlit support
* Fixed issues
* fix expo with streamlit due to quantile()
* fixed performance issues with streamlit for now..
* clean up historical forecast with new trainer
* quick fix for regression trainer params
* Added fixes
* quick fix for other fix for regression trainer params
* table formatting for timestamp
* potential fix for inf in feature engineered datasets
* Basic working in new format
* dw
* Trying
* Fixed issues
* Improved graphing
* fixing trainer for LR and formatting
* doge and linting
* page break
* automatic cleaning of datasets
* automatic cleaning of datasets- fix
* Fixed forecast dates
* Made dashboard prettier
* Added fixes
* Added fixes
* Added options
* Fixed error
* remove caching
* adding in spinner
* Added vairable n_predict in streamlit
* Added mypy fix
* renaming and range change
* new index for n predict
* check positive float for window size
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* renaming
* reorg files
* Update _index.md
* hidden which command for versions
* Update _index.md
* Update _index.md
* which: ns parser
* hugo for: which
* hugo for: forecasting fix
* formatting black
* update stock controller test
* Lay groundwork for better residual plotting
* improved delete to allow for periods in title
* improved automatic cleaning of inf
* Added new API
* Added new API
* Added new API
* formatting for black
* Updated our testing CI
* Reverted changes
* Added forecast docs
* Fixed mypy issues
* Fixes tests
* Did some refactoring, added a report
* new api in streamlit
* Added integrated tests
* Update _index.md
* improved loading in custom dataset
* menu spacing
* installer fixes
* Added docs fixes
* Adding comments to test if commit working
* Fixed report
* naming conventions
* formatting
* removing unused var
* Made last report imporvements
* Update README.md
* Added fix
* Switched to warning
* Added fixes
* Added fixes
* Added fixes
* Added fixes
* Update economy av view test
* Remove forgotten print statement
* Update depencencies
* Added verbosity to pytest
* Added fixes
* Fixed pylint
* Fixed actions checkout
* Added fixes
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Simmons <simmonsj330@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-10-08 14:54:43 +02:00
Uzair Aftab
35b21cee39
refactor: convert for loops into list and dict comprehensions ( #2493 )
2022-09-23 22:59:12 +03: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
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
Om Gupta
3da5c35a46
fix: Issue 2458 ( #2472 )
...
* bug 2458
* black and fix tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-09-01 22:21:00 +01:00
et41
120e6fd7fb
fix ta command issues #2457 ( #2476 )
2022-09-01 22:20:36 +01:00
DidierRLopes
065cd78814
forex quote to use yahoo finance instead ( #2436 )
...
* forex quote to use yahoo finance instead
* update docs
* add av as secondary source for quote
2022-08-29 01:29:21 +01:00
Colin Delahunty
6b95d7d3ac
Added fixes from the general integration tests ( #2357 )
...
* Added fixes from James
* Fixed tests
* More test fixes
* Added fixes
* Fixed tests
2022-08-18 17:03:46 -04:00
Colin Delahunty
90fe23b400
Fixes Forex Quote ( #2350 )
...
* Fixed bug
* Started fixing codespell
* Fixed more codespell
* Updated local codespell
* More codespell fixes
* More codespell fixes
* Fixing test
2022-08-18 09:51:45 -04: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
James Simmons
0f01b8437d
Release 1.7.0 ( #2300 )
...
* Version Bump
* Changing pred install for intel workflow
* Disabling prediction menu
* Fixing codesign paths
* Changing disk location for detach
* Making sure to not pull from main
* changing windows build
* Hopefully final change for the release
* codesign fix
* fixing package stuff
* Fixing feature flags and env
* Adding comments about feature flags
* Changing windows build back
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-08-12 13:44:27 -04:00
Theodore Aptekarev
775d218891
Add parser for input command arguments (The Forward Slash PR) ( #2064 )
...
* Add helper command to filter unix paths and other edge cases
* Remove sort argument filtering from parsing
* Make --file arg mandatory for loading files
* Refactor queue parsing logic
* Enable adding controller level input parsing filters
* Remove the github repo path hack because it's not needed anymore
* Fix typos and line length linting
* Update unix path parser to match known extensions
* Update oss custom filters to not require space after slash arg
* Fix tests and failing linters
* Add pre-commit hook to check for reserved arguments validity
* Fix tests
* Fix finviz compare screener tests
* Fix screener test
* Fix screener test
* Fix float representation in pd dataframe on finviz screener tests
* Update test records
* Update test records
* Remove explicit float formatting in tests
* Update tests
* Remove prepending file argument
* Update long arguments that have lost their short default to file
* Update arguments in docs
* Update portfolio test data
* Fix econometrics/desc throwing error on empty df and fix tests
* Update tests
* Fix econometrics load autocompletion
* Fix portfolio tests giving different results every time
* Allow loading openbb scripts from arbitrary path
* Fix passing path as a terminal argument
* Fix guess game being case sensitive
* Silence bandit warning about using pseudo-random generators
* Update gov tests
* Fix screener sort fields that have forward slash
* Make controllers apply custom argument filters on entry
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
2022-08-05 12:51:23 +03:00
Vinnie117
413360b1bc
Update forex_api.py ( #2215 )
...
import the load() function in order to be able to load FX data with Python API
2022-07-31 19:24:53 +01:00
DidierRLopes
fea15aa13d
Fix stuff ( #2150 )
...
* Make sec fillings link clickable in report
* Fix #2130
* styling here and there
* fix crypto panic key output result
* minor styling
* style
* tests
* allow for bitcoin rainbow to go into future
* add 2024 halving
* pylint ignore
2022-07-24 10:38:02 +01:00
DidierRLopes
e91e6c00f9
fix regression introduced ( #2076 )
2022-07-12 23:05:15 +01:00
DidierRLopes
9e220e8f3c
Creates a controller to specify sources ( #2069 )
...
* Add all data sources to data_sources_default.json so we can have a list in one place
* create menu to get and set data sources
* improve settings controller
* james request
* improve helper message
* minor improvement
* fix tests
2022-07-12 18:56:52 +01:00
Jeroen Bouma
b749d6e3c6
Improvements within the Terminal for the Documentation ( #2048 )
...
* Change about us to open_terminal_documentation
* Change the home menu to be more compact
* Make changes to menu layout and change bottom bar
* Change about command to send you to the documentation and add about to bottom bar
* Add in about choices to all menus
* Adjust wording
* Adjust the website to match terminal commands and make adjustments for common menus
* Update the website and small change to about command
* Small adjustment to about command
* Remove update command
* Add some more info about arguments
* Fix broken link
* Add pro tip
* Update keys to work well with about
* Fix some common paths
* Add back in the update command with exception if packaged application
* Remove update comment
* Fix all the things
* Make about more robust and also add in exe
* Make sure that there are actual commands and menus
2022-07-06 13:52:26 +01:00
Sam Kerr
497324d75f
Preferred data source for a given command and help docs for any command ( #1928 )
...
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Forex controller
* Tests : Fixing `parse_known_args_and_warn` issue
* Comparison Analysis controller
* Tests : Comparison Analysis
* Tests : Stocks/DarkPoolShorts + Stocks/Options
* Tests : fix call_load tests
* Linting : fixing line size
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-06-14 20:23:55 +02:00
James Maslek
7db8fa04e5
Clean up forex menu. Add in polygon load ( #1871 )
...
* Clean up forex menu. Add in polygon load
* Forex candle matches stock with --ma option
* fxempire tests
* forex controller tests
* Test polygon model
* Hugo
* oops
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt >
2022-05-26 20:54:34 +01:00
didierlopes.eth
707fd8f506
Terminal supporting controller with multiple languages ( #1730 )
...
* initial implementation of terminal supporting multiple languages
* improve quote command
* stocks controller with english translation pattern
* add language to settings
* update reqs to have python-i18n
* find languages automatically
* add to documentation how to support another language
* markdown
* fix no member issue
* fix test
* refactor code with translations
* translate for options and options/scr
* solve translation for all submenus within options controller
* fix stocks controller tests
* translate disc and th
* dps and sia menus
* scr and ins
* add gov controller
* fix tests for new controllers
* stocks/ba and stocks/ca menus
* add stocks/fa
* res controller
* stocks/dd
* stocks/bt
* qa and pred
* crypto and crypto/disc
* overview and onchain menus
* defi
* nft and tools
* crpyto/dd
* stocks and crypto TA
* finish crypto menu
* finish ETF controller
* finish economy menu
* forex
* alternative and mutual funds
* refactor source for translated version
* econometrics and portfolio and brokers
* portfolio
* fix tests
* finish language implementation
* refactor code for cmds
* improve keys
* refactor name funcs and add docstrings
* fix minor stuff
* fix tests
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Chavithra <chavithra@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-05-24 21:56:16 +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
James Maslek
c69e14a5ca
Improve main terminal menu + small alignments ( #1813 )
...
* random spacing
* add m
* Add context descriptions to main terminal menu
* clean up forex alignment
* lint
2022-05-13 01:54:58 +01:00