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
James Maslek
437607c54b
merge release into develop ( #4359 )
...
* Update trailmap.py (#4300 )
* Fixes Failing AutoDocs (#4304 )
* Fixes Failing AutoDocs
* Update test_print_help.txt
* Release time
* Revert papermill and update gh pages action
* Fix shortname (#4356 )
* uninstall brotli on conda test
* Fix issue 4316 (#4357 )
* Fix issue 4316
* Updating polygon_model + options_controller
* Tests : FRED
* ruff
---------
Co-authored-by: teh_coderer <me@tehcoderer.com >
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: Chavithra <chavithra@gmail.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2023-03-01 09:07:10 -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
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
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
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
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
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
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