# Written Documentation

If you prefer written content, or need a quick reference, this resources website is the place to be. The written documentation starts with[ Creating a Backtest ](/backtesting/backtest-setup.md)(Backtesting Setup) and go goes from there!

Also strongly recommended is the the Option Omega Discord server— it has a wealth of written info, including many common questions (and answers!), literally 100’s of community shared tests, a lively group of backtesters, and much more! Here’s a[ quick video ](https://youtu.be/-O89V1fcBT0?si=1kP3gpKK12dn4T80)on how to get onto the Discord. (All the action is in the verified channels– so make sure you get verified!)

And of course, as the best place to start, we will always recommend [taking the Backtesting Bootcamp class on Option Omega Academy](https://academy.optionomega.com/course?courseid=backtesting-bootcamp). This will get you up to speed -fast! (Note– the class is free– it does required a login/pw to Academy, which is separate from the login/pw to the OO backtester.

### Sample Walkthrough of SPX Backtest

[You can also checkout this video here, with a sample SPX backtest setup](https://youtu.be/cGPSgi43o_w)

Companion documentation is below.

We’re going to walk you through a simple backtest setup. 2023 has been an interesting market– we’re going to look at a simple 4DTE Friday Put Credit Spread.

We’re going to click on “New Backtest” and setup the first portion like this:

<figure><img src="/files/RrgnTBdf5kIcqqJ7zH6K" alt=""><figcaption></figcaption></figure>

This will give us a test which will is dated the first few months of 2023. We picked a “Short Put Spread”, and changed the legs to sell the 35 delta, 10 wide. We’re going to do a 4 DTE.

In the next section of the backtest setup, let’s change the entry time to 10:00. The other notable change is moving the test to ONLY test Friday’s (since different days perform differently on different tests!). We do this by selecting the frequency dropdown and changing to weekly, then selecting only F.

<figure><img src="/files/yDqVmJGwUK8AfflXGOgv" alt=""><figcaption></figcaption></figure>

On the next screen, let’s do both 50% for PT and SL.

<figure><img src="/files/zkaX9aP3Vah1M8QLGvSP" alt=""><figcaption></figcaption></figure>

Finally, for the Misc section, we have a few things to do here.

Firstly, let’s add some standard commissions in. Also, we’re going to use slippage, to beat up the test a little bit. Finally, we’re going to Cap Profits at our profit target, and require two hits on the PT to execute.

<figure><img src="/files/NvppTioLBEL5VvkcFWJo" alt=""><figcaption></figcaption></figure>

Let’s click run, and we’ll see how it goes!

<figure><img src="/files/Hg86xV5k9GNu0PseVUsw" alt=""><figcaption></figcaption></figure>

The backtest results screen gives you a wealth of information about how the test performed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.optionomega.com/welcome/written-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
