QuantStock Documentation

Welcome to the official documentation for QuantStock, the advanced technical trading strategy backtester. This guide will help you get the most out of our platform, from basic usage to advanced features.

Note: QuantStock is continuously being improved with new features and strategies. Check back regularly for updates to this documentation.

Quick Start Guide

Getting started with QuantStock is simple:

  1. Select a Stock: Use the search box in the sidebar to find and select a stock symbol (e.g., AAPL for Apple).
  2. Set Date Range: Define the time period for your backtest using the date pickers.
  3. Choose a Strategy: Select one of the available technical trading strategies from the tabs.
  4. Adjust Parameters: Customize the strategy parameters to suit your trading style.
  5. Run Backtest: Click the "Run Backtest" button to execute the backtest.
  6. Analyze Results: Review the performance metrics, trade history, and charts to evaluate your strategy.

User Interface Overview

The QuantStock interface is designed to be intuitive and efficient:

Sidebar

Main Content Area

Trading Strategies Overview

QuantStock offers 17+ technical trading strategies that you can backtest and optimize. Each strategy has customizable parameters to suit different market conditions and trading styles.

MACD Strategy

The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price.

How it Works

Key Parameters

RSI Strategy

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100 and is typically used to identify overbought or oversold conditions.

How it Works

Key Parameters

Bollinger Bands Strategy

Bollinger Bands are volatility bands placed above and below a moving average. They expand and contract based on the volatility of the price, providing a relative definition of high and low prices.

How it Works

Key Parameters

Moving Averages Crossover Strategy

The Moving Averages Crossover strategy uses two moving averages (fast and slow) to identify changes in trend.

How it Works

Key Parameters

More Strategies

QuantStock offers many more strategies, including:

Each strategy has detailed information and customizable parameters available in the application.

Parameter Optimization

The Parameter Optimization feature allows you to automatically find the best parameter combinations for a strategy, saving you hours of manual testing.

How to Optimize Parameters

  1. Select a stock and date range
  2. Click the "Optimize Parameters" button in the Advanced Features section
  3. Choose the strategy to optimize
  4. Select the performance metric to optimize for (e.g., Total Return, Sharpe Ratio)
  5. Define the parameter ranges for optimization
  6. Click "Run Optimization" to start the process
  7. Review the optimal parameters and performance
  8. Click "Apply Optimized Parameters" to use them for backtesting
Warning: Be cautious of over-optimization (curve fitting). Parameters that are too finely tuned to historical data may not perform well in future market conditions.

Strategy Comparison

The Strategy Comparison feature allows you to directly compare the performance of different trading strategies on the same stock and time period.

How to Compare Strategies

  1. Select a stock and date range
  2. Click the "Compare Strategies" button in the Advanced Features section
  3. Select two strategies to compare
  4. Click "Compare" to see the results
  5. Review the performance metrics and differences

Performance Metrics

QuantStock provides a comprehensive set of performance metrics to evaluate your trading strategies:

Exporting Results

QuantStock allows you to export your backtest results for further analysis:

  1. Run a backtest
  2. Click the "Export Results" button in the Advanced Features section
  3. Choose to export either "trades" (trade history) or "results" (complete results)
  4. Save the CSV file to your computer

The exported data can be imported into Excel, Google Sheets, or other data analysis tools for further analysis or record-keeping.

Frequently Asked Questions

General Questions

Is QuantStock completely free to use?

Yes, QuantStock is completely free to use with all 17+ technical strategies and features available. We do offer a Premium tier with additional features like API access, more historical data, and multi-asset backtesting.

What data sources do you use for backtesting?

We use high-quality historical data from reliable providers including Yahoo Finance, Alpha Vantage, and IEX Cloud. Our platform ensures data accuracy with adjustments for dividends and stock splits to provide realistic backtest results.

Technical Questions

Can I backtest custom strategies?

Currently, QuantStock supports 17+ pre-built technical strategies with customizable parameters. Custom strategy development is available in our Premium tier, where you can code your own strategies using our Python API.

What markets and timeframes can I backtest?

QuantStock supports backtesting across US stocks, ETFs, and major forex pairs. Timeframes range from 1-day to 1-month intervals, with intraday timeframes (1-hour, 15-min) available in the Premium tier.

Does backtesting guarantee future performance?

No. While backtesting is a powerful tool for strategy validation, past performance does not guarantee future results. Market conditions change, and strategies that performed well historically may not perform the same in the future.

Troubleshooting

Common Issues

The backtest doesn't return any trades

This can happen for several reasons:

Try adjusting the strategy parameters, selecting a different date range, or testing a different strategy.

The application is slow or unresponsive

This can happen when:

Try reducing the date range, simplifying the strategy, or waiting for the current operation to complete before starting a new one.

API Documentation

QuantStock provides a RESTful API for Premium users who want to integrate our backtesting capabilities into their own applications or automate their workflows.

API Endpoints

For detailed API documentation, please contact our support team or visit the API Documentation section in your Premium account dashboard.