Commit Graph

12 Commits

Author SHA1 Message Date
Theodore Aptekarev
cfb1eb392f Update reports and dashboards with nicer looking examples (#1524) 2022-03-25 18:10:54 +03:00
LBolte29
0f61f0b08e Log exceptions (#1393)
* log user settings, errors and exceptions
2022-02-26 10:56:10 +01:00
LBolte29
fd58219282 adjusted format of logs (#1292)
adjusted format of logs
2022-02-17 12:33:59 +01:00
LBolte29
fd15207e48 fix bug (shortterm) and refine error message if ticker missing (#1327)
* fix bug (shortterm) and refine error message if ticker missing

* fixing bugs

* pass tests

* similar analysis

* similar analysis clear outputs

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-11 00:30:12 +00:00
Colin Delahunty
7bb378015c Added fix and test (#1302) 2022-02-02 09:56:40 -05:00
jose-donato
4501dfd442 Crypto features: Replace coingecko scrapping (#1156)
* replaced cgcategories with api

* added coingecko categories

* refactoring commands to use api, added coins to cryptocontroller and merged find and coins

* autocompletion for coins

* removed unused vars

* added dappradar features

* refactoring commands position

* refactoring commands position

* adding visual commands and fixed report

* skipped tests for now

* lint notebook

* correct report

* black formatter keeps crying because notebook

* removed unused imports

* Fixed black

* Keep kernel metadata 'cause it's required by papermill

* Change jupyter cleanup hook to one based on nbconvert

* Try fix the hook I just broke

* Fix trailing commas in the crypto notebook

* Change the jupyter hook to a one that's featured on pre-commit's page

* Format report notebook and test new notebook hook

* Black the notebook

* Remove deleted functions from the crypto discovery API

* Remove deleted functions from the crypto overview API

* replaced print for console print and removed print from table

* replaced print for console print and removed print from table

* auto completion + sort for all discovery commands

* replacing help messages

* fix linting

* added docs and removed unused commands

* added todos and fixed help messages

* lint

* pr issues fixed

* updated tests

* tests merge

* replaced with new rich table function

Co-authored-by: Colin Delahunty <colin99delahunty@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-01-25 14:05:00 +00:00
Colin Delahunty
b5a95a3ed2 Add Vsurf Z-index options (#1207)
* Added z index options

* Dider changes
2022-01-18 08:23:03 -05:00
didierlopes.eth
c568747ab4 Several fixes (#1143) 2022-01-18 01:29:49 +00: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
Colin Delahunty
006b3570b7 Baseclass (#1141)
* A working decorator

* Basic intro

* Added more

* Refactor

* Refactor

* Cleaned code

* Simplified function (thanks Chavi)

* Small change

* Updating tests : fix issue with mock

* Updating tests : fix remaining mocks after merging

* Updating tests : black

* Cleaned up

* Finished base cases

* Notes

* Slight changes

* Added dynamic options handling, error persists

* Fixed pylint issues

* Fixed mock

* fix decorator with dynamic dictionary of args

* move choices from dynamic to const in crypto/ov

* Updated var names

* Check

* Moved decorators

* Fixed import issues

* Fixed tests, update payoff controller

* Fixed tests

* Fixed pylint

* Updated files

* Added base class

* Added reset

* Improved base class

* For James

* More menues converted

* Added contexts

* 24 controllers left

* 18 Controllers left

* Changes choices

* 9 controllers left

* Added all controllers

* Fixed glitch

* Replaced all improper callings of class

* Removed menu decorator

* refactored try_except

* Last commit

* Black fix

* Bug fix

* Added James' new menus

* Fixed tests

* Fixed 8 tests

* Fixing mypy issue

* Updating tests : stocks/options

* Fixed options

* Fixed tests

* Updating tests : stocks/options

* Fixed tests

* More test fixes

* Updating tests : stocks/ba

* Fixed options test

* More bug fixes

* Fixed tests

* fixed pylint

* Skipped test_call_load

* Add typings to base class

* Fix issue with appending auto completer options + bugfixes

* Add typings to base class

* Terminal throws error for bad path

* sexy solution to auto completer in runtime

* more sexy reset with reset_level stored

* no so sexy jump between indirect menus

* Removing choices argument

* refactor custom_reset

* Fixed tests

* Theo fixes

* Added back function

* Fixed tests

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-01-08 19:30:03 +00:00
Colin Delahunty
eb0dde4603 Refactored Reports (#1123)
* First working program

* added Voila support

* Attempt to fix requirements

* Revert depen

* Another dependency test

* Fixed errors

* Small changes

* Fixed help

* Added port warning

* Fixed continued terminal use

* Last change, we good fam

* Added placeholder so we can have stored

* Didier changes

* Fixed exit

* Fixed issue
2022-01-04 20:51:11 -05:00