Commit Graph

137 Commits

Author SHA1 Message Date
didierlopes.eth
7090d0643a Implement market cap command (#1437)
* add gst letters only

* implement market cap command

* add tests

* update hugo with mktcap cmd

* add mktcap to integrated tests

* Update _index.md

* update test fa data
2022-03-06 15:44:01 +03:00
Jeroen Bouma
f2ca215132 Econometrics Menu (#1403)
* Add Statistics Menu

* Add Granger Causality test

* Apply Black formatting

* Add Cointegration Tests

* Adjust plotting for Cointegration test

* Add Significant parameter to Cointegration tests

* Move regression functions to seperate .py files

* Progress on Panel Data

* A lot of progress for Panel Data

* Make functions robust and improve documentation

* Re-enable Breusch-Godfrey

* Add modify functionality

* Improve modify functionality

* Add Breusch-Pagan heteroscedasticity test

* Capitalize a word

* Include documentatin for the Statistics Menu

* Update _index.md

* Update _index.md

* Update _index.md

* Fix export statements and add Example datasets

* Update example with Longley's dataset

* Update documentation with a legit source

* Compare the results from each regression models based on the wage_panel dataset

* Updated with all relevant types of regression tables

* Update with all relevant regression types for Panel data

* Update _index.md

* Add change column type, improve OLS, add time and entity effects for FE

* Update documentation and fix a small bug

* Add in Statistics menu, replacing Custom menu

* Remove custom menu

* Add in documentation

* Add in gst files

* Cointegration can be used on any amount of columns

* Add Tests

* Make tests time invariant

* Update Poetry and Requirements

* Change name of Statistics menu to Econometrics menu

* Rename scripts

* Add type in Documentation

* Change names from Statistics to Econometrics

* Add graph

* Update tests with rounding and naming

* Make minor adjustments to fix the tests

* Updating tests : allow extra args for capture

* Apply recorder formatting

* Adding some minor formatting

* Fix error with MyPy

* Attempt to fix MyPy annoyance

* super small style things

* Fix small bugs and add plot command to dwat

* Small description mistake

* Update documentation with missing argument

* Update styling

* Add error handling and add improve show functionality

* Fix merge issue

* Allow import from custom_imports

Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-04 21:44:59 +01:00
didierlopes.eth
2b839f609f Add demo and remove roadmap (#1434)
* add gst letters only

* this roadmap was very misleading

* Update README.md

* Update README.md

* have bot toc closed by default
2022-03-04 01:01:10 +00:00
Danglewood
33de5e2b87 Discord Bot Hugo Server Documentation (#1410)
* Directory Structures for Discord Bot Hugo Server

Directory Structures for Discord Bot Commands Built:

```
  - name: "bot"
    ref: "/bot"
    sub:
      - name: "Discord"
        ref: "/bot/discord"
        sub:
          - name: "Introduction"
            ref: "/bot/discord/introduction"
          - name: "Installation Instructions"
            ref: "/bot/discord/installation"
          - name: "Support"
            ref: "/bot/discord/support"
          - name: "Commands List"
            ref: "/bot/discord/commands"
          - name: "Price Commands"
            ref: "/bot/discord/price"
              sub:
                - name: "quote"
                  ref: "/bot/discord/price/quoute"
                - name: "candle"
                  ref: "/bot/discord/price/candle"
                - name: "btc"
                  ref: "/bot/discord/price/btc"
                - name: "eth"
                  ref: "/bot/discord/price/eth"
                - name: "sol"
                  ref: "/bot/discord/price/sol"
          - name: "Options Commands"
            ref: "/bot/discord/options"
            sub:
              - name: "opt unu"
                ref: "/bot/discord/options/unu"
              - name: "opt info"
                ref: "/bot/discord/options/info"
              - name: "opt vsurf"
                ref: "/bot/discord/options/vsurf"
              - name: "opt oi"
                ref: "/bot/discord/options/oi"
              - name: "opt vol"
                ref: "/bot/discord/options/vol"
              - name: "opt overview"
                ref: "/bot/discord/options/overview"
              - name: "opt hist"
                ref: "/bot/discord/options/hist"
              - name: "opt grhist"
                ref: "/bot/discord/options/grhist"
              - name: "opt chain"
                ref: "/bot/discord/options/chain"
          - name: "Technical Analysis Commands"
            ref: "/bot/discord/ta"
            sub:
              - name: "ta summary"
                ref: "/bot/discord/ta/summary"
              - name: "ta view"
                ref: "/bot/discord/ta/view"
              - name: "ta recom"
                ref: "/bot/discord/ta/recom"
              - name: "ta obv"
                ref: "/bot/discord/ta/obv"
              - name: "ta fib"
                ref: "/bot/discord/ta/fib"
              - name: "ta ad"
                ref: "/bot/discord/ta/ad"
              - name: "ta cg"
                ref: "/bot/discord/ta/cg"
              - name: "ta fisher"
                ref: "/bot/discord/ta/fisher"
              - name: "ta cci"
                ref: "/bot/discord/ta/cci"
              - name: "ta ema"
                ref: "/bot/discord/ta/ema"
              - name: "ta sma"
                ref: "/bot/discord/ta/sma"
              - name: "ta wma"
                ref: "/bot/discord/ta/wma"
              - name: "ta hma"
                ref: "/bot/discord/ta/hma"
              - name: "ta zlma"
                ref: "/bot/discord/ta/zlma"
              - name: "ta aroon"
                ref: "/bot/discord/ta/aroon"
              - name: "ta adosc"
                ref: "/bot/discord/ta/adosc"
              - name: "ta macd"
                ref: "/bot/discord/ta/macd"
              - name: "ta kc"
                ref: "/bot/discord/ta/kc"
              - name: "ta adx"
                ref: "/bot/discord/ta/adx"
              - name: "ta rsi"
                ref: "/bot/discord/ta/rsi"
              - name: "ta stoch"
                ref: "/bot/discord/ta/stoch"
              - name: "ta bbands"
                ref: "/bot/discord/ta/bbands"
              - name: "ta donchian"
                ref: "/bot/discord/ta/donchian"
          - name: "Stock Screener Commands"
            ref: "/bot/discord/screener"
            sub:
              - name: "scr presets_default"
                ref: "/bot/discord/screener/presets_default"
              - name: "scr presets_custom"
                ref: "/bot/discord/screener/custom"
              - name: "scr historical"
                ref: "/bot/discord/screener/historical"
              - name: "scr overview"
                ref: "/bot/discord/screener/overview"
              - name: "scr technical"
                ref: "/bot/discord/screener/technical"
              - name: "scr valuation"
                ref: "/bot/discord/screener/valuation"
              - name: "scr financial"
                ref: "/bot/discord/screener/financial"
              - name: "scr ownership"
                ref: "/bot/discord/screener/ownership"
              - name: "scr performance"
                ref: "/bot/discord/screener/performance"
          - name: "Due Diligence Commands"
            ref: "/bot/discord/dd"
            sub:
              - name: "dd est"
                ref: "/bot/discord/dd/est"
              - name: "dd sec"
                ref: "/bot/discord/dd/sec"
              - name: "dd analyst"
                ref: "/bot/discord/dd/analyst"
              - name: "dd supplier"
                ref: "/bot/discord/dd/supplier"
              - name: "dd customer"
                ref: "/bot/discord/dd/customer"
              - name: "dd arktrades"
                ref: "/bot/discord/dd/arktrades"
              - name: "dd pt"
                ref: "/bot/discord/dd/pt"
          - name: "Dark Pool Shorts Commands"
            ref: "/bot/discord/dps"
            sub:
              - name: "dps hsi"
                ref: "/bot/discord/dps/hsi"
              - name: "dps shorted"
                ref: "/bot/discord/dps/shorted"
              - name: "dps psi"
                ref: "/bot/discord/dps/psi"
              - name: "dps spos"
                ref: "/bot/discord/dps/spos"
              - name: "dps dpotc"
                ref: "/bot/discord/dps/dpotc"
              - name: "dps pos"
                ref: "/bot/discord/dps/pos"
              - name: "dps sidtc"
                ref: "/bot/discord/dps/sidtc"
              - name: "dps ftd"
                ref: "/bot/discord/dps/ftd"
          - name: "Government (USA) Commands"
            ref: "/bot/discord/gov"
            sub:
              - name: "gov histcont"
                ref: "/bot/discord/gov/histcont"
              - name: "gov lobbying"
                ref: "/bot/discord/gov/lobbying"
              - name: "gov toplobbying"
                ref: "/bot/discord/gov/toplobbying"
              - name: "gov lastcontracts"
                ref: "/bot/discord/gov/lastcontracts"
              - name: "gov contracts"
                ref: "/bot/discord/gov/contracts"
              - name: "gov qtrcontracts"
                ref: "/bot/discord/gov/qtrcontracts"
              - name: "gov lasttrades"
                ref: "/bot/discord/gov/lasttrades"
              - name: "gov gtrades"
                ref: "/bot/discord/gov/gtrades"
              - name: "gov topbuys"
                ref: "/bot/discord/gov/topbuys"
              - name: "gov topsells"
                ref: "/bot/discord/gov/topsells"
          - name: "Economy Commands"
            ref: "/bot/discord/econ"
            sub:
              - name: "econ softs"
                ref: "/bot/discord/econ/softs"
              - name: "econ meats"
                ref: "/bot/discord/econ/meats"
              - name: "econ energy"
                ref: "/bot/discord/econ/energy"
              - name: "econ metals"
                ref: "/bot/discord/econ/metals"
              - name: "econ grains"
                ref: "/bot/discord/econ/grains"
              - name: "econ futures"
                ref: "/bot/discord/econ/futures"
              - name: "econ usbonds"
                ref: "/bot/discord/econ/usbonds"
              - name: "econ glbonds"
                ref: "/bot/discord/econ/glbonds"
              - name: "econ indices"
                ref: "/bot/discord/econ/indices"
              - name: "econ overview"
                ref: "/bot/discord/econ/overview"
              - name: "econ feargree"
                ref: "/bot/discord/econ/feargreed"
              - name: "econ currencies"
                ref: "/bot/discord/econ/currencies"
              - name: "econ valuation"
                ref: "/bot/discord/econ/valuation"
              - name: "econ performance"
                ref: "/bot/discord/econ/performance"
          - name: "ETF Commands"
            ref: "/bot/discord/etf"
            sub:
              - name: "etf disc"
                ref: "/bot/discord/etf/disc"
              - name: "etf holdings by-ticker"
                ref: "/bot/discord/etf/tiker"
              - name: "etf holdings by-etf"
                ref: "/bot/discord/etf/holdings"
          - name: "Miscellaneous Commands"
            ref: "/bot/discord/misc"
            sub:
              - name: "sia cps"
                ref: "/bot/discord/misc/cps"
              - name: "sia cpis"
                ref: "/bot/discord/misc/cpis"
              - name: "disc fidelity"
                ref: "/bot/discord/misc/fidelity"
              - name: "futures"
                ref: "/bot/discord/misc/futures"
              - name: "earnings"
                ref: "/bot/discord/misc/earnings"
              - name: "ins last"
                ref: "/bot/discord/misc/ins_last"
              - name: "moon"
                ref: "/bot/discord/misc/moon"
              - name: "megashill"
                ref: "/bot/discord/misc/megashill"
```

* updated to reflect changes - 2022-02-22

added new features and rearranged the directory structure.

* Updated 2022-02-22

* updated 2022-02-22

Updated the description and changed the images.

* /bot/discord/installation/_index.md - 2022-02-22

Creates the path and file for installation instructions.

* created /bot/discord/support/_index.md

Created 2022-02-22

* created /bot/discord/commands/_index.md

created path and file - 2022-02-24

* created /bot/discord/price/_index.md

created path and files. 2022-02-24

* created /bot/discord/price/quote/_index.md

created path and file for quote. 2022-02-24

* fixed typo - 2022-02-24

* Create _index.md

* created /bot/discord/price/candle/_index.md

created path and files for candle - 2022-02-24

* created /bot/discord/price/btc/_index.md

created path and file for BTC - 2022-02-24

* created /bot/discord/price/eth/_index.md

created path and file for eth. 2022-02-24

* created /bot/discord/price/sol/_index.md

created path and file for sol. 2022-02-24

* created /bot/discord/options/_index.md

created path and file for options commands folder.

* created /bot/discord/options/unu/_index.md

created path and file for opt unu. 2022-02-24

* created /bot/discord/options/info/_index.md

created path and file for opt info. 2022-02-24

* created /bot/discord/options/vsurf/_index.md

created path and file for opt vsurf. 2022-02-24

* created /bot/discord/options/oi/_index.md

created path and file for opt oi. 2022-02-24

* created bot/discord/options/vol/_index.md

created path and file for opt vol. 2022-02-24

* created /bot/discord/options/overview/_index.md

created path and file for opt overview. 2022-02-24

* created /bot/discord/options/hist/_index.md

created path and file for opt hist - 2022-02-24

* created /bot/discord/options/grhist/_index.md

created path and file for opt grhist. 2022-02-24

* created /bot/discord/options/chain/_index.md

created path and file for opt opt_chain. 2022-02-24

* corrected a name - opt_chain

2022-02-24

* created /bot/discord/ta/_index.md

created directory for TA features and created _index.md. 2022-02-24

* created /bot/discord/ta/summary/_index.md

added path and file for ta summary. 2022-02-24

* created /bot/discord/ta/view/_index.md

created path and file for ta view. 2022-02-24

* created /bot/discord/ta/recom/_index.md

created path and file for ta recom. 2022-02-24

* created /bot/discord/ta/obv/_index.md

created path and file for ta obv. 2022-02-24

* created bot/discord/ta/fib/_index.md

created path and file for ta fib. 2022-02-24

* created bot/discord/ta/ad/_index.md

created directory and file for ta ad. 2022-02-24

* created /bot/discord/ta/cg/_index.md

created path and file for ta cg. 2022-02-24

* created bot/discord/ta/fisher/_index.md

created path and file for ta fisher. 2022-02-24

* created /bot/discord/ta/cci/_index.md

created path and file for ta cci. 2022-02-24

* created /bot/discord/ta/ema/_index.md

created path and file for ta ema. 2022-02-24

* created bot/discord/ta/sma/_index.md

created path and file for ta sma. 2022-02-24

* created /bot/discord/ta/wma/_index.md

created path and file for ta wma. 2022-02-24

* created /bot/discord/ta/hma/_index.md

created path and file for ta hma. 2022-02-24

* created /bot/discord/ta/zlma/_index.md

created path and file for ta zlma. 2022-02-24

* created /bot/discord/ta/aroon/_index.md

created path and file for ta aroon. 2022-02-24

* created /bot/discord/ta/adosc/_index.md

created path and file for ta adosc. 2022-02-24

* created /bot/discord/ta/macd/_index.md

created path and file for ta macd. 2022-02-24

* created /bot/discord/ta/kc/_index.md

created path and file for ta kc. 2022-02-24

* created /bot/discord/ta/adx/_index.md

created path and file for ta adx. 2022-02-24

* created /bot/discord/ta/rsi/_index.md

created path and file for ta rsi. 2022-02-24

* created /bot/discord/ta/stoch/_index.md

created path and file for ta stoch. 2022-02-24

* created /bot/discord/ta/bbands/_index.md

created path and file for ta bbands. 2022-02-24

* created /bot/discord/ta/donchian/_index.md

created path and file for ta donchian. 2022-02-25

* created /bot/discord/screener/_index.md

created folder for screener and _index.md. 2022-02-25

* created ..screener/default_presets/_index.md

created path and file for scr default_presets. 2022-02-25

* changed screener/custom to screener/presets_custom

* created /bot/discord/screener/presets_custom/_index.md

Created path and file for scr presets_custom. 2022-02-25

* created /bot/discord/screener/overview/_index.md

created path and file for scr overview. 2022-02-25

* created /bot/discord/screener/technical/_index.md

created path and file for scr technical. 2022-02-25

* created /bot/discord/screener/valuation/_index.md

created path and file for scr valuation. 2022-02-25

* created /bot/discord/screener/financial/_index.md

created path and file for scr financial. 2022-02-25

* created /bot/discord/screener/performance/_index.md

created path and file for scr performance

* created /bot/discord/dd/_index.md

created path for DD features and created _index.md for folder root.

* created /bot/discord/dd/est/_index.md

created path and file for dd est. 2022-02-26

* created /bot/discord/dd/sec/_index.md

created path and file for dd sec. 2022-02-26

* created /bot/discord/dd/analyst/_index.md

created path and file for dd analyst. 2022-02-26

* created /bot/discord/dd/supplier/_index.md

created path and file for dd supplier

* created /bot/discord/dd/customer/_index.md

created path and file for dd customer. 2022-02-26

* created /bot/discord/dd/arktrades/_index.md

created path and file for dd arktrades. 2022-02-26

* created /bot/discord/dd/pt/_index.md

created path and file for dd pt. 2022-02-26

* created /bot/discord/dps/_index.md

created folder for Dark Pool Shorts commands and created _index.md file.

* created /bot/discord/dps/hsi/_index.md

created path and file for dps hsi. 2022-02-26

* created /bot/discord/dps/shorted/_index.md

created path and file for dps shorted. 2022-02-26

* created /bot/discord/dps/psi/_index.md

created path and file for dsp psi. 2022-02-26

* created /bot/discord/dps/spos/_index.md

created path and file for dps spos. 2022-02-26

* created /bot/discord/dps/dpotc/_index.md

created path and file for dps dpotc. 2022-02-27

* created /bot/discord/dps/pos/_index.md

created path and file for dps pos. 2022-02-27

* created /bot/discord/dps/sidtc/_index.md

created path and file for dps sidtc. 2022-02-27

* created /bot/discord/dps/ftd/_index.md

created path and file for dps ftd. 2022-02-27

* created /bot/discord/gov/_index.md

created folder for government commands and created _index.md file.

* created /bot/discord/gov/histcont/_index.md

created path and file for gov histcont. 2022-02-27

* created /bot/discord/gov/lobbying/_index.md

created path and file for gov lobbying. 2022-02-27

* created /bot/discord/gov/toplobbying/_index.md

created path and file for gov toplobbying. 2022-02-27

* created /bot/discord/gov/contracts/_index.md

created path and file for gov contracts. 2022-02-27

* created /bot/discord/gov/lastcontracts/_index.md

created path and file for gov lastcontracts. 2022-02-27

* created /bot/discord/gov/qtrcontracts/_index.md

created path and file for gov qtrcontracts. 2022-02-27

* created /bot/discord/gov/lasttrades/_index.md

created path and file for gov lasttrades

* created /bot/discord/gov/gtrades/_index.md

created path and file for gov gtrades. 2022-02-27

* created /bot/discord/gov/topsells/_index.md

created path and file for gov topsells

* created /bot/discord/econ/_index.md

created folder for econ commands, and root _index.md file

* created /bot/discord/econ/softs/_index.md

created path and file for econ softs.

* created /bot/discord/econ/meats/_index.md

created path and file for econ meats

* created /bot/discord/econ/energy/_index.md

created path and file for econ energy. 2022-02-27

* updated description. 2022-02-27

* created /bot/discord/econ/metals/_index.md

created path and file for econ metals. 2022-02-27

* created /bot/discord/econ/grains/_index.md

created path and file for econ grains. 2022-02-27

* created /bot/discord/econ/futures/_index.md

created path and file for econ futures. 2022-02-27

* created /bot/discord/econ/usbonds/_index.md

created path and file for econ usbonds

* created /bot/discord/econ/glbonds/_index.md

created path and file for econ glbonds. 2022-02-27

* created /bot/discord/econ/indices/_index.md

created path and file for econ indices. 2022-02-27

* added a missing letter to "feargreed"

* created /bot/discord/econ/overview/_index.md

created path and file for econ overview. 2022-02-27

* created /bot/discord/econ/feargreed/_index.md

created path and file for econ feargreed. 2022-02-27

* added screenshot. 2022-02-27

* created /bot/discord/econ/currencies/_index.md

created path and file for econ currencies. 2022-02-27

* added econ cpi

2022-02-27

* created /bot/discord/econ/cpi/_index.md

created path and file for econ cpi. 2022-02-27

* created /bot/discord/econ/performance/_index.md

created path and file for econ performance. 2022-02-27

* created /bot/discord/econ/valuation/_index.md

created path and file for econ valuation. 2022-02-27

* created /bot/discord/etf/_index.md

created folder for ETF features and rool _index.md file. 2022-02-28

* created /bot/discord/etf/holdings_by-ticker/_index.md

created path and file for etf holdings by-ticker. 2022-02-28

* created /bot/discord/etf/holdings_by-etf/_index.md

created path and file for etf holdings by-etf. 2022-02-28

* created /bot/discord/etf/disc-tops/_index.md

created path and file for etf disc-tops. 2022-02-28

* created /bot/discord/sia/_index.md

created folder for sia commands, and _index.md file. 2022-02-28

* created /bot/discord/disc/_index.md

created folder for disc features, and _index.md file. 2022-02-28

* created /bot/discord/disc/tops/_index.md

created path and file for disc tops. 2022-02-28

* created /bot/discord/disc/fidelity/_index.md

created path and file for disc fidelity. 2022-02-28

* created /bot/discord/disc/ugs/_index.md

created path and file for disc ugs. 2022-02-28

* created /bot/discord/sia/metrics/_index.md

created path and file for sia metrics. 2022-02-28

* created /bot/discord/sia/cps/_index.md

created path and file for sia cps. 2022-02-28

* created /bot/discord/sia/cpic/_index.md

created path and file for sia cpic. 2022-02-28

* created /bot/discord/misc/_index.md

created folded and _index.md for misc commands. 2022-02-28

* created /bot/discord/earnings/_index.md

created path and file for earnings. 2022-02-28

* created /bot/discord/misc/futures/_index.md

created path and file for futures. 2022-02-28

* created /bot/discord/ins-last/_index.md

created path and file for ins-last. 2022-02-28

* created /bot/discord/misc/moon/_index.md

created path and file for moon. 2022-02-28

* created /bot/discord/misc/megashill/_index.md

created path and file for megashill. 02-28-2022

* updated for latest changes - 2022-03-01

added options: extended_hours & heiken_candles

* created /bot/discord/scr/ownership/_index.md

created path and file for scr ownership. 2022-03-01

* created /bot/discord/gov/topbuys/_index.md

created path and file for gov topbuys. 2022-03-01

* created /bot/fdiscord/introduction/_index.md

created path and file for introduction section.

* Spelling

* spelling

* spelling

* spelling

* Spelling

* Spelling

* Spelling

* Update styling

* Comment out broken bot function

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-03 23:42:58 +00:00
didierlopes.eth
b28e387b10 Sentiment News correlation with Stock price (#1421)
* news api refactored in model and view

* fix apis

* allow news to be displayed as vertical bar in candle

* add gst letters only

* small fix

* minor fixes

* redo normal candle without news

* add a new funtion for sentiment of headlines and stock price

* add finnhub python to requirements

* fix FRED granularity

* fix grhist plot coloring

* remove unused arg

* improve defi menu

* stocks/ba/snews API

* add tests for stocks/ba/snews

* update hugo

* Update _index.md

* ensure error is catch when wrong API key

* fix tests

* fix economy tests

* remove stats because that finnhub data is now premium

* improve plot snews
2022-03-03 21:18:41 +00: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
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
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
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
jose-donato
5f5c596ed1 fixes stuff related to hugo server (#1374) 2022-02-16 10:44:09 +00: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
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
Danglewood
1ab915f1bc Replaced missing word (#1343)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-02-10 08:50:34 -05:00
Jeroen Bouma
8625ad3679 Add StockAnalysis (multi-year) to the Sector & Industry Analysis menu (#1341)
* Add StockAnalysis menu with visualise and help functions

* Add StockAnalysis view and model

* Update documentation for the SIA section

* Add Nano, Micro and Mega Market Cap options

* Make the StockAnalysis modules more robust for errors

* Update Docstring

* Ensure the DataFrames aren't modified by limiting the period

* Add tests for StockAnalysis view and model

* Refresh tests

* Make the model and view more robust

* Update the script

* Details

* Move sa_keys to _model

* Clean up functions

* Rename sa_keys to sa_dict

* Improve satma function

* Fix tests

* Optimise satma functionality
2022-02-10 11:51:01 +00:00
Danglewood
68d9cc1efb Adds Discord Bot to Hugo Server Documentation (#1336)
* Updated Copy

* added discord bot to hugo menu

* fixed indentation

* Added bot branch to main

* added discord to tree

* added discord bot to hugo documentation

* Spelling

* Spelling
2022-02-09 00:27:44 +00:00
jmaslek
499e068345 Remove unkept rtearn (#1330)
* Remove rtearn

* hugo
2022-02-07 21:19:22 -05:00
didierlopes.eth
b425f14cdf Add tradingview command to ta controller (#1320)
* add tradingview command to ta controller

* typo

* fix tests

* hugo docs

* Update _index.md
2022-02-06 17:51:42 +00:00
jmaslek
2a998a5a41 Portfolio class (#1280)
* remerge into main ?

* tests again

* change the example csv

* squash all the bugs

* Improve `add` interface

* Add warning on loading portfolio with no cash

* left a rogue print

* oopsie.  hugo

* oopsie.  hugo

* Add back a new `al` function + port name

* test

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-02-02 15:20:05 -05:00
northern-64bit
2e7b48fe85 Adding VaR and Adjusted VaR (#1269)
* Adding avar command to qa context

* Adding documentation and VaR command

* Linting

* More linting

* Somehow discordbot tests didn't like my linting

* Fixing tests

* Fixing requested suggestions.

Fixing jmasleks comments, but I sadly couldn't sort the table by the VaR (if the manually entered percentage is 75 it's currently still displayed below the 99% VaR)

* linting

* Linting fix

* Adding every qa command to hugo

Also lint fixing

* Fixing previous error

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-01 12:43:30 +01:00
minhhoang1023
d8b4fc0026 Add check_supported and trending endpoint from Sentiment Investor (#1262)
* 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

Co-authored-by: Minh Hoang <minh@Minhs-MBP.Home>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-28 17:05:44 -05:00
Colin Delahunty
e5fbc4de70 Improve Jupyter and API (#1274)
* Added no-input option

* Added test for gst

* Removed export

* Added options URL
2022-01-27 21:43:01 -05:00
Colin Delahunty
c5393e0875 Bankruptcy Scores (#1271)
* Refacotred and expanded analytics

* Updated tests

* Updated hugo

* Updated tests
2022-01-27 11:56:53 -05:00
Colin Delahunty
2ad43f8a27 Added Greeks (#1254)
* Added Greeks

* Added hugo

* Added test

* Added pylint fix

* Began rework

* Finishing touches

* James' final changes

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-01-25 20:32:16 -05:00
jose-donato
4501dfd442 Crypto features: Replace coingecko scrapping (#1156)
* replaced cgcategories with api

* added coingecko categories

* refactoring commands to use api, added coins to cryptocontroller and merged find and coins

* autocompletion for coins

* removed unused vars

* added dappradar features

* refactoring commands position

* refactoring commands position

* adding visual commands and fixed report

* skipped tests for now

* lint notebook

* correct report

* black formatter keeps crying because notebook

* removed unused imports

* Fixed black

* Keep kernel metadata 'cause it's required by papermill

* Change jupyter cleanup hook to one based on nbconvert

* Try fix the hook I just broke

* Fix trailing commas in the crypto notebook

* Change the jupyter hook to a one that's featured on pre-commit's page

* Format report notebook and test new notebook hook

* Black the notebook

* Remove deleted functions from the crypto discovery API

* Remove deleted functions from the crypto overview API

* replaced print for console print and removed print from table

* replaced print for console print and removed print from table

* auto completion + sort for all discovery commands

* replacing help messages

* fix linting

* added docs and removed unused commands

* added todos and fixed help messages

* lint

* pr issues fixed

* updated tests

* tests merge

* replaced with new rich table function

Co-authored-by: Colin Delahunty <colin99delahunty@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-01-25 14:05:00 +00:00
jmaslek
a00192638b Danglewood/etf (#1261)
* batch1

* batch2

* eft -> etf
2022-01-25 09:51:55 +00:00
jmaslek
a7d25dced5 portfolio: Small feature + controller tests (#1246)
* Small feature + controller tests

* update test after merge

* Website + bump down pandas

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-23 17:15:08 +00:00
Colin Delahunty
20db556b3c Added detailed description (#1233)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-23 14:20:16 +00: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
jmaslek
9ff9d1520d Add a FINRA shortdata dashboard (#1238) 2022-01-21 20:56:04 -05: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
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
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
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
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
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
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
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
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
jmaslek
5a5c7193db Volatility surface (#1176)
* Add a 3D volatility surface from yfinance data

* Update _index.md

* other tests
2022-01-11 11:59:02 -05:00
jp
9d36f84ac6 Coindix (#1165)
* 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 view for coindix

* Adjust coindix view. Add hugo docs

* Refactor risk of vault part, add link paramter, rename cols

* remove try except, add source

* fix wrongly resolved conflicts
2022-01-11 09:32:22 +00:00
jose-donato
a8e7a896d7 Feature (crypto): BTC rainbow chart (#1158)
* added tests

* update colors

* replaces tests

* mock api key

* trying to fix tests

* added theo funcformatter to y ticks

* black lint
2022-01-10 19:15:55 -05:00
jose-donato
18c3a4e5f6 Feature (crypto): Altcoin season index (#1155)
* adding blockchaincenter model

* added altindex feature

* fix tests name

* added autocompletion and fixed chart

* fixed help strings and chart issue

* refactor for subplot

* changed dates to more readable format
2022-01-08 11:17:40 -05:00
jose-donato
efab61a281 Crypto Tool: Calculate potential returns (#1146)
* enabled some crypto commands in dd to be called independent of source loaded

* support for coin_map_df in all dd functions + load ta and plot chart refactor

* updated tests and removed coingecko scrapping where possible

* removed ref of command from hugo

* updated pycoingecko version

* refactoring load

* refactored load to fetch prices; pred can run independent of source now

* load by default usd on cp/cg and usdt on cb/bin

* updated to rich for formatting and updated dependencies

* fixed changes requested

* created prt controller

* creating model

* removed unused print

* restaged

* adds current market cap

* added reports to gitignore
2022-01-07 09:53:54 -05:00
jose-donato
ea964109d6 Crypto menu refactor (#1119)
* enabled some crypto commands in dd to be called independent of source loaded

* support for coin_map_df in all dd functions + load ta and plot chart refactor

* updated tests and removed coingecko scrapping where possible

* removed ref of command from hugo

* updated pycoingecko version

* refactoring load

* refactored load to fetch prices; pred can run independent of source now

* load by default usd on cp/cg and usdt on cb/bin

* updated to rich for formatting and updated dependencies

* fixed changes requested

* update docs

* revert discord requirements

* removed absolute from calculate change for price

* fixing pr issues

* fix loading issue when similar coins exist, move coins to home, fill n/a

* update docs for coins

* adds load to ta and pred menu
2022-01-07 10:06:13 +00:00
jmaslek
966cd3c6d5 New alternative data context + first sub context (Covid) (#1142) 2022-01-06 13:12:38 -05:00
jmaslek
891b51b26b Qa update (#1139)
* Add line option to common - qa

* rich to controller + lower case for pick

* Change qa_view to rich + hugo

* Update _index.md

* fix test

* fix test pt 2

* change menu print
2022-01-04 20:11:50 -05:00