Commit Graph

118 Commits

Author SHA1 Message Date
jmaslek
113db94184 Etf bug headers (#662)
* Ignore nft of the day test

* Add user agent to etf requests
2021-08-12 11:32:56 -04:00
DidierRLopes
6a641f2a09 Refactor discovery menu (#657)
* Remove disc open browser websites

* remove sentiment investor from discovery

* add popular,emerging SI cmds to ba

* fix typo

* refactor disc/finnhub commands

* refactor disc/yfinance commands

* refactor disc/ford command

* refactor disc/arkord command

* fix disc/upcoming refactoring

* fix disc/upcoming refactoring

* fix disc/latest-trending news refactoring

* refactor disc/shortinterest commands

* refactor disc/shortinterest commands

* fix tests

* Update test_coingecko_crypto.py

* improvement after review

* add todo

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2021-08-10 00:49:07 +01:00
jmaslek
dddc912c2d Fix ETF Menu + Refactor to new standard (#648) 2021-08-09 19:32:31 -04:00
DidierRLopes
ec07686aed Refactor Economy menu (#652)
* Allow to quit when DEFAULT_CONTEXT selected

* terminal imports inside context selection

* rework economy/events command

* Refactor fear greed CNN command

* refactor WSJ in economy

* import fred

* refactor fred commands in economy

* refactor disc commands into economy

* refactor disc commands into economy 2

* fix fred test

* fix fred test

* av pylint

* update quit from direct context

* fix av lint

* Add industry simply wallst to economy

* improve events display

* improv after review

* add mypy types

* tabulate raw series

* remove simply wallst
2021-08-08 21:36:24 +01:00
DidierRLopes
5f4be25ed2 Update test_coinpaprika_view.py 2021-08-08 19:24:46 +01:00
DidierRLopes
ce1821dd1c Update test_coingecko_crypto.py 2021-08-08 17:55:47 +01:00
DidierRLopes
2813f43aba Update test_coingecko_crypto.py 2021-08-08 17:50:04 +01:00
colin99d
4d2239d386 Refactored Tests (#640)
* Added basic openpyxl

* Add screener checks to confirm that preset is correct (#580)

* refactor screener finviz_view to view and model

* Add checks for defined screener preset

* Feature/fraud indicators (#581)

* Fixed glitch reading AlphaVantage API key

* Bug fix

* Added mscore metric

* Refactored code, added error handling

* Updated reademe.md

* Figuring out pre-commit

* Figuring out pre-commit

* Improved formating and code

* Added Zscore

* Formatted code

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>

* Reformated tests and started writing FA

* Removed excel analytics

* Figured out testing with input and print

* Figured out testing with input and print

* Added av_view tests

* Added av_view tests

* Added main_helper tests

* Fixed Poetry

* Added main helper tests

* Expanded pycoingecko_view

* Fixed ETF model

* Added coinpaprika view tests

* Added optimizer view tests

* Updated tests

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <colindelahunty@Colins-MacBook-Air.local>
2021-08-07 00:34:25 +01:00
DidierRLopes
c2197a7375 Big Code Refactoring with contexts vs category division (#644)
* big-refactoring

* add terminal_helper

* fix tests

* remove init modules

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2021-08-06 12:50:29 -04:00
jmaslek
5337f615b9 Edit ark_model to get rid of added columns from the json repsonse (#586)
* Edit ark_model to get rid of added columns from the json repsonse

* Figure out the mock response.  Add ./tests to codespell lineting to avoid all the issues iwth company names...
2021-08-02 09:37:38 -04:00
jp
099ca7cd1d Coingecko feature branch (#521)
* Added pycoingecko_helpers.py and pycoingecko_model.py, added some methods that scrapes the data from coingecko and some helper methods that handles mostly dataframe operations.

* More methods added for CoinGecko

* Started adding views, and adding them into controller.

* Add stablecoins, yield_farms, recently_added views

* Add more views for Coingecko, + add them to Controller

* remove retry from dependencies, and gecko model

* Add more views for coingecko, seperate coin menu from overview menu, fix imports

* Add some description for coin methods

* Add TA into seperate coin gecko controller

* fix mock path in coingecko tests

* Now if ta is sperate mode, and load doesn't return data frame, change test in the way that ta with Coin object returns data frame

* add seperate ta controller for crypto

* update readme

* small fix in REDME

* Add screenshots for coingecko menu

* fix ta menu for gecko

* Update Gecko Coin menu readme, add screenshots

* Update README with screenshots pt2

* Finish updating readme with screenshots

* remove not needed print statement from gecko view

* Typo

* fix ta crypto controller

* refactor some of views, remove url, add additional argparser params, remove columns which in most cases doesn't bring any value to end user

* Add additional parameters like sortby, descend, top, links for most of coingecko methods. Improve description of commands

* Split cmc, and binance into seperate menus

* add readme for cmc and binance

* Update REDME

* Update README pt2

* Fix news issue with sorting by rank, fix issue with period time parameter for top gainers and top losers view (changed from 1d - 24h)

* Add check for binance menu. If coin is not loaded, do not fail with candles and books commands. Remove new line in candle view. Update print help in crypto menu
2021-07-04 07:03:32 +01:00
DidierRLopes
e1612f905d Update donation section with patreon (#526)
* Update donation section with patreon

* Update based on pylint update it seems

* remove git import to fix bugs

* another pylint complain

* pylint stop crying pls
2021-06-30 00:22:03 +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
Jamie
08398163e1 update neural networks typing and add new preprocessing (add actual normalization and correctly rename nrormalization to mimax) 2021-05-05 11:04:28 -04:00
didier
81d9507328 fix fred test 2021-05-01 04:40:24 +01:00
Jamie
b86c143221 refactor fred -> econ menu. Added single vix command. black likely not updates from previous pr 2021-04-26 12:41:38 -04:00
Jamie
0265a4f78c fix test 2021-04-21 15:35:19 -04:00
Jamie
fa63412ac3 Add coinmarketcap top 100 ability + small refactor 2021-04-21 12:20:37 -04:00
Artem Veremey
90300b472e Refactoring Market Watch, FinViz, Yahoo Finance FA 2021-04-19 12:43:55 -07:00
Artem Veremey
753175e25b Refactoring business insider 2021-04-15 10:47:01 -07:00
Artem Veremey
7b5e7d165b Refactoring finviz_view 2021-04-12 09:26:59 -07:00
Artem Veremey
3ea2fed7b0 Refactoring financial_modeling_prep_view 2021-04-12 08:37:34 -07:00
jmaslek
4fe45fae1a Merge pull request #318 from jmaslek/crypto_test
Add docstring to crypto + add test
2021-04-09 09:23:02 -04:00
Jamie
bdf2b77cef spellcheck 2021-04-08 08:53:05 -04:00
Jamie
bc610b84d4 added return value mock + added test for get_coins 2021-04-08 08:40:21 -04:00
Jamie
6da75651e3 Add docstring to crypto + add test 2021-04-06 15:17:26 -04:00
Artem Veremey
893e812cd6 Add ark_view unit test 2021-04-05 16:29:55 -07:00
Artem Veremey
4a4b09f8f4 Adding ark_model unit tests 2021-04-04 22:35:31 -07:00
Artem Veremey
cf029cfae2 Adding Fred unit test 2021-04-02 21:51:06 -07:00
Artem Veremey
4c6d298f48 Removing failing test 2021-03-31 16:04:28 -07:00
Artem Veremey
656d783f10 Removing text output 2021-03-30 12:00:12 -07:00
Artem Veremey
19cd78311f Updating file mods 2021-03-30 11:59:38 -07:00
Artem Veremey
43520a08cc Adding a unit test for the discovery Fidelity orders model 2021-03-30 11:58:56 -07:00
Artem Veremey
c3372ac073 Adding a unit test for the Seeking Alpha earnings calendar model 2021-03-30 11:31:06 -07:00
Artem Veremey
611369ddf7 Missing a new line 2021-03-29 00:43:03 -07:00
Artem Veremey
c783644161 Updating unit tests 2021-03-29 00:39:11 -07:00
Artem Veremey
a5ba6a2bfe Refactor Seeking Alpha and add a model 2021-03-29 00:00:16 -07:00
Artem Veremey
366f42a515 Refactoring Fidelity view 2021-03-28 20:46:22 -07:00
Artem Veremey
6c6c2d9ce6 Discovery menu refactor part 1 2021-03-28 13:17:48 -07:00
Artem Veremey
4292b4d828 Adding a data file 2021-03-27 11:06:52 -07:00
Artem Veremey
9d0ad3963d Add mock for short interest test 2021-03-27 11:06:05 -07:00
Artem Veremey
d762180b82 Adding a Yield Curve model 2021-03-25 22:58:31 -07:00
Artem Veremey
6aa60904cb Adding a Yield Curve model 2021-03-25 22:57:59 -07:00
Artem Veremey
85511baa42 On Windows we get Windows and Unix line ending mixed 2021-03-23 23:22:56 -07:00
Artem Veremey
3b0c3a36c5 Disable too-many-arguments in this instance 2021-03-23 22:38:21 -07:00
Artem Veremey
9e0ab17a1d Adding MarketWatch unit test 2021-03-23 22:22:05 -07:00
Artem Veremey
97a1efdd16 Adding test data parametrization 2021-03-22 23:36:45 -07:00
Artem Veremey
fc7b48e60c Reordering imports 2021-03-20 23:51:16 -07:00
Artem Veremey
a9b834bf63 Updating based on pyupgrade 2021-03-20 23:46:50 -07:00
Artem Veremey
81cd7ceacb Fix flake8 2021-03-20 22:43:26 -07:00