Skip to content

Commit 67df3a1

Browse files
committed
docs: ui screenshots
1 parent 2b90673 commit 67df3a1

14 files changed

+70
-2
lines changed

.vitepress/config.mts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ export default defineConfig({
6565
{ text: 'Performance Metrics', link: '/performance-metrics' },
6666
{ text: 'Trade Analysis with Tags', link: '/analyzing-trades' },
6767
]
68+
},
69+
{
70+
text: 'Stochastix UI',
71+
items: [
72+
{ text: 'Screenshots', link: '/screenshots' },
73+
]
6874
}
6975
],
7076

data-downloading.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Reliable backtesting starts with high-quality historical data. Stochastix provid
44

55
Under the hood, this downloader uses the powerful CCXT library, giving you access to dozens of exchanges.
66

7+
::: tip UI Alternative
8+
While the CLI is powerful for scripting, these tasks can also be performed visually from the [**Data Management UI**](./screenshots#data-management).
9+
:::
10+
711
## The Download Command
812

913
The primary tool for fetching data is the `stochastix:data:download` command (alias: `stx:data:dl`).

data-validation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ The quality of your backtesting results is directly dependent on the quality of
44

55
Stochastix provides a dedicated command-line tool, `stochastix:data:info`, to help you with this process.
66

7+
::: tip UI Alternative
8+
Data files can also be inspected and validated from the [**Data Validation modal in the UI**](./screenshots#data-validation).
9+
:::
10+
711
## The `data:info` Command
812

913
This command reads a `.stchx` binary data file and displays its metadata and a sample of its content. Its most powerful feature is the ability to perform a full consistency validation on the data.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"docs:build": "vitepress build",
88
"docs:preview": "vitepress preview"
99
}
10-
}
10+
}

public/screenshots/backtest_chart.jpg

55 KB
Loading
89.5 KB
Loading
62.8 KB
Loading
84.9 KB
Loading
57.4 KB
Loading
114 KB
Loading

public/screenshots/new_backtest.jpg

53.7 KB
Loading

running-backtests.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ Once you have created a strategy, the next step is to run it against historical
55
1. **Command-Line Interface (CLI):** Ideal for automation, scripting, and precise control over all configuration parameters.
66
2. **User Interface (UI):** A web-based form that provides a user-friendly way to configure and launch backtests.
77

8-
This guide will focus on the CLI method, as it exposes the full power and flexibility of the backtesting engine.
8+
::: tip UI Alternative
9+
This guide will focus on the CLI method... For interactive use, backtests can be configured and launched from the [**New Backtest page in the UI**](./screenshots#new-backtest).
10+
:::
911

1012
::: warning
1113
We're assuming Stochastix is installed using the Docker setup, which is the recommended way to run it. Therefore, we will use `make sf c="..."` to run commands in the Symfony container. If you're not using Docker, you can run the commands directly in your terminal using `php bin/console ...` instead.

screenshots.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# A Tour of the User Interface
2+
3+
While Stochastix is fully operable from the command line, it also comes with a rich, modern web interface to help you visualize data and results.
4+
5+
After starting the environment (see the [Getting Started](./installation.md) guide), you can access the UI by navigating to **https://localhost** in your web browser.
6+
7+
This page provides a quick visual tour of the main sections of the application.
8+
9+
## Data Management
10+
11+
The Data Management page is the central hub for downloading and inspecting historical market data. From here you can view all available data, initiate new downloads from an exchange, and inspect the integrity of local files.
12+
13+
[![Data Management Page](/screenshots/data_management.jpg)](/screenshots/data_management.jpg)
14+
15+
## Data Validation
16+
17+
From the Data Management page, you can inspect any downloaded `.stchx` data file. This opens a modal window that displays the file's header metadata and provides a full data integrity report, checking for gaps, duplicates, or out-of-order records.
18+
19+
[![Data Validation Modal](/screenshots/data_validation.jpg)](/screenshots/data_validation.jpg)
20+
21+
## New Backtest
22+
23+
The New Backtest page allows you to visually configure and launch a backtest for any available strategy. It dynamically generates form fields for all the `#[Input]` parameters defined in your strategy class, making it easy to experiment with different settings.
24+
25+
[![New Backtest Page](/screenshots/new_backtest.jpg)](/screenshots/new_backtest.jpg)
26+
27+
## Backtest Results
28+
29+
The Backtest Results page provides a comprehensive and interactive overview of a completed backtest run, broken down into several key sections.
30+
31+
### Summary & Performance Charts
32+
33+
The top of the page displays the most important, high-level performance metrics of the strategy alongside interactive charts for visualizing the portfolio's equity curve, drawdown, and other time-series metrics.
34+
35+
[![Backtest Summary Metrics](/screenshots/backtest_summary.jpg)](/screenshots/backtest_summary.jpg)
36+
[![Backtest Performance Charts](/screenshots/backtest_chart.jpg)](/screenshots/backtest_chart.jpg)
37+
38+
### Visual Chart Analysis
39+
40+
The main chart allows for deep visual analysis, overlaying your strategy's indicators and plotting the exact entry and exit points of each trade directly on the price candles. You can zoom, pan, and inspect each trade in detail.
41+
42+
[![Backtest Visual Analysis Chart](/screenshots/backtest_visual_analysis.jpg)](/screenshots/backtest_visual_analysis.jpg)
43+
44+
### Trades Log & Analysis
45+
46+
Below the charts, detailed tables provide a log of every closed trade and a performance breakdown by the `enterTags` and `exitTags` assigned in your strategy.
47+
48+
[![Backtest Results Tables](/screenshots/backtest_results.jpg)](/screenshots/backtest_results.jpg)

understanding-results.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
When a backtest finishes running on the command line, it prints a comprehensive summary directly to your console. This summary is designed to give you an immediate, high-level overview of your strategy's performance, followed by a detailed log of its activity.
44

5+
::: tip UI Alternative
6+
While this guide details the CLI output, all of these results are presented in a rich, interactive format on the [**Backtest Results page in the UI**](./screenshots#backtest-results).
7+
:::
8+
59
## Sample Command-Line Output
610

711
Here is a sample output from a completed backtest run, which we will break down in the following sections.

0 commit comments

Comments
 (0)