Commit Graph

2128 Commits

Author SHA1 Message Date
Artem Veremey
a0360a3ba2 Update pygments version to fix Windows installation (#678) 2021-08-17 12:31:56 -07:00
jp
f5c472fbe0 Feature/refactoring crypto (#656)
* Add separate view for finbrain for crypto curreny sentiment analysis

* Move json with symbols to separate directory, little refactoring, update readme

* Add screenshot of finbrain for PolkaDot

* refactorization of crypto menu

* Fix test, now ta returns already df with index set to date, so shape is rows X 1 column

* On demand load crypto

* Add new view with coins for Binance

* Discovery menu README

* Add readme for crypto

* Add readme for crypto main menu

* Fix mockups for coingecko tests

* Fix readme

* Update test_coingecko_crypto.py

* Fix print in controller

* Refactor crypto. Refactor tests, move session in paprika into commands. Refactor help text

* Remove not needed COLUMNS constant variable, fix description and print statement

* Apply changes in price fmt, mplfinance chart for gecko

* Adjust TA menu data

* Fix test. Now loaded data for TA has OHLC data

* New names for columns in gecko

* Improve find method, add better names for columns in coingecko discovery

* New names in coingecko

* Fix tests for new gecko names

* Add new view for coins search

* Refactor all_coins func

* Fix failing test

* Fix missing quit in overview_controller.py

* Mock test data in load_df_for_ta
2021-08-17 10:20:18 -04:00
DidierRLopes
a4f81327bd Fix psi command 2021-08-16 23:02:33 +01:00
colin99d
e86277be91 Added ReadMe for Tests (#672)
* Added tests ReadMe

* Added warning

* Moved testing docs

* Fixed formatting

* Update to retry testing

Co-authored-by: Colin Delahunty <colindelahunty@colins-air.attlocal.net>
Co-authored-by: Colin Delahunty <colindelahunty@Colins-MacBook-Air.local>
2021-08-16 18:13:11 +01:00
jmaslek
0263f41cbe Sort imports using isort (#674) 2021-08-16 07:59:52 -04:00
DidierRLopes
37af1dfc41 Refactor initial dd (#673)
* refactor warnings command

* refactor red command to behavioural analysis

* initial refactor to DD menu

* add TODOs

* remove commands that have been refactored

* remove not used file
2021-08-16 02:14:20 +01:00
DidierRLopes
78d13934bd Dark Pool Shorts menu (#668)
* Work on dark pool short menu

* refactor some code

* fix sec_view and sec_model, and dp notebook

* improvements

* fix test

* minor fix

* add load command

* improve commands name

* remove news
2021-08-16 01:51:47 +01:00
DidierRLopes
581f4ae605 Contributing Document (#660)
* Create CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2021-08-15 20:17:39 -04:00
DidierRLopes
7c7383c92f Implement news command on main stocks menu (#669)
* Implement news command on main stocks menu

* push news new file

* refactor based on review
2021-08-16 00:34:50 +01:00
devwolff
a05730dce2 update ta doc (#670) 2021-08-15 13:44:01 +01:00
colin99d
b9b640898c Excel Discounted Cash Flow (#667) 2021-08-14 15:23:18 -04:00
DidierRLopes
e15f5a955f allow to switch between stocks and options contexts (#666) 2021-08-14 10:08:34 +01:00
jmaslek
52a73fdd53 Options refactor (#658) 2021-08-13 13:52:23 -04:00
colin99d
81337b4fdd Improved Testing Framework (#665)
* Reduced test time by 85% using vcrpy

* Refactored tests with decorator

* Added vcrpy dependencies

* Fixed issues with tests

* Fixed tests not running in local

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
2021-08-13 12:05:32 -04:00
jmaslek
c984e993d5 Refactored stock->TA (#664)
* Ignore nft of the day test

* Refactor stock only TA functions
2021-08-13 11:57:06 -04:00
DidierRLopes
e35b9f51b0 Update test_coinpaprika_view.py 2021-08-13 13:04:40 +01:00
devwolff
567aca080a add centre of gravity & zlma to ta menu (#663)
* add centre of gravity & zlma to ta menu

* quickfix
2021-08-13 12:43:49 +01:00
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
lupus
ee1c17931a add fisher transform to ta menu (#659)
* add fisher transform to ta menu

* quickfix

* follow-up (#659)

* spelling
2021-08-11 18:34:52 +01: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
lupus
ab8a783141 make oanda practice account work on forex menu (#654)
* make oanda practice account work on forex menu

* follow-up (#654)
2021-08-09 22:28:03 +01: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
colin99d
7f05e2e7ae Added __init__ files and updated files for pylint (#649)
* Added init files fixed pylint

* Updated coverage settings

* Fixing pylint issues

* Refactored residual_api imports

* Fixing pylint

* Fixing pylint

* Update fx_view.py

* Fixed black

* Removing ignore

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
2021-08-08 19:03:55 +01:00
Meg1211
00e4e7ca22 Update changelogs (#655)
* Update W10_2021.md

* Update W10_2021.md

* Update W11_2021.md

* Update W12_2021.md

* Update W11_2021.md

* Update W12_2021.md

* Update W13_2021.md

* Update W14_2021.md

* Update W15_2021.md

* Update W16_2021.md

* Update W16_2021.md

* Update W15_2021.md

* Update W16_2021.md

* Update W17_2021.md

* Update W18_2021.md

* Update W19_2021.md

* Update W20_2021.md

* Update W21_2021.md

* Update W22_2021.md

* Update W23_2021.md

* Update W24_2021.md

* Update W25_2021.md

* Update W26_2021.md

* Update W27_2021.md

* Update W28_2021.md

* Update W29_2021.md

* Create W30_2021

* Update and rename W30_2021 to W30_2021.md

* Create W31_2021.md

* Update test.yml

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2021-08-08 18:51:06 +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
lupus
b096d6f77c make po work again for stock screener menu (#651)
* make po work again for stock screener menu

* followup (#651)
2021-08-08 17:26:38 +01:00
DidierRLopes
f952823584 Some refactoring + fix stocks/dd/rating command + retire stocks/clear+view commands (#647)
* Add stocks README

* Update readme

* improve readme

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* fix stocks readme link

* retire view and clear commands

* Add TODOs based on discussion with James

* Update README.md

* new line missing + fix dd/rating command
2021-08-06 21:11:08 -04: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
jmaslek
34ac2319ff Temporarily disable ETF menu due to change in website. (#646) 2021-08-06 12:57:18 -04: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
86deb339d1 Temporarily disable ETF menu due to change in website. (#645) 2021-08-06 12:08:02 -04:00
jmaslek
a0d9c6f906 Fix bug in ca->hcorr (#643) 2021-08-05 13:12:59 -04:00
jmaslek
e01f767754 Change events sorting and make ratings legacy (#642)
* Change `events` to be sorted in the correct order.

* Delete `ratings` command due to paywall
2021-08-04 09:25:11 -04:00
jmaslek
25aae6d23f Hotfix for jsondecode error in coinpaprika (#641) 2021-08-03 21:20:33 -04:00
jmaslek
ade6c13812 Add unusual options activity + option screener checks (#639)
* Add an unusual options activity command.

* Add checks to all option screener types.  Update readme

* Clean up PR

* Additional cleaning of PR and a sample template

* Add additional check for tickers
2021-08-03 20:45:47 -04:00
Artem Veremey
0e5a392427 Adding a new Docker configuration (#634)
* Adding a new docker configuration

* Updating file permissions

* Renaming to gst

* Updating the note to customize environment variables

* Updating dockerignore and docker-compose

* Typo in gst-poetry-deps
2021-08-02 13:41:24 -07: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
DidierRLopes
19b1d27424 Fix ba/trending command from stocktwits 2021-08-02 12:36:32 +01:00
DidierRLopes
7a8a4f868c Add JohnnyDankseed finviz presets, and fix some bugs there (#633) 2021-08-01 22:40:17 +01:00
DidierRLopes
ce4995c84c Allow multiple plotting for economy/fred (#632)
* Allow multiple plotting for economy/fred

* linting

* Update README.md

* Update README.md

* Update README.md

* Refactor usbonds and glbonds command to remove underscore
2021-08-01 17:26:11 +01:00
DidierRLopes
8cd51d607e Rename gr_hist command to grhist (#585)
* rename grhist command

* Update README.md
2021-08-01 10:56:46 +01:00
DidierRLopes
a0acdfb13f Fix MarketBeat disc/ratings scraping. (#584)
* Add line to mention saved generated report on terminal

* Fix MarketBeat scrap ratings
2021-08-01 01:58:05 +01:00
DidierRLopes
4e264977f3 Add commands to open website of company, and another to open their HQ location (#583)
* fa/info improvement

* Open company's website from fundamental analysis

* Open company's HQ location

* check that hq location fields exist
2021-08-01 00:23:46 +01:00
jmaslek
a6c0614d89 Specify the path to .env file for reading keys (#582) 2021-07-31 18:50:45 +01:00
colin99d
50fa5310cb 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>
2021-07-31 13:52:15 +01:00
DidierRLopes
fcbb2c6ef5 Add screener checks to confirm that preset is correct (#580)
* refactor screener finviz_view to view and model

* Add checks for defined screener preset
2021-07-31 13:51:10 +01:00
colin99d
1851c64dd6 Feature/fraud indicators (#576)
* 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

Co-authored-by: Colin Delahunty <colindelahunty@Colins-Air.attlocal.net>
2021-07-30 22:08:21 +01:00