update ta doc (#670)

This commit is contained in:
devwolff
2021-08-15 22:44:01 +10:00
committed by GitHub
parent b9b640898c
commit a05730dce2
4 changed files with 13 additions and 7 deletions

View File

@@ -714,11 +714,11 @@ def cg(other_args: List[str], s_ticker: str, s_interval: str, df_stock: pd.DataF
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
prog="cg",
description="""
The Center of Gravity indicator, also known as the COD indicator in short,
is a useful feature that enables traders to look into the concurrent price
fluctuations and try to predict the upcoming ones. According to the main
function of the Center of Gravity indicator explained by John Ehlers, traders
who use it will be able to closely speculate the upcoming price change of the asset.
The Center of Gravity indicator, in short, is used to anticipate future price movements
and to trade on price reversals as soon as they happen. However, just like other oscillators,
the COG indicator returns the best results in range-bound markets and should be avoided when
the price is trending. Traders who use it will be able to closely speculate the upcoming
price change of the asset.
""",
)

View File

@@ -245,7 +245,7 @@ class FundamentalAnalysisController:
av_view.fraud(other_args, self.ticker)
def call_dcf(self, other_args: List[str]):
"""Process fraud command"""
"""Process dcf command"""
dcf_view.dcf(other_args, self.ticker)
def call_fmp(self, _):

View File

@@ -16,6 +16,8 @@ This menu aims to perform a technical analysis on a pre-loaded ticker chart, and
- exponential moving average
* [sma](#sma)
- simple moving average
* [zlma](#zlma)
- zero lag moving average
* [vwap](#vwap)
- volume weighted average price
@@ -28,6 +30,10 @@ This menu aims to perform a technical analysis on a pre-loaded ticker chart, and
- relative strength index
* [stoch](#stoch)
- stochastic oscillator
* [fisher](#fisher)
- fisher transform
* [cg](#cg)
- centre of gravity
[TREND](#TREND)
* [adx](#adx)

View File

@@ -51,13 +51,13 @@ class TechnicalAnalysisController:
"rsi",
"stoch",
"fisher",
"cg",
"adx",
"aroon",
"bbands",
"ad",
"obv",
"fib",
"cg",
]
def __init__(