James Maslek
8b007785a1
Adds a matlab like hold on to plot on same axis ( #5173 )
...
* definitely not juan walking me through everything
* trying to pretty it
* start doing same axis with hold
* actually do the sameaxis correctly
* Better docstring
* Fix mypy
* mypy3
* pylint fixes
* Add message about candle
* might work, might now
* Update stocks_controller.py
* Update plotly_helper.py
* Update plotly_helper.py
* Make fmp view legends nice
* Update helper_funcs.py
* Add custom legends for when hold on
* bigger font
* add colors to new axes
* add custom title, remove location
* Start guide.
* Update plot-holds.md
Add figures
* More words
* Update plot-holds.md
* Finish guide
* tests
* Sneak in test updates for release
* guess not sneak test
---------
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-07-19 23:29:24 +00:00
James Maslek
dceaabcf53
Get rid of twitter news bar ( #4820 )
2023-04-18 15:47:22 +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
DidierRLopes
f1a824a179
Add tweet news in terminal toolbar ( #3757 )
...
* Add tweet news in terminal toolbar
* allow to store tweet news settings
* update dependencies
* Add tweet news in terminal toolbar
* lint
* dependencies
* 5s timeout for twitter api
* poetry update for resolve
* reqs
* set news to false by default
* update tweepy
* update reqs
* update reqs again?
* update setuptools
* small improv
* Add tweet news in terminal toolbar
* update packages
* black linting
* black formatting
* ruff fixes
* fix settings controller
* Reqs
* fix tz issue
* add keywords selection
* linting
* helper funcs mypy
* pylint fixes
* Checkout poetry.lock + pyproject.toml
* Update dependencies
* Remove integration test file
* News Toolbar : Fix bugs
* Tests : News Toolbar
* Update dependencies
* Tests : change variable name
* Remove unused keys
* Remove unecessary global variable
* Fix linting
* Lighter API call
* Ruff
* Linting + Remove keys
* Linting
* Dotenv loading issue.
* Ruff
* Revert "Dotenv loading issue."
This reverts commit 4493f1a3e7 .
* Tests : fix
* Tests : fix test_settings_controller.py
* Twitter Toolbar : avoid checking API when not enabled
* Tests : news toolbar
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2023-02-23 13:22:22 +01:00
Henrique Joaquim
f143f83528
Restores numeric values ( #4183 )
...
* fix tests
* Revert "fix tests"
This reverts commit f013668ed7 .
* Revert "Revert "fix tests""
This reverts commit b49e633da8 .
* Revert "fix tests"
This reverts commit f013668ed7 .
* revert_lambda_long_number_format
* enhanced the function to remove the formatting plus some cleaning
* tests
* minor adjustment in commnet
* fix introduced bug by parsing dates
* resolve conflicting tests
---------
Co-authored-by: james <jmaslek11@gmail.com >
2023-02-09 16:11:36 -05:00
hjoaquim
b4d1d3fdc6
adding tests
2023-02-07 16:24:47 +00: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
93f440a31c
Adds historical end date on the ca menu ( #3867 )
...
* #3835 add end date for historical
* Add to terminal function
* Add to other ca functions and update tests
* missed the controller test
* Add helper function for start and end date
* test for helper function
* default end = today
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2023-01-05 11:24:39 -05:00
DidierRLopes
8b1ac6c858
Add parameter to automatically color a table based on positive and negative numbers ( #3603 )
...
* automatically color table based on values - parameter added to print_help_text
* fix act cmd
* disable warning
* improve code for coloring + allow row/col select coloring
* update timestamp date
* cleanup
* start implementing tests
* ignore branches
* pylint disable
* pylint
* remove tests
* remove unused imports
* remove .txt files
* type ignore
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-12-12 19:23:06 -05:00
Om Gupta
b78f024a6f
Be able to change user data folder and add path for exports ( #2592 )
...
* modify export function to user data function
* change to exports
* change i18n
* be able to change user data folder
* black
* add exports to paths_helper
* black
* minor fixes
* fix
* small change to exports
* fix
* exports changes
* fix export
* fix reports export
* black
* minor changes
* fix test
* fix dcf export
* type ignore
* black
* pylint
* fix tests
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-09-25 12:45:22 +01:00
Parker Boyes
db844a567f
[bug] Fix SettingWithCopyWarning and export error ( #2481 )
...
* fixed Pandas SettingWithCopyWarnings
* fixed typo in test_google_view
* fixed typo in test_google_view
2022-09-02 16:37:41 -04:00