Commit Graph

26 Commits

Author SHA1 Message Date
didierlopes.eth
a3e1257996 add settings menu (#1316) 2022-02-05 13:05:22 +00:00
Colin Delahunty
183e10b524 Allow Custom Flairs (#1249)
* Added ability for custom flair

* Refactored for easier use

* Renamed

* Renamed 2
2022-01-23 17:48:21 -05:00
Colin Delahunty
9e671aeba9 Remember Contexts (#1187)
* Refacotred classes

* Handling for new instance desired

* Added feature flag

* Converted all menu calls
2022-01-16 16:57:23 -05:00
Colin Delahunty
82747072c5 Terminal Wide Rich (#1161)
* My idea for how we handle Rich moving forward

* remove independent consoles

* FIxed pylint issues

* add a few vars

* Switched print to console

* More transitions

* Changed more prints

* Replaced all prints

* Fixing tabulate

* Finished replace tabulate

* Finished removing rich from Tabulate

* add Panel around menu

* add GST watermark under feature flag

* Fixed 46 tests

* Delete test_screener[False].yaml

* Delete test_screener[True].yaml

* Fixed the rest of the tests

* add help and source color vars and use rgb

* rich on stocks/options

* update rich on disc, dps, sia

* rich in gov, ins and scr menus

* ba and ca menus with rich

* Fixed import issue

* Fixed some tests

* removed termcolor

* Removed prettytable

* add rich to remaining stocks menus

* FIxed linting issue

* Added James' changes

* Updated dependencies

* Add rich to cryptocurrency menu

* refactor economy and forex

* refactor etf with rich

* refactor mfunds

* refactor rich rest

* not specify style so default color works well on any background

* Fixing mypy issues

* Updated tests

* More test fixes

* James' test fixes

* Updating tests : stocks/screener - fix cassettes using BR

* Updating tests : crypto

* Updating tests : disable DEBUG_MODE

* Updating tests : stocks/fa/yfinance

* minor fixes that escape

* Improve the rich table function (that replaces tabulate :D )

* Fixed bad code

* delete rogue file + dcf fix + NoConsole

* sia mypy

* fuck you linter

* fuck you linter pt 2

* skip hehe

* i hate the black linter

* ubuntu mypy attempt

* Update : rich_config + gtff

* Updating tests : conftest

* Updating tests : stocks

* Update : rich_config

* Updating : rich_config

* make panel configurable for Theodore :b

* colors update

* Merged

* Updating : rich_config + feature_flags

* Updating : rich_config

* Updating tests : stocks

* Updating : feature_flags

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
2022-01-15 02:06:00 +00:00
devwolff
80a4796405 print_help when jump back to previous menu (#1168)
* print_help when jump back to previous menu

* help when quitting

* default flag to False

Co-authored-by: theorish <tep@foundian.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-01-10 13:34:27 -05:00
Didier Rodrigues Lopes
d5d581b59b improve usage of timezone in terminal (#1126)
* improve usage of timezone in terminal

* lint

* update dependencies

* address James review comments

* remove seconds from time on cmd line

* skip test
2022-01-04 10:35:34 +00:00
DidierRLopes
9ea022ab0d Miscellaneous improvements (#910)
* stocks/ba

* stocks/disc

* stocks/dps

* Improve load and candle relation

* refactor trendline file

* change --plotly to --it

* Miscellaneous things
2021-11-04 13:56:26 +00:00
DidierRLopes
43dd95cc49 Fix #805 (#843) 2021-10-23 00:08:49 +01:00
jmaslek
d3c95b87ab Refactor EDA -> Qa (#686)
* Ignore nft of the day test

* Rename eda -> qa

* Refactor rolling into view/model

* Refactored commands to new convention

* updated menu layout + add load

* Add ra functions into qa menu + fix portfolio paths

* fix menu help string

* Update qa with target idea that indicates variable to do statistics on

* Review changes except todos

* Make qa indepedent of stock menu
2021-08-28 02:03:15 +01:00
jmaslek
0263f41cbe Sort imports using isort (#674) 2021-08-16 07:59:52 -04:00
DidierRLopes
1395dfe039 Bug fixes and code improvements (#519)
* Add README link to each menu

* Retrieve good error when #517 happens

* Fix column names with numbers in dataframes

* Update README.md

* ignore false positive
2021-06-27 10:26:11 +01:00
DidierRLopes
a6a2c070cb Refactor main terminal code (#507)
* Refactoring of terminal.py

* More refactoring

* more refactoring

* move dataframe_helper to fa folder since only used there

* move functions of reddit_helpper to helper_funcs

* update econ folder name to economy

* missed to add this file

* arghh missed this as well

* Add ascending flag to darkshort

* Update README.md

* improve shortview command plot

* Update README.md

* Add darkpos command to dd

* Update README.md

* Update README.md

* Update ROADMAP.md
2021-06-19 18:21:52 +01:00
jmaslek
6a1be6bcb7 Changing NLP from Flair to VADER (#491) 2021-06-10 19:14:25 -04:00
didier
518dd551d4 Add feature flag to clear console after running a command 2021-04-25 14:31:32 +01:00
Artem Veremey
99bbcb6a31 Add start and exit test 2021-04-19 15:55:46 -07:00
didier
b5b7832020 Refactor prediction menu to controller, and fbprophet optional 2021-04-12 23:13:03 +01:00
didier
482c032af7 Thoughs of the day under feature flag 2021-03-19 19:12:01 +00:00
Artem Veremey
c031124ced Merge pull request #190 from clothespin/prompt-toolkit-inputhook
Registers pyplot.draw as inputhook for prompt_toolkit
2021-03-18 18:46:53 -07:00
clothespin
7745867d5d Reworks feature_flags.py to use strtobool from distutils 2021-03-18 17:30:58 -07:00
Artem Veremey
6ff3f5f867 Fix filemod 2021-03-16 23:33:21 -07:00
clothespin
7d2d7a4db8 rework feature_flags.py to supply defaults to os.getenv() 2021-03-16 21:35:21 -07:00
clothespin
9a2ee39a10 Thank you linter, very cool! 2021-03-16 21:25:53 -07:00
clothespin
0a3b91a494 Tests string-valued env variables for truthiness in feature_flags.py 2021-03-16 21:23:18 -07:00
buzzCraft
a95d1553d4 Added scaling for view and candle as suggested in #180 2021-03-16 13:10:46 +01:00
Artem Veremey
66e3bc1e30 Add a new line at the end 2021-03-12 09:21:34 -08:00
Artem Veremey
fe60795d5f Adding Feature Flags 2021-03-12 09:19:33 -08:00