Commit Graph

2701 Commits

Author SHA1 Message Date
Colin Delahunty
517e89c4e8 Create CODE_OF_CONDUCT.md (#1433)
* Create CODE_OF_CONDUCT.md

Closes #1097

* Fixed linting

* Final linting fixes
2022-03-03 10:13:52 -05:00
Colin Delahunty
ee82ff0f98 Fix Bugs (#1432)
* Fixed stocks/ca bugs

* Fixed stocks/fa

* Fixed stocks/ins

* Fixed stocks/screener bugs

* removed http file and added http files to gitignore

* Fixed small issues

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-03 09:22:14 -05:00
minhhoang1023
3045792c21 Fix bug cmc key not set under keys menu (#1431) 2022-03-03 13:56:50 +00:00
minhhoang1023
dfcf18730f Remove controller import in __init__.py (#1430) 2022-03-03 14:27:42 +03:00
minhhoang1023
ee7551c831 Fix bug stocks candle (#1429)
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-02 23:56:29 +03:00
jmaslek
eb6d3ff8ac Add cramer recommendations (+ inverse :) ) (#1427)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-02 11:42:33 -05:00
minhhoang1023
c78188c83c Fix plot buf for grhist (#1428) 2022-03-02 15:46:40 +00:00
Theodore Aptekarev
51f4592270 Update sia and historical charts (#1424)
* Add external axes support and label to sia/vis

* Update sia tests (fix line endings)

* Fix legend position in historical charts
2022-02-28 23:51:49 +07:00
didierlopes.eth
6c6fcd312c Line custom markers to highlight events of interest (#1423)
* add gst letters only

* highlight events on qa/line

* update hugo

* add number to markers
2022-02-28 11:39:08 +00:00
didierlopes.eth
354bcf00a4 add gst letters only (#1422) 2022-02-27 22:14:15 -05:00
northern-64bit
e077859b95 Portfolio fix (#1419)
* Fixing Allocation Plotting Issue

* Linting

* More Linting
2022-02-26 13:54:39 -05:00
LBolte29
0f61f0b08e Log exceptions (#1393)
* log user settings, errors and exceptions
2022-02-26 10:56:10 +01:00
northern-64bit
884bb82fb5 Adding risk metrics to portfolio and qa (#1394)
* Adding es to qa and var to portfolio

* Fixing mathematics

* Adding es command to portfolio menu

* Linting

* Fixing tests

* Lint fixes

* lint fixes

* Adding hugo, tests and small fixes

* Fixes

* Fix mypy + portfolio model

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-25 13:02:01 -05:00
jose-donato
a5848af908 Crypto heatmaps (#1416)
* added hm feature

* updated requirements

* updated tests

* updated tests

* updated charts convention and removed duplicated autocompletion

* added percentage

* lint

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-25 12:15:50 +00:00
Colin Delahunty
24670c3b86 Improve integrated tests (#1415)
* Added verbosity and check for file

* Fixed

* Added tests

* Added tests

* Updated .gitignore

* Improved handling

* Fixed tests

* Updated record

* Fixed nested folder

* Standardized path output for windows

* fixed black issues

* Fixed pylint
2022-02-25 10:41:00 +00:00
Colin Delahunty
512f37bf92 Fixed QA exit bug (#1417)
* Fixed QA exit bug

* Fix

* Fixed pred
2022-02-23 14:28:40 -05:00
Colin Delahunty
a7aad74fbe Stock table (#1296)
* Added table

* Table changes

* Formatted table

* Added a table

* Got table working

* Fixed multiple tables

* Fixed James glitch

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-23 09:06:40 -05:00
minhhoang1023
576b847d91 Fix pipo & fipo limit arguments (#1411)
* Fix beautiful soup class

* Add --limit, and --start arguement for pipo

* Reverse commits from the other PR

* Make same changes for pipo for consistency

* Update tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-02-23 15:40:42 +03:00
minhhoang1023
e9842ba5f4 Fix header messages command (#1412)
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-02-23 10:16:01 +03:00
Colin Delahunty
dfcd515500 Refactored menu (#1354)
* Refactored menu

* Updated test

* Changes

* Added Lucas change

* Refactored

* Test fixes

* Fixed tests

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-22 19:54:29 -05:00
minhhoang1023
4d2e0252b3 Fix bug crypto whales (#1409)
* Fix beautiful soup class

* Fix whales bug

* Fix whales model and error missing API keys

* Undo changes in dcf model

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-02-23 00:01:03 +03:00
Theodore Aptekarev
a18977486e Fix hashrate chart legend position (#1406)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-22 23:17:52 +03:00
minhhoang1023
f82a7e00d5 Fix visualise sia metric (#1392)
* Fix beautiful soup class

* Update test cassettes

* Update test cassettes for dcf

* Update test cassettes for all failing tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-22 22:48:58 +07:00
Chavithra
d036af66e4 Updating tests : cryptocurrency/onchain/ethplorer (#1414) 2022-02-22 17:22:41 +03:00
Theodore Aptekarev
8c60ae999b Bump all deps following breaking changes in multiple libraries (#1413) 2022-02-22 15:20:08 +03:00
Theodore Aptekarev
af785d236a Bump tensorflow version to mitigate vulnerabilities (#1408) 2022-02-21 23:48:43 +00:00
minhhoang1023
7792c24fdb Fix bugs Stocks Candle moving average (#1369)
* Fix bugs moving average

* Update tests

* Remove second y axis & add MA to legend

* Update stocks_controller.py

spelling

* Fix test

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-21 22:32:14 +07:00
jmaslek
88ff92af69 extra ref in main (#1401) 2022-02-20 18:49:47 -05:00
Jeroen Bouma
135eedb8d9 Fix main.yml (#1400)
* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This is not a function on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This command does not exist on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Type in dcf help text

* Missing the index on dividends function

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* doesn't exists

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $ disp
usage: options {calc,yf,tr,info,pcr,load,exp,vol,voi,oi,hist,chains,grhist,unu,plot,parity,binom,vsurf,greeks,payoff,pricing,screen,cls,home,h,?,help,q,quit,..,exit,r,reset}
options: error: argument cmd: invalid choice: 'disp' (choose from 'calc', 'yf', 'tr', 'info', 'pcr', 'load', 'exp', 'vol', 'voi', 'oi', 'hist', 'chains', 'grhist', 'unu', 'plot', 'parity', 'binom', 'vsurf', 'greeks', 'payoff', 'pricing', 'screen', 'cls', 'home', 'h', '?', 'help', 'q', 'quit', '..', 'exit', 'r', 'reset')

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Create _index.md

* Create _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update and rename website/content/common/quantitative_analysis/data/_index.md to website/content/common/quantitative_analysis/raw/_index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Black formatting

* Update _index.md

* Update _index.md

* small ba edits

* black formatting code

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* black formatting code + mc axes

* Update _index.md

* Update _index.md

* Update _index.md

* regression

* regression

* Update _index.md

* codespell

* codespell

* flake8 fix

* Fix main.yml

* Add sia commands

Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-20 13:16:37 -05:00
Colin Delahunty
fae93c67ad Refactor Bot (#1326)
* First commit

* Renamed to bot

* change from discordbot to bots imports

* refractor cmds

+ autocomplete helpers
+ updated dps plots/candle
+ quote cmd

* isort fix

* Update helpers.py

* Added first refactor

* Added commands and refactor

* Added description handler

* Through grains

* ta + image border helper

* Added indices

* merged

* Finished econ

* options refactor

* dark_pool_shorts, candle, quote done

* pagination/dropdown logic to helpers + fixes

* dd/disc/insider done + add image logic to helpers

* linting

* removed plt style

* Almost done with Gov

* fixing conflicts

* Finished gov (excpect ones mentioned)

* screener done

* Test bug refactor

* Store changes to switch

* Finished refactor

* Fixed error

* Delete ::40

* Fixed issue

* Fixed black

* finished

* fixes

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-20 10:36:59 -05:00
Jeroen Bouma
3c9c2b9223 Complete check on Hugo Documentation (#1358)
* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This is not a function on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* This command does not exist on CA

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Type in dcf help text

* Missing the index on dividends function

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Fix missing index

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* doesn't exists

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $ disp
usage: options {calc,yf,tr,info,pcr,load,exp,vol,voi,oi,hist,chains,grhist,unu,plot,parity,binom,vsurf,greeks,payoff,pricing,screen,cls,home,h,?,help,q,quit,..,exit,r,reset}
options: error: argument cmd: invalid choice: 'disp' (choose from 'calc', 'yf', 'tr', 'info', 'pcr', 'load', 'exp', 'vol', 'voi', 'oi', 'hist', 'chains', 'grhist', 'unu', 'plot', 'parity', 'binom', 'vsurf', 'greeks', 'payoff', 'pricing', 'screen', 'cls', 'home', 'h', '?', 'help', 'q', 'quit', '..', 'exit', 'r', 'reset')

The command 'disp' doesn't exist on the /stocks/options/ menu.

2022 Feb 16, 08:49 (✨) /stocks/options/ $

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Create _index.md

* Create _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update and rename website/content/common/quantitative_analysis/data/_index.md to website/content/common/quantitative_analysis/raw/_index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Black formatting

* Update _index.md

* Update _index.md

* small ba edits

* black formatting code

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* black formatting code + mc axes

* Update _index.md

* Update _index.md

* Update _index.md

* regression

* regression

* Update _index.md

* codespell

* codespell

* flake8 fix

Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-20 13:40:58 +00:00
jmaslek
72bfa9e2d8 Portfolio optimization bugs (#1388)
* Better EF plotting

* Better error handling with optimization commands

* fix test

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-19 12:50:35 -05:00
jmaslek
4697efcf26 Squishy the bugs (#1391)
* options screener tickers to list(set(

* Fix fred rmv bug

* Fix prt

* Fix tests + change where list is called
2022-02-19 12:31:37 +00:00
LBolte29
fd58219282 adjusted format of logs (#1292)
adjusted format of logs
2022-02-17 12:33:59 +01:00
jmaslek
4e84bd2557 Clean up FA menu printing (#1383) 2022-02-16 17:14:37 +00:00
minhhoang1023
a16db8a6f1 Fix Stocks Due Dilliegence Supplier bug (#1372)
* Fix supplier bug

* Update test

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-16 14:07:56 +00:00
minhhoang1023
b3a379e838 Sort Stocks/DD/Arktrades by most recent (#1375)
* Sort trades from the most recent

* Update tests

* Update test

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-16 12:45:31 +00:00
jose-donato
5f5c596ed1 fixes stuff related to hugo server (#1374) 2022-02-16 10:44:09 +00:00
Colin Delahunty
5fedb8e042 Fix More Bugs (#1364)
* Fixed crypto/disc bug

* Fixed econ_fred

* Fixed forex_oanda

* More bug fixes

* Removed print

* Delete tags

* Changes

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-15 13:19:13 -05:00
minhhoang1023
a66ff41de4 Add Luna cir supply command from Smartstake (#1289)
* Add supported and trending endpoint

* Allow valid hour to be 0

* Update Hugo server

* Update Hugo optional arguemnts

* Update documents for start data type

* Adding terminal images

* Update _index.md

* Fix header error

* Update tests for api token sentiment investor

* Add test for Sentiment Investor View & Model

* Mock the token

* Changed color for trend command

* Mock test view and add document for Test README

* Add luna cir.supply from smartstake

* Add tests and instructions to get token

* Add tests

* Add Hugo server

* Mock key and token

* Add Smartstake to key controller

* Mock key and skip test module

* Skipp model test

Co-authored-by: Minh Hoang <minh@Minhs-MBP.Home>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-15 11:22:56 +07:00
minhhoang1023
53945ddbae Fix stocks asthetic style (#1355)
* Fix Theo's comment

* Fix tests failing

* Fix tests

* Make plot lines thinner

* Make ticks thinner globally by default

* Apply global style when any controller is initialized

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-02-14 19:11:05 +03:00
Jeroen Bouma
6c9999a9c8 Improve StockAnalysis functions (#1349)
* Improve StockAnalysis functions

* Add the denomination to the table data as well

* Just gotta make precommit run

* There we go

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-13 11:48:03 +01:00
Theodore Aptekarev
e1b6022b9c Global plot styles (#1228)
* Add default stylesheets

* Add terminal style helper class and global style initialization in cfg

* Style comments and docstrings

* Load rich terminal theme from config file

* Add application chart styles to candle charts

* Add todos

* Remove explicit color setting for some ta charts

* Add user styles folder to gitignore

* Update default stylesheets

* Add matplotlib font manager support

* Add matplotlib font manager support

* Update docstrings and default style

* Update stocks candle chart formatting (return fig to style title)

* Style common ta overlap view

* Make up and down market colors a part of the style helper

* Update stylesheets

* Style common ta volume view

* Style common ta momentum view

* Style common ta trend indicators view

* Style common ta volatility view

* Style common ta volume view

* Style common ta custom indicators view

* Fix styling bugs and remove the obvious time x lablel

* Style charts in the covid menu

* Set legend position to upper left in the mpl stylesheet

* Add mpl_rcparams configs for parameters not covered by stylesheets

* Remove font configuration files

* Update style class utility functions

* Implement passing external axes and style utility usage in ema & stoch

* Add theme watermark and output helpers

* Rename style to theme

* Update helper usage in ta/ma and ta/stoch

* Update style to theme in sample menus

* Style forex (#1305)

* Make tight layout optional 'cause mplfinance doesn't support it

* Apply global style to the forex menu

* Update code layout in oanda view and black

* Style common TA (#1315)

* Make tight layout optional 'cause mplfinance doesn't support it

* Apply global style to the forex menu

* Add linewidth to theme for use in mpf's addplots

* Add vwap to the stocks notebook api

* Update common/ta overlap to follow charting style

* Apply style on TerminalStyle init

* Enable infrastructure for excluding non-trading days from plots

* Update notebook api to include there and resolve bandit warning

* Update ta/common/overlap to exclude non-trading days

* Enable external ax, style and non-trading days in common/ta/momentum

* Enable external ax, style and non-trading days in common/ta/trend

* Update vwap to the argument naming convention

* Enable external ax, style and non-trading days in common/ta/volatility

* Enable external ax, style and non-trading days in common/ta/volume

* Enable external ax, style and non-trading days in common/ta/custom

* Fix controller tests

* Forgot to disable rewriting of the cassettes ...

* Fix controller errors that came up because a merge conflict

* Fix price label position on fib

* Fix line having wrong x values in fib

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>

* Style economy (#1308)

* Began converting

* Added alphavan_view

* Added CNN View

* Updated nasdaq view, fixed glitch

* Added fred

* Refactored URL

* Theo's requested changes

* Updated docstrings

* Updated tests

* Fixed pylint

* Fixed tests

* Theo changes

* Econ Fix

* Refactor chart style for Crypto context (#1306)

* Remove mock for gff

* Mock visualize_output helper function

* Refactor

* Fix plot helper

* Update legend loc

* Refactor mplfinance candle plot

* Fix errors in the helper function

* Fix binbook having the wrong call_ function name

* Remove hardcoded style params

* Resolve kwargs future warning from pandas

* Remove warnings import

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* funds + custom (#1311)

* funds + custom

* cleanup cleanup everybody everywhere

* Fix external axes conditional and a typo

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Add external axes mode to covid charts (#1328)

* Add portfolio menu plots (#1318)

* Portfolio view plots (commenting out report stuff)

* PA Menu broken.  Commenting out and fix tests

* portfolio optimization

* comment out commented api line

* Add notes on disabling the pa submenu

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Plot updates in common BA (#1335)

* Add external axes support to common/ba/finbrain

* Add external axes support to common/ba/twitter

* Add external axes support to common/ba/google

* Add external axes support to common/ba/sentimentinvestor

* Add sentimentinvestor to the notebooks API

* Fix tests

* Etf refactor (#1323)

* Refactored no ETF

* Fixed gtff import

* Fixed tests

* Fix pie chart style

* Refactored etf/candle

* Added pylint fix

* Fixed tests

* Update candle chart layout

* Update etf controller test

* Remove strange binary file

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Expose ETF candle function in the notebooks API

* Common BA and Common QA charts update (#1342)

* Add external axes support to common/ba/finbrain

* Add external axes support to common/ba/twitter

* Add external axes support to common/ba/google

* Add external axes support to common/ba/sentimentinvestor

* Add sentimentinvestor to the notebooks API

* Fix tests

* Update stylesheet files

* Refactor charts for common/qa

* Update the forgotten line plot

* Update tests

* Add missing arg to a docstring

* Remove scientific notation

* Black imports

Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>

* Options refactor (#1324)

* Fixed alphaquery_view

* finished options

* Fixed pylint

* Fixed tests

* Fixed tests

* Fixed tests

* update yfinance

* Tradier + Chartexchange

* change mocks from gtff to theme.visualize output

* tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>

* Refactor Stocks menu (#1325)

* Fix backtesting menu

* Refactor comparison analysis

* Refactor Dark pool shorts

* Refactor rest of menu

* Fix test

* Fix tests failing

* Fix tests fail

* Fix test failing

* Remove record mode=none to record new output

* Rewrite test output

* Rewrite test outputs

* Adding more rewritten test output

* Mock plt.show

* Mock missing plt.show

* Missing @pytest.mark.vcr

* Updating tests : common/behavioural_analysis/finbrain

* Improve notebooks API coverage for CA and DPS

* Silence annoying flake8 warning

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Charts update for common/pred (#1344)

* Add external axes support to common/ba/finbrain

* Add external axes support to common/ba/twitter

* Add external axes support to common/ba/google

* Add external axes support to common/ba/sentimentinvestor

* Add sentimentinvestor to the notebooks API

* Fix tests

* Update stylesheet files

* Refactor charts for common/qa

* Update the forgotten line plot

* Update tests

* Add missing arg to a docstring

* Style pred helper and controllers

* Update ETS plot

* Update plots in KNN and pred helper

* Update plot and pretty table for arima

* Update plot for common/pred/regression

* Refactor mc_view

* Fix linting

* Fix mypy

* Move plot title to the axis level to make more vertical space

Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>

* linter

* Update common/ba test data

* Change etf candle to match stock candle

* try updating sia test

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-02-11 20:33:16 -05:00
jmaslek
0c0ef39b6c i missed some print s earlier (#1348) 2022-02-10 22:08:36 -05:00
jmaslek
41df272c76 bugs (#1347) 2022-02-10 20:30:06 -05: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
minhhoang1023
d9930f9b45 Fix bug SI (#1346) 2022-02-11 02:24:19 +07:00
teh_coderer
af4d09e237 readme links fix (#1339)
config_discordbot.py link fix
CONTRIBUTING.md link fix

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-10 12:06:58 -05:00
jmaslek
9ead0f4e8c stocks/fa Tables were not showing the indices... (#1338)
* Indexed in print table

* tests

* fix tests ?

* delete a bunch of shit then rerun with record mode

* change test_info from gme to aapl

* delete files + change from gme to aapl + record-mode=once

* rewrite expcted

* Updating tests : stocks/fundamental_analysis/test_yahoo_finance_model

* Updating tests : stocks/fundamental_analysis/test_yahoo_finance_model

* format black

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-02-10 10:24:19 -05:00
Jeroen Bouma
cf37111b7f Website fix sia (#1345)
* Adjust SIA commands accordingly

* Remove old pages

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-10 09:39:35 -05:00