Commit Graph

2585 Commits

Author SHA1 Message Date
Colin Delahunty
6f74dd641b Improved saving mechanism (#1241)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-22 09:11:52 -05:00
Chavithra
379cf31cfe Tests : Stocks (#1240)
* Updating tests : stocks/sector_industry_analysis

* Updating tests : stocks/prediction_techniques

* Updating tests : doc

* Updating tests : black

* Updating tests : stocks/sector_industry_analysis

* Updating tests : stocks/technical_analysis

* Updating tests : etf/technical_analysis

* Updating tests : black

* Updating tests : stocks/quantitative_analysis

* Updating tests : stocks/quantitative_analysis

* Updating tests : stocks/options

* Updating tests : stocks/options

* Updating tests : stocks

* Updating tests : black

* Updating tests : stocks/prediction_techniques

* Updating tests : black

* Updating tests : stocks

* Updating tests : etf

* Updating tests : stocks

* Updating tests : black

* Updating tests : fundamental_analysis

* Updating tests : dark_pool_shorts/finra_model

* Updating tests : black

* Updating tests : stocks/dark_pook_shorts

* Updating tests : stocks/discovery

* Updating tests : stocks/insider

* Updating tests : stocks

* Updating tests : black

* Updating tests : stocks/options/yfinance_model

* Updating tests : stocks

* Updating tests : stocks/insider
2022-01-22 13:38:47 +01:00
northern-64bit
0b01f8e8b8 Allocation Command (#1204)
* Adding the allocation (al) command to the portfolio menu

* Fix linting

* Fixing errors

* More fixes

* Requested changes

* More fixes

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-21 23:20:54 -05:00
Colin Delahunty
fca711ac0c Remove More Tabulate (#1235)
* Converted some tabulate

* Converted tabulates

* Removed some more tabulate

* Fixed tests

* Fix pylint issue
2022-01-21 22:18:31 -05:00
Colin Delahunty
9bb67537ef Refactored Jupyter lab to class based views (#1239)
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-21 21:25:19 -05:00
jmaslek
9ff9d1520d Add a FINRA shortdata dashboard (#1238) 2022-01-21 20:56:04 -05:00
Colin Delahunty
1207e86301 Fixed DCF issue (#1237) 2022-01-21 19:29:11 -05:00
Colin Delahunty
721208fb45 Added multiselect option (#1232) 2022-01-21 16:09:53 -05:00
Colin Delahunty
3a8ce32a24 Potential fix for Danglewood's issue (#1234) 2022-01-21 23:43:12 +03:00
jose-donato
ff2ddb7a91 Adds features to check crypto-related hacks (#1230)
* added ich and ch features

* added slug required and removed list of slugs

* added slug required and removed list of slugs

* updated to only have one command

* lint

* lint

* added default parameter
2022-01-21 19:58:28 +00:00
Colin Delahunty
b26e72a204 Vsurf Improvements (#1225)
* Added improvements

* Updated formatting

* Removed black[jupyter]

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-21 12:24:56 -05:00
jmaslek
ec400e46dd fix hugo (#1229) 2022-01-20 20:49:31 -05:00
Colin Delahunty
a799585d0f Options Chain Dashboard (#1226)
* Began new

* Added chains

* Added documentation

* Enhancements

* removed black[jupyter]
2022-01-20 19:22:50 -05:00
didierlopes.eth
d8ca7556ed ETF tests (#1208)
* etf tests for stockanalysis

* add financedatabase etf tests

* fix financedatabase etf documentation

* yfinance etf tests

* add etf/discovery tests

* add tests to etf/screener

* add etf controller tests

* add etf/ta tests

* remove tabulate and use rich table

* etf/pred

* add more etf tests, thanks Chavi

* update about us website

* Updating tests : etf

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-01-20 22:51:19 +00:00
jose-donato
c70e78da3a Adds Blockchain source and two BTC commands (#1227)
* adds blockchain source and two commands

* adds tests

* missing hugo yml

* added missing parameters
2022-01-20 21:17:00 +00:00
jmaslek
0be09cdf41 Add scroll zoom to plotly candle (#1222) 2022-01-20 14:16:07 -05:00
jmaslek
805574d012 Add scroll zoom to plotly candle (#1224)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-20 13:45:47 -05:00
Colin Delahunty
e1c0b07556 Finish API (#1218)
* Added forex APIs

* Mutual fund

* Added portfolio API

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-01-20 11:30:48 -05:00
Danglewood
393cdcf668 Added Open MIT options course (#1216)
* Added Open MIT options course

* added the ooopsies

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-20 13:04:35 +00:00
devwolff
7bfcea4296 make whatif works for decrease as well (#1220)
Co-authored-by: theorish <tep@foundian.com>
2022-01-20 09:49:25 +00:00
Colin Delahunty
3b73898f1a Refactored Call Resources (#1217) 2022-01-19 23:04:23 +00:00
Colin Delahunty
277f45704a Expanded GST API (#1215)
* Added custom

* Added economy API

* Added ETF API

* Fixed pylint

* Theo change
2022-01-20 01:08:33 +03:00
jmaslek
4e1abb2d2f Improve plotly interface for plots (#1213)
* Improve plotly interface for plots

* add interactiv linear/log button

* change volexch to mpl default

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-01-19 15:52:45 -05:00
Colin Delahunty
eb1c74f918 Vsurf Dashboard (#1209)
* Added vsurf dashboard

* Updated format

* Switch to Plotly: WARNING GRAPH IS NOT ACCURATE

* Works with Plotly now

* Update default

* Fixed black

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-19 14:57:52 -05:00
jmaslek
7fb39d031e ba_controller bug (#1214) 2022-01-19 14:14:25 -05:00
Colin Delahunty
97c755b8e7 Remove Colorama (#1203)
* Began removing colorama

* Removed colorama

* Made progress on tests

* Small change

* Removed colorama

* Update finbrain_view.py

* Updating tests : mocking `rich_table_from_df`

* Updated table functionality

* Fixed tests

* Fixed black issue

* Pylint fixes

* Added pylint fixes

* Fixed tests

* Updated tests

* Updated csv

* Fixed pylint error

* Add run_scripts

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-01-19 11:56:28 -05:00
devwolff
c145f25fa8 reverse dataframe for correct usage of candle (#1210)
Co-authored-by: theorish <tep@foundian.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-19 11:26:01 -05:00
minhhoang1023
d48a6e09af Adding the historical endpoint from sentiment investor (#1175)
* Adding the historical endpoint from sentiment investor

* Add option to export raw data

* Remove all Sentiment Investor command from auto completion

* Fix linting

* Fix mispellings

* Fixed flake8

* Fixed flake8

* Fix linting

* Fix linting

* Add typing dict for payload

* Forgot to add black formatting

* Change import orders

* Add tests for call_hist

* Add black formatting

* Disable pylint

* Fix type error bugs & implement required for start and end arguments

* fix black linting

* fix black linting

* Remove unused import

Co-authored-by: Minh Hoang <minh@Minhs-MBP.Home>
2022-01-19 09:12:36 -05:00
jmaslek
6a66f3f3ed Custom data context (#1193)
* Add first iteration of custom context

* Add sample data + improve plot

* Change `head` to `show` with sorting and limit.  Add "-x" to plot and dynamic update of completer

* generate random time series for test csv

* Make columns lower case.  Check if date is in columns and convert to timestamp.  Improve plotting for dates

* Add qa to custom

* Add pred to custom

* Hugooooo

* Testing

* dang whitespace

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-19 10:45:56 +00:00
Colin Delahunty
e0e2f5b538 Crypto APIs (#1206)
* Crypto APIs

* Fixed small mistake

* Added pred and ta api

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-01-19 09:29:01 +00:00
Colin Delahunty
a3d551105f DCF Refactoring and Improvements (#1198)
* Refactored excel letter generation

* Updated error handling

* Refactored df creation

* Refactored sisters

* Refactored ratios

* Refactored worksheets

* Finished refactoring attributes

* Massively refactored add _ratios

* Slight changes

* refactored add_ratios

* Made DCF much more customizable

* Added market cap filtering

* Removed print

* Updated documentation

* Updated pylint issues

* Added pylint fixes

* Small bug fixes

* Test fixes

* Fixed tests

* Updated audit warning
2022-01-18 13:11:27 -05: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
jose-donato
599fadd07b nftcalendar fix (#1205)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-18 00:10:57 +00:00
Steven Soloway
0ed3708179 Fixes issue #1195 (#1199)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-17 23:19:09 +00:00
jp
c37a116a25 Terra luna (#1197)
* 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

* add dataframe helper denomination method, add terramoney_fcd model

* add account growth function, goverment proposals function

* add staking ratio and returns for terra:

* Refactor terra model, add terramoney_fcd_view with 2 methods

* Add terramoney_fdc_model views

* add plots for terra fcd views

* add terra fcd to defi controller

* add hugo docs, refactor defi controller

* change export parameters, refactor chart tickers, fix --descend flag in validators command, add multiline formatted string for terra staking report, change tabulate to rich, add terra adress validator
2022-01-17 18:47:59 +00:00
Colin Delahunty
880579a732 Added fix for tests (#1201) 2022-01-16 21:07:09 -05:00
Colin Delahunty
412ac77c48 Alternative API (#1200)
* Look into controllers

* Added alt API

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-17 01:36:51 +00:00
didierlopes.eth
0f2e0d60ff Add resources to main contexts (#1194)
* remove all unnecessary READMEs

* add resources to mains contexts

* add resources to main cmds

* fix bare-url

* mini fix

* test for surface
2022-01-17 01:14:26 +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
530b68cc35 Update CONTRIBUTING.MD (#1192)
Updated with new best practices and fixed errors.

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-16 16:15:29 -05:00
didierlopes.eth
f958f8275d Fix silly issue with sia controller (#1196) 2022-01-16 19:03:06 +00:00
didierlopes.eth
80587ba5b7 Create pull_request_template.md (#1191)
* Create pull_request_template.md

* Update pull_request_template.md
2022-01-15 23:55:34 +00:00
jmaslek
5499dad5c7 Add dividend calendar from nasdaq (#1189)
* Add dividend calendar from nasdaq

* tests + hugo

* missed controller test

* gst file

* Add timeout idea and better print message

* fix divcal

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-01-15 16:58:00 -05:00
jmaslek
a3255b96a0 Fix + improve efficient frontier (#1190) 2022-01-15 11:02:59 -05:00
Colin Delahunty
7412d2b61a Brotli.py check (#1188)
* Added brotli check

* Updated poetry and linting

* Modified to uninstall brotli

* Updated requirements

* Fixed YAML

* Added TOTO

* Added -y to pip uninstall

* Added user flag

* Using python -m

* Switched to conda

* Changed where we remove
2022-01-15 09:07:18 -05:00
Colin Delahunty
5d96f2959e Better pre-commit (#1185)
* Added jupyter black?

* Improved debug_mode

* Updated requirements.txt

* Added black[jupyter] to linting

* Reformatted jupyter notebooks

* Fixed black

* Updated requirements
2022-01-14 22:35:10 -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
jose-donato
d334d5e087 Features(crypto): added new commands to defi menu (#1169)
* adding new defi features and refactoring existing ones

* added tests and docs

* added zlot to ignored words

* markdown lint

* fixed pr issues

* fix hugo main.yml

* fix hugo main.yml

* added tests

* fixed prt issue

* added iv_surface failing tests

* added mocking to llama tests

* new tests

* skipped rich test for now
2022-01-14 11:14:15 +00:00
jose-donato
4d26b3f7db Features (crypto): adds two features to Defi menu (#1180)
* added new terra features

* removed wrong multiplication

* allow aterra without --address arg

* Updating tests : crypto/defi

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-01-14 09:30:25 +00:00