Commit Graph

191 Commits

Author SHA1 Message Date
Jeroen Bouma
ffef8ab532 Add in Hugo docs for Trading Hours and Behavioural Analysis (#1868)
* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* update to index list

* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* guides: behavioural anaylsis & trading hours

* linter

* Add in Hugo Docs for tradinghours and behavioural analysis

* Move things around, fix some errors

* Update _index.md

* Update _index.md

* Update _index.md

* Small fix

* Add in better Discord link

* Adjust BA location

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: james <jmaslek11@gmail.com>
2022-06-02 11:47:15 +02:00
didierlopes.eth
49560ab880 Econometrics UX (#1878)
* improve econometrics load, custom_reset

* improve econometrics UX and remove options cmd

* fix sector and industry analysis

* improve econometrics and export data from main menu

* improve toolbar vis to add helper -h

* imporve type and desc

* add logger

* econometrics improve ols

* improve root and norm commands

* more cleanup

* improve econometrics commands

* api econometrics

* tests econometrics

* improve index command

* change modify to add,delete,combine and rename

* minor fix

* update docs

* update pylint

* update pylint

* tests

* Update documentation

* fix type command

* index

* improve more econometrics for Jer

* improve docs

* fix tests

* fix test

* remove help

* Add in robustness for when you select two dependent variables

* Update Website documentation

Co-authored-by: JerBouma <jer.bouma@gmail.com>
2022-06-01 12:41:45 +01:00
jp
b9e097ef8d Bug/crypto defi vaults command broken #1822 (#1874)
* 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

* Fix defi coindix vaults. Risk param is disabled. Disable urllib3 warning bout not verified request url

* update tests for coindix - cassetes, csvs, txts

* update vaults docs

* Update _index.md

* run crypto tests with record_mode=rewrite

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-01 12:16:03 +01:00
Jeroen Bouma
f7f16b2597 Add in Portfolio Optimization, Dark Pools, Discovery and Comparison Guides (#1887)
* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* update to index list

* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* guides: behavioural anaylsis & trading hours

* linter

* Add in Portfolio Optimization, Dark Pools, Discovery and Comparison Guides

* Update _index.md

* Update _index.md

* Update _index.md

* Remove images

* Some small improvements

* Update _index.md

* Add GIF

* ABC

* Add files via upload

* Fix small mistake

* Remove installer explanation since it is better documented in Hugo

* Small fix

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: james <jmaslek11@gmail.com>
2022-05-31 18:20:12 +01:00
James Maslek
7db8fa04e5 Clean up forex menu. Add in polygon load (#1871)
* Clean up forex menu.  Add in polygon load

* Forex candle matches stock with --ma option

* fxempire tests

* forex controller tests

* Test polygon model

* Hugo

* oops

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-05-26 20:54:34 +01:00
Colin Delahunty
75d0832682 Improved fraud function (#1855)
* Improved fraud function

* Updated docs

* Didier fixes

* Fixed test

* Added help

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-05-26 09:59:05 +01:00
martinb-bb
5f8eb43620 Time-series forecasting (Exponential Smoothing) with Darts Integration (#1851)
* Working exponential with bugs

* utilizing business datatime + fillers

* working figures

* expo with more functionality

* historical forcasting feat.

* numeric values for forcasted days

* print pretty predictions

* formatting

* code cleanup

* doc strings fix

* more docs

* quick fix

* refactoring

* poetry updates

* typo

* test script update

* update requirements.txt

* refactoring and Hugo website

* Update _index.md

* reverting poetry and requirements for now.

* minor mod and removal of space

* Update readme for forecasting

* removal of old TF version

* reqs and poetry

* linting

* merge main.yml from main

* supress warnings due to lib version change

* reverting main.yml

* retrying expo on main.yml

* fixing fundamentalanalysis version

* update poetry fundamentalanalysis

* type casting arg parse

* seasonal period default update

* update en.yml

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-05-24 22:33:56 +01:00
Jeroen Bouma
b992d17c87 Update Hugo documentation by refractoring (#1860)
* Update documentation

* Update _index.md
2022-05-24 10:43:56 +02:00
Jeroen Bouma
be24c3abd6 Add in Guides documentation to the Hugo documentation (#1845)
* Add in Guides documentation to the terminal

* Don't need eg twice

* Update _index.md

* Delete website/content/terminal/getting_started/images directory

* Update _index.md

* Delete website/content/terminal/introduction_to_stocks/images directory

* Adjust css so that tables and lists also have white text

* Small small change

* update white svg

Co-authored-by: jose-donato <zmcdonato@gmail.com>
2022-05-23 11:13:07 +02:00
didierlopes.eth
0e3b62e143 Portfolio improvements (#1818)
* improve portfolio controller

* improve menu ux with disabling command when port or bench are not loaded

* allow custom reset with benchmark and portfolio loaded

* bench needs portfolio loaded to use start date, reflect that

* fix tests

* allow to see sum of a portfolio holdings

* add r-square to portfolio

* add skewness of data

* add kurtosis

* add stats

* allow perf command to select a period

* add yearly returns to cumulative return plot

* add individual rolling volatility

* add individual rolling sharpe

* add individual rolling sortino

* add individual rolling beta

* add period to cumulative returns

* clean up on aisle 5

* minor fix

* add volatility, sharpe ratio, sortino ratio and maximum drawdown ratio

* remove duplicated metrics

* check for portfolio and benchmark more modular

* fix tests

* remove sqrt(N) and N from sharpe and sortino calculations

* allow hold to export raw data from tail

* automatically add space before and after table

* add portfolio holdings in percentage

* fix relative dates to be more accurate

* refactor metric command to allow to select a metric of interest and check different periods

* fix cumulative return and implement new yearly return command

* add daily returns graph

* add distribution of daily returns command

* add monthly returns command

* add summary command with multiple metrics for a specific period

* calculate yearly (out)performance

* fix show

* rbeta with benchmark of 1

* improve mret style

* improve title of distribution

* improve volatility

* minor improvement in doc

* improve mret and yret

* tests

* update portfolio content on hugo docs

* fix ycrv hugo docs

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* 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 issue

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-05-19 14:26:37 +01:00
Lefteris Platis
54a1b6f545 Feature/hedge (#1768)
* [Bug] Incorrect log for reddit keys. #1733 fix

* Create new feature-hedge

* Significantly improve code of hedge menu

* More robust

* Robustness

* Fix tests

* Fix can't multiply sequence by non-int of type 'numpy.float64' error

* Temporary fix of singular matrix error. Return first feasible solution

* Update Hugo Documentation

* Combining menus and cleaning up code

* Tidy up call_exp

* Update tests Round 1

* Update tests Round 2

* Fix linting error

* Fix linting?

* Fixed glitch

Co-authored-by: JerBouma <jer.bouma@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-05-14 13:27:26 +01:00
Jeroen Bouma
7e37ed0444 Add comparisons between the portfolio and benchmark including an orderbook sheet (#1773)
* Add in Portfolio Holdings for Attribution functionality

* Update a whole bunch

* Small bugfix and linting

* Remove print statements

* Update Excel to match Yahoo Finance categorization

* Make sure portfolio and benchmark are aligned

* Add in benchmarks, robustness and bugfixing

* Improve the spreadsheet

* Add in allocation model and improve portfolio features

* Bugfixing and more equities in the template

* Bugfix

* Bugfixing

* Add tests and website stuff

* WORK

* Clean up the code

* Add back in terminal changes

* Missing an enter imo

* Documentation fix

* Small fix

* Change code because tests cant handle formatting

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-05-14 12:42:01 +01:00
jose-donato
27fe13172d Fixes 1636 - hugo docs showing white bg (#1800)
* fixed 1636

* fix merge issue

* fix hugo docs issue

* fixed dos

* Website : fixing stocks/tradinghours

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-05-12 01:34:38 +02:00
Szymon Błaszczyński
33a041e5bf Trading hours stock feature (#1697) 2022-05-11 19:51:03 +01:00
Theodore Aptekarev
2ce3fe460b Fix bugs, remove feargeed and improve help messages (#1767)
* Fix defi lending and borrowing (test_crypto_defi.openbb)

* Update Defi test data

* Remove cnn feargreed command from economy menu

* Fix stocks/ba integration tests

* Fix whale alert redirects blocking the keys menu

* Add failed request handling to whale alert command

* Remove feargreed from hugo

* Remove feargreed from bot

* Warn that portfolio optimization can take a long time

* Remove feargreed from project deps

* Update welcome message

* Update requirements txt

* Fix welcome message test

Co-authored-by: piiq <piiq@tinag.ru>
2022-05-05 18:18:58 +03:00
jmaslek
7d55b6fe76 Polygon stock load (#1757)
* Add in polygon stock load

* Add in tests for polygon stock load

* Add in a `codes` command to get IDs from polygon

* Add controller + website content

* update test

* didier - you still a pain

* oops

* this is what happens with your import request

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-05-03 16:41:49 +01:00
Riskfolio
34bc290dde New portfolio optimization menu (#1642)
* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Update _index.md

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* configure portfolio optimization parameters ini

* minor improvement

* Revert "New-Portfolio-Optimization-Menu"

This reverts commit b4b7169cfb.

* Add in Excel functionality and improve the capabilities

* Add Excel load function

* Tidying up the functions

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Re-add my code

* Some spacing and details

* Add folder structure for portfolio

* Update terminal file loading

* New-Portfolio-Optimization-Menu

* Make it possible to move from params to po with loaded file

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Making the connection between the parameters file and the functions

* Add in allocation and new params files

* Improve params default settings

* New-Portfolio-Optimization-Menu

* Update Portfolios and Params sheets

* Update sheets

* Update command to load in correct sheet

* Adjust function to only read specific columns

* Update portfolio

* Small correction

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Patched up show error

* Add Equity portfolio

* Make functions more robust

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Add in Params documentation

* Fixing Linting

* Add in Requirements and Poetry Updates

* Update website

* linting

* Update tests

* Minor fix

* remove unneccesary READMEs

* Remove expected variable type

* Improve documentation

* Clean up the code

* Refractoring

* Adjust names to make it OS friendly

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-05-03 13:54:01 +02:00
jose-donato
e3cd8adf73 Add Messari crypto dd commands (#1711) 2022-05-02 22:21:19 +01:00
jbushago
e2e4288254 Add command to determine Reddit sentiment about a ticker/company. (#1744)
* Add API for Reddit sentiment command.

* Add helper functions for Reddit sentiment command.

* Add implementation of Reddit sentiment command.

* Update BA tests to include reddit_sent.

* Add documentation for reddit_sent.

* Add link to reddit_sent from main.yml.

* Refactor get_sentiment in order to avoid globals and make empirical scaling more obvious.

* Add default arguments to Reddit sentiment functions.

* Add option to display raw sentiment values in reddit_sent command.

* Add external axis to reddit_sent command.

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-28 12:08:44 +03:00
minhhoang1023
e59a30b188 Add crypto DD commands (#1710)
* Add github activity over time

* Create tests

* Update default days in chart command

* Add san package to poetry

* Fix tests failed

* Generate fixtures

* Fix tests failed

* Remove sanpy package and use requests instead

* Adjust index

* Add hugo server

* Fix datetime

* Update tests

* Revert "Update tests"

This reverts commit ffe03a7224.

* Fix tests

* Regenerate cassettes & filter api tokens

* Fix windows issues

* Fix PR comments

* Pass tests & fix comments
2022-04-27 19:49:30 +07:00
jose-donato
05c0ea0d8f Adds ross index (#1723)
* added rossidx

* added command to obb script

* horizontal + wrap

* separate charts

* updated commands

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-22 10:00:10 +01:00
jmaslek
893e68efdc Fx forward rates (#1721) 2022-04-20 11:56:02 -04:00
northern-64bit
fd2839c913 Adding everything from Risk Metrics PR based on new main branch (#1666) 2022-04-15 11:38:37 +01:00
Guan Quan
73187d9e17 Add cost to borrow of stocks. Data from IBKR (#1663)
* add ctb to dps

* add test for ctb

* reformat using black

* fix tests for ctb

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-04-14 20:27:34 -04:00
jose-donato
a12e0946da Starts crypto tools menu (#1668)
* started crypto tools menu

* allow zero float

* added obb script

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-04-14 14:24:42 +07:00
jose-donato
670402396e Replaces coingecko deprecated commands (#1650)
* removes cgproducts and cgplatforms and replaces with cr

* add ignore word

* added .openbb script

* reverted crypto change

* doc

* failing tests

* trying chart and fixed minh issues

* Create barh

* Fix ticker labels

* fix test

* loanscan mock

* defi test

* defi test

* Fix defi test

Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-04-13 11:12:54 +07:00
jose-donato
01391c2564 New Open Source menu (#1603)
* adds os menu

* remove tests

* fixed tests

* fixed date in sh

* updated alt controller tests

* updated api fecthing/handling

* lint

* updated website folder name and tests

* alt tests

* tests

* tests

* keys for github

* updated tests

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-04 19:08:50 +03:00
didierlopes.eth
1e24d02e1e Powerful stock search (#1617)
* improve stock search dramatically

* docs

* Update _index.md

* fix tests

* black formatter

* fix tests, some...

* Tests : Fixing stocks>stocks_controller

* Tests : Fixing stocks>stocks_helper

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-04-03 16:20:20 +01:00
Chavithra
eb6b39cf14 Fix missing website links (#1593) 2022-03-29 20:48:54 +02:00
jose-donato
6d2ad33e11 Hugo docs renaming (#1587)
* renaming

* image

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 20:45:58 +03:00
jmaslek
b71abcfbf4 Updating some names (#1575)
* quick econ fix

* black

* keys and feature flags

* terminal name 👀

* some more replacements

* some more replacements

* edit pyproject

* gst -> openbb

* add example portfolios back to git

* Update api from gst

* sorry.  skipping some tests

* another round of names

* another round of test edits

* Missed some .gst refs and update timezone

* water mark stuff

* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS

* fix more GST to OpenBB Terminal

* Logging : merge conflicts with main

* Revert wrong files

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 09:46:26 -04:00
jmaslek
93c6e63533 Couple style things + close some issues (#1548) 2022-03-24 19:27:19 -04:00
Danglewood
b1b3a4c04b Discord Bot Documentation Update For Intraday T/A (#1537)
* adds new features to Bot menu: dd/borrowed & econ/repo

created entries for new bot features: dd/borrowed & econ/repo

also added a fixed broken feature that had been left off - screener/historical

* created path and file for /bots/discord/dd/borrowed/_index.md

created path and file for /bots/discord/dd/borrowed/_index.md

* created path and file for /bots/discord/econ/repo/_index.md

created path and file for /bots/discord/econ/repo/_index.md

* removed screener/historical - feature does not work

removed because this feature does not work.

* updated to include intraday option

updated to include intraday option

* updated to include intraday option

updated to include intraday option

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* corrected

* corrected

* corrected

* corrected

* corrected

* updated to include intraday options

updated to include intraday options

* changed ta cg --> ta-mom cg

changed ta cg --> ta-mom cg

* changed ta donchian --> ta-vlt donchian

changed ta donchian --> ta-vlt donchian

* EMA is now under ta-ma options

EMA is now under ta-ma options

* ta sma is now under ta-ma options

ta sma is now under ta-ma options

* ta hma is now under ta-ma options

ta hma is now under ta-ma options

* ta wma is now under ta-ma options

ta wma is now under ta-ma options

* ta zlma is now under ta-ma options

ta zlma is now under ta-ma options

* consolidated moving averages into ta-ma

consolidated moving averages into ta-ma

* updated to include intraday options

updated to include intraday options

* changed ta kc --> ta-vlt kc

changed ta kc --> ta-vlt kc

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* updated to include intraday options

updated to include intraday options

* Consolidated Discord Bot Moving Averages

Consolidated Discord Bot Moving Averages

* updated to include intraday option

updated to include intraday option

* updated to include intraday options

updated to include intraday options

* created path and file for /bots/discord/options/smile/_index.md

created path and file for /bots/discord/options/smile/_index.md for /opt smile

* added /bots/discord/options/smile

added /bots/discord/options/smile

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-24 18:57:28 -04:00
Jeroen Bouma
fbc4531ff3 Update vis command from sia so that it adjusts for currency (#1518)
* Update sia so that it adjusts for currency

* Update _index.md

* skip test

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-24 16:44:09 -04:00
Jeroen Bouma
1f261a658e Improve labelling and some minor fixes (#1530)
* Improve labelling and some minor fixes

* Fix for different unit notation

* Update _index.md

* Some error handling

* try editing the econdb cassettes?

* mock patch visualize output?

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-23 18:40:54 -04:00
jmaslek
5f269585b6 Small economy add-ons (#1541)
* Add in returns flag to economy indices + test it

* Add in a yield curve function

* Add test

* Add test

* Fix line color
2022-03-23 21:23:34 +00:00
Jeroen Bouma
f761db8f98 Improve graph design for Sia's metric and remove legend (#1531)
* Improve graphing (wrapping, font) and remove legend and add to company names

* Add unit to xticks

* Update _index.md
2022-03-21 20:57:33 +00:00
Jeroen Bouma
07719b1923 Upgrade Economy Menu (#1444)
* Initial start-up of the Economy revamp

* Add Country Codes

* Initial Revamp of the Menu

* Add indices

* Integrate FRED menu into the Economy menu

* Add Treasury rates for the United States

* Significantly speed up treasuries function and misc

* Add in inflation indexed average

* Optimise treasury code + move raw and limit parameters

* Attempt to fix tests

* Fingers crossed tests pass

* Fix exports

* Add multi-plotting functionality as well as robustness of functions

* Improve documentation Plot command

* Please tests.. work.

* Update tests, fix currency exchange rate and some misc

* Does download work?

* Tests. Work. Now.

* This can't be it right?

* Renew tests

* Some formatting

* Update _index.md

* Delete website/content/terminal/economy/cpi directory

* Update _index.md

* Delete website/content/terminal/economy/currencies directory

* Delete website/content/terminal/economy/glbonds directory

* Delete website/content/terminal/economy/usbonds directory

* Delete website/content/terminal/economy/indices directory

* Update _index.md

* Delete website/content/terminal/economy/gdp directory

* Delete website/content/terminal/economy/gdpc directory

* Delete website/content/terminal/economy/grains directory

* Delete website/content/terminal/economy/inf directory

* Delete website/content/terminal/economy/meats directory

* Delete website/content/terminal/economy/metals directory

* Delete website/content/terminal/economy/softs directory

* Delete website/content/terminal/economy/unemp directory

* Delete website/content/terminal/economy/tyld directory

* Delete website/content/terminal/economy/fred directory

* Create _index.md

* Create _index.md

* Rename website/content/terminal/macro/_index.md to website/content/terminal/economy/macro/_index.md

* Create _index.md

* Create _index.md

* Delete website/content/terminal/economy/energy directory

* Create _index.md

* Improve documentation and re-do tests

* Rename to make it work

* Add Script

* fix env yaml with new cvxpy

* Make plot command make nice legends

* Forgot one

* clean up yfinance index commands for errors

* Update images since I made them prettier.

* add mocking for yf download

* redoing tests...again

* Improve plotting by placing the legend outside the graph

* Move Legend to outside the graph and improve -sp argument from macro

* Details

* Bugfix

* Update _index.md

* Update _index.md

* Update _index.md

* Even prettier

* Update _index.md

* Fix treasury legend

* Re-update tests, does this work?

* Always fill index_data and check if show_error on True does anything

* ...

* Update workflows

* Revert "Update workflows"

This reverts commit d7c0d22fe0.

* Attempt 12331212312 to Fix Tests

* Attempt 12331212312 to Fix Tests #2

* Ok, this is it?

* Almost there James.. almost there..

* Neater way of plotting -y1 goes in column 1 and -y2 in column 2

* Fred legend should be same size

* Update _index.md

* Change it so VIX == vix for Indices

* Add options command and remove it from plot

* Typo

* Renew tests, add more countries and apply wrapping to plots

* Reduce title size, doesn't have to be so large

* Quick start of prediction from economy

* Quick pred cleanup

* test

* Clean up pred `pick` and add hugo

* Add in qa to economy while I am here

* Add in qa menu

* mock visualize output and export data

Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-19 13:02:51 -04:00
jose-donato
107ad03ffb Adds command to get anchor protocol stats (#1517)
* added feature

* updated image and failing test

* typo

* added command to test script

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-19 12:03:55 +00:00
Colin Delahunty
93dc34b59c Code Without Documentation BANNED (Contributors Outraged) (#1487)
* Adds working checker

* Removed unused import

* Added dupont docs

* Added arg parser

* Removed Directory

* Updated commands

* Added hook to actions

* Added handling for no args

* Added proper ignores to actions

* Fixed tests

* Added Oanda documentation

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-16 15:21:28 -04:00
jmaslek
a5dd351433 Add functionalities to stocks/load (#1496)
* Add custom loading to stocks

* Add month and week to yf load + tests + hugo

* try fixing first test

* why did we still have tests for custom menu?

* fix ta load test

* rerun stock helper tests

* ungoof naming
2022-03-16 14:19:21 -04:00
minhhoang1023
784ceb6316 Add Crypto Market Cap dominance from Messari (#1467)
* Add market cap dominance from Messari

* Add command to script

* Add tests and hugo server

* Update tests

* Fix tests

* Remove test view

* Fix Jose's comments

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-14 23:53:52 +07:00
Colin Delahunty
b200edfbe6 Improve Dupont and Fraud Commands (#1477)
* Added charting and export

* Fixed issue

* Fixed import error
2022-03-12 16:32:34 -05:00
Colin Delahunty
3d5cbcb2ae Extended Dupont (#1475)
* Added dupont, fixed fraud

* Added dupont to scripts

* Added better handling

* Added test fixes

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-12 14:28:25 -05:00
jmaslek
3ef4db5b70 Options binom percent (#1473)
* Fix percentage on graph and clean up wording

* Fix percentage on graph and clean up wording
2022-03-12 01:18:04 +00:00
Colin Delahunty
fd5e56dd49 Improved Fraud Command (#1472)
* Added better data

* improved docs

* Fixed some tests

* Fixed tests
2022-03-11 18:42:29 -05:00
didierlopes.eth
15fd8f56df improve initial hugo server content (#1471) 2022-03-11 20:17:44 +00:00
Theodore Aptekarev
1b914d45e8 Econometrics notebooks API (#1462)
* Add initial implementations of the API wrappers

* Fix typos in docstrings

* Fix typos an markdown linting errors in docs

* Ditch using insecure eval in favor of secure getattr

* Add GST notebooks API documentation

* Add notebook screenshot to the GST API docs
2022-03-11 22:26:02 +03:00
didierlopes.eth
c3e68f3127 Improve Hugo Documentation for Bots (#1468)
* refactor hugo

* improve text on Hugo server

* improve more hugo

* Update _index.md
2022-03-11 14:16:52 +00:00
jmaslek
c6dead943c Add in Cramer recs by Ticker (#1457)
* Add cramer by ticker and move both to ba

* Fix apis and move existing tests

* Add new tests + gst

* Hugo

* Update _index.md

* Fix tests

* quick changes
2022-03-10 10:27:29 -05:00