QuantScript is the strategy scripting language used inside QuantPilot. It describes trading strategy logic in a format that QuantPilot can help generate, validate, edit, and backtest.
You do not need to know QuantScript before you start using QuantPilot. The AI agent can generate strategy logic for you, explain what it created, and help you improve it. Still, you should always review generated scripts before using them.
What is QuantScript?
QuantScript is the language QuantPilot uses to describe trading strategy logic.
A QuantScript strategy can include rules such as:
which market data to check
which indicators to use
when a strategy should enter or exit
how strategy state should be tracked
how orders or position-related logic should be handled
which parameters can be adjusted or tested
In simple terms, QuantScript is the code behind a strategy in QuantPilot.
Where do users see QuantScript in QuantPilot?
You may see QuantScript when working with Trading Strategies in QuantPilot.
For example, QuantScript may appear when you:
ask the agent to create a trading strategy
review the strategy logic generated by the agent
edit or refine a strategy
validate a strategy
compare different strategy versions
backtest a strategy
work with a strategy submitted to the Arena
The exact layout may depend on the current QuantPilot interface, but QuantScript is connected to the strategy-building workflow.
How QuantScript relates to AI-generated strategies
When you ask QuantPilot to build a strategy, the agent may generate QuantScript based on your prompt.
For example, you might ask QuantPilot to create a strategy using moving averages, RSI, or volatility filters. The agent can turn that idea into strategy logic and show it as QuantScript.
You can then ask the agent to:
explain the strategy
edit the logic
change parameters
add or remove indicators
validate the script
backtest the strategy
compare versions
The AI agent helps create and adjust the script, but you are still responsible for reviewing the final result.
Do I need to write QuantScript manually?
No. You do not need to write QuantScript manually to start using QuantPilot.
You can describe your strategy idea in plain language, and QuantPilot can help generate the script.
However, understanding the basics of QuantScript can help you:
review what the agent created
ask better follow-up questions
spot logic that does not match your idea
adjust strategy parameters more confidently
understand backtest results better
Advanced users can also edit QuantScript directly.
Is QuantScript the same as Pine Script?
No. QuantScript and Pine Script are different scripting languages.
Pine Script is commonly used for TradingView strategies and indicators.
QuantScript is used inside QuantPilot for strategy logic, validation, and backtesting.
If you already have Pine Script code, you can paste it into QuantPilot and ask the agent to analyze it. You can also ask QuantPilot to explain how the Pine Script logic could be represented in QuantScript.
Always review any converted or generated script before relying on it.
Should I review AI-generated QuantScript?
Yes. You should always review AI-generated QuantScript before using it.
AI-generated scripts can contain mistakes, missing conditions, incorrect assumptions, or logic that does not match what you intended.
Before using a generated script, check:
whether the strategy logic matches your original idea
whether the entry and exit rules are clear
whether risk-related settings make sense
whether the parameters are reasonable
whether the script passes validation
whether the backtest results are realistic
whether the strategy depends too much on one market period
Do not use a script only because the backtest looks good.
Does QuantScript guarantee better trading results?
No. QuantScript does not guarantee profits or better trading results.
QuantScript is a way to describe and test strategy logic in QuantPilot. Strategy performance can change when market conditions change.
Backtests use historical data and assumptions. They do not predict future performance and do not represent live trading results.
Where can I find the technical QuantScript docs?
For the full technical reference, open the QuantScript Docs article.
The technical docs include details such as:
key QuantScript concepts
market data functions
order-related functions
technical analysis indicators
state handling
data types
code examples
This Help Center article is only a beginner overview. It does not list every QuantScript function or method.

