Files
OpenBB/website/content/terminal/reference/stocks/backtesting/emacross.md
DidierRLopes 4ad995fdd0 Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro

* Update index.md

* Update dashboards.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update quick-start.md

* Update index.md

* Update index.md

* Update home.md

* Update news.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update data-manipulation.md

* Update forecasting.md

* fix: images self closing tags

* fix: only pro visitors can see pro

* inter font

* improve SEO content and restructuring

* add new package for toggle on tutorials

* move folder around

* improve main page of each prod

* small updates and improvements

* fix logo above

* small improvement in headtitle for portfolio funcs

* fix typos from OpenAI's GPT-4

* fix _category_ json

* remove generic SEO words

* add script that generates SEO for documentation

* add missing file

* remove sdk warning message

* fix links for andrew

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-10-30 21:01:29 +00:00

43 lines
1.2 KiB
Markdown
Vendored

---
title: emacross
description: The emacross page provides documentation for a python script that crosses
between a long and a short Exponential Moving Average (EMA). It also includes information
on the parameters of the script including lengths of the long and short EMA periods,
spy hold comparison, buy hold comparison, and short selling operations.
keywords:
- emacross
- Exponential Moving Average
- EMA period
- long EMA
- short EMA
- spy hold comparison
- buy hold comparison
- short sell
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="stocks/backtesting/emacross - Reference | OpenBB Terminal Docs" />
Cross between a long and a short Exponential Moving Average.
### Usage
```python
emacross [-l LONG] [-s SHORT] [--spy] [--no_bench] [--no_short]
```
---
## Parameters
| Name | Description | Default | Optional | Choices |
| ---- | ----------- | ------- | -------- | ------- |
| long | Long EMA period | 50 | True | None |
| short | Short EMA period | 20 | True | None |
| spy | Flag to add spy hold comparison | False | True | None |
| no_bench | Flag to not show buy and hold comparison | False | True | None |
| shortable | Flag that disables the short sell | True | True | None |
---