From 13c8dd7bb3a712e98e30f372e627489754913091 Mon Sep 17 00:00:00 2001
From: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Date: Mon, 8 Aug 2022 13:28:01 -0700
Subject: [PATCH] Adds Intro Guide to QA menu (#2273)
* Adds Intro Guide to QA menu
* Spelling
* fixed formatting of bulleted list
---
website/content/terminal/common/qa/_index.md | 141 ++++++++++++++++++-
1 file changed, 138 insertions(+), 3 deletions(-)
diff --git a/website/content/terminal/common/qa/_index.md b/website/content/terminal/common/qa/_index.md
index 2ef190434dc..8e0ddee1eaf 100755
--- a/website/content/terminal/common/qa/_index.md
+++ b/website/content/terminal/common/qa/_index.md
@@ -1,8 +1,143 @@
---
+title: Introduction to the Quantitative Analysis Menu
+keywords: "quantitative, analysis, qa, q/a, daily, indicators, signals, average, summary, normality, line, hist, cdf, bw, acf, qqplot, rolling, spread, quantile, skew, kurtosis, var, es, sh, so, om, raw, decompose, cusum, capm, beta, histogram, auto-correlation, value, median, crypto, forex, fx, cryptocurrency, stocks"
+date: "2022-08-08"
+type: guides
+status: publish
+excerpt: "This guide introduces the Quantitative Analysis menu, which is common across many sections of the OpenBB Terminal, briefly describes the features, and provides examples in context."
geekdocCollapseSection: true
---
-In finance and investment management, **Quantitative Analysis** refers to the application of mathematical and statistical methodologies. Quantitative analysts are those that work in this subject (quants). Quants typically focus on a few topics, such as derivative structure or pricing, risk management, algorithmic trading, and investment management. Industrial mathematics jobs are similar to those in other industries. The procedure usually entails scanning through large databases for patterns, such as correlations between liquid assets or price movement patterns (trend following or mean reversion). High-frequency trading may be used in the resulting strategies.
+Quantitative analysis (QA) in finance is an approach that emphasizes mathematical and statistical analysis to help determine the value of a financial asset, such as a stock or option. The ultimate goal of financial quantitative analysis is to use quantifiable statistics and metrics to assist investors in making profitable investment decisions. Quantitative analysis is different from qualitative analysis, which looks at factors such as how companies are structured, the makeup of their management teams, and what their strengths and weaknesses are.
-**Available commands**
-{{< toc-tree >}}
+The Quantitative Analysis menu is a common menu to three asset classes:
+
+Crypto
+Forex
+Stocks
+
+
+
+
+
+The menu is divided into five categories of functions:
+ - Statistics
+ - Plots
+ - Rolling Metrics
+ - Risk
+ - Other
+
+A summary of exportable statistics is displayed with the command, `summary`. The example here shows $APPL.
+
+
+
+A simple line chart for the target column as a time-series is called with the `line` command.
+
+
+
+Optional arguments to this command allows the user to draw and annotate on the chart.
+
+````
+2022 Aug 08, 12:14 /stocks/qa/ $ line -h
+usage: line [--log] [-d] [--ml ML] [--ms MS] [-h] [--export EXPORT]
+
+Show line plot of selected data and allow to draw lines or highlight specific datetimes.
+
+options:
+ --log Plot with y on log scale (default: False)
+ -d, --draw Draw lines and annotate on the plot (default: False)
+ --ml ML Draw vertical line markers to highlight certain events (default: )
+ --ms MS Draw scatter markers to highlight certain events (default: )
+ -h, --help show this help message (default: False)
+ --export EXPORT Export figure into png, jpg, pdf, svg (default: )
+
+For more information and examples, use 'about line' to access the related guide.
+
+2022 Aug 08, 12:20 /stocks/qa/ $ pick high
+
+2022 Aug 08, 12:20 /stocks/qa/ $ line --draw
+Click twice for annotation.
+Close window to keep using terminal.
+
+Annotation: Lower Highs
+````
+
+
+
+Compare the beta between the loaded asset and another, using the `-r` flag to deviate from the defaulted comparison, $SPY.
+
+````
+2022 Aug 08, 12:34 /stocks/qa/ $ beta -r MSFT
+
+Loading Daily MSFT stock with starting period 2019-08-05 for analysis.
+````
+
+
+
+Most outputs are equipped with an `--export` flag, allowing the user to save the tables as a CSV, JSON, or XLSX file. The exports can then be imported into other menus like Econometrics. Additional information on each specific command is displayed by attaching `-h` to it.
+
+