mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-08 18:32:21 +00:00
update ta doc (#670)
This commit is contained in:
@@ -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.
|
||||
""",
|
||||
)
|
||||
|
||||
|
||||
@@ -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, _):
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -51,13 +51,13 @@ class TechnicalAnalysisController:
|
||||
"rsi",
|
||||
"stoch",
|
||||
"fisher",
|
||||
"cg",
|
||||
"adx",
|
||||
"aroon",
|
||||
"bbands",
|
||||
"ad",
|
||||
"obv",
|
||||
"fib",
|
||||
"cg",
|
||||
]
|
||||
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user