Documentation
Applications
Last updated on 21. 11. 2026 by clonex / Ivan Hudec
Market analysis
Contenu des pages
Q analyzes the market itself, not only your strategies. It reads the price bars of a symbol in your data, on any timeframe, runs Python over them and shows the result as a report in the chat. Python is built into StrategyQuant, so there is nothing to install.
Q can also take a strategy from your databank and dissect its closed trades: expectancy, how far the trades ran for and against you, streaks, and the hours and weekdays that made or lost money.
Q reports what the data shows. When a pattern is not yet a trading edge, it says so and tells you what to test next.
Remarque !
Licensed SQ Equities and Futures data (the @ symbols, such as @NQ) may not leave StrategyQuant, so Q can’t analyze the bars of those symbols. Use them in the Builder and in backtests instead.
Step 1: Look at the bars
Start a new chat and pick Market & Data Analysis. The tile shows nine examples. Clicking one sends it at once.
The nine examples of Market & Data Analysis. They show only in an empty chat.
Click “Peek at the bars (D1 + H1)”. It is sent as:
Show me the last 20 daily EURUSD bars as an OHLC + volume table, then the H1 bars for the last week
8 steps in 41 seconds. The tables are in the report card EURUSD daily and hourly bars. Nothing else opened in StrategyQuant.
Q works with the data you have. Our EURUSD data ended on 30 October 2024, so Q showed the final week of the data instead of the past week, and said so in its answer.
Step 2: Open the full report
Cliquez sur Open full report on the card, or Open ↗. The report opens inside the Q panel. ← Back to chat takes you back.
The 20 daily bars from 3 to 30 October 2024, with open, high, low, close and volume.
The note at the top names the data: EURUSD_M1_dukas from Dukascopy, in the timezone EST+07. Below the daily bars come the hourly bars of the final seven days, 121 rows. The report has links to download the daily and the hourly bars as CSV, and a Save as PDF bouton.
Step 3: Analyze the market in Python
In a new chat under Market & Data Analysis, click “Intraday edge scan in Python”. It is sent as:
Export EURUSD H1 to CSV and analyze the market in Python: average daily range (ATR), volatility by hour of day, and the return distribution by day of week. Show the results visually and tell me what they imply for an intraday strategy
10 steps in 58 seconds. The report card shows three numbers: a mean daily range of 79.7 pips from high to low, 79.8 pips of true range, and a 14-day ATR of 54.5 pips at the end of the data.
The report covers 22 November 2021 to 30 October 2024: 18,372 hourly bars. The example names no period, so Q chose one. To cover a different stretch of your data, add a period to your request.
Q’s answer: the most active hours were 15:00 to 17:00 in the data’s timezone, EST+07. That makes a session filter worth testing, but a higher range alone is not a trading edge. Q advised ATR-aware sizing and stops, and an out-of-sample test after costs for any hour or weekday filter.
Les Volatility by hour chart from the full report. The 15:00 and 17:00 bars average 27.7 and 27.5 pips; the 0:00 bar 6.2.
The hours are in the data’s own timezone, not London or New York time; the report says so in its method note. The full report also has a chart of the daily ATR since 2022, and the return distribution of each weekday as a chart and a table.
Step 4: Ask your own question
You don’t need an example. In a new chat under Market & Data Analysis, we typed:
Show me the monthly seasonality of EURUSD.
2 steps in 19 seconds. Q’s answer in the chat: “Over 2003–2024, no month showed statistically significant seasonality after correction for multiple testing.” The report card is EURUSD monthly seasonality.
The full report: 256 monthly returns over 22 years, and a row for each calendar month with its mean, hit rate and best and worst year.
December was the strongest month, +1.18% on average and up in 71% of the years. May was the weakest, -0.84%, up in 38%. The report’s note says why neither counts on its own: with twelve months tested at once, one of them looks striking by chance.
Further down, the report shows each month by year, how the month averages changed by decade, and the method.
Step 5: Dissect a strategy’s trades
In a new chat under Market & Data Analysis, we typed:
Dissect the closed trades of the best strategy in my databank: expectancy, MAE/MFE, streaks and time-of-day edges.
8 steps in 18 seconds. A text answer in the chat; no report this time.
Our sentence named no strategy and no databank. No project was open, so Q took Constructeur > Résultats and picked the strategy with the best in-sample Ret/DD, Strategy 0.1957. It said so at the top of its answer.
Q analyzed the strategy’s 186 out-of-sample trades, June 2022 to November 2026, as stored in the databank; it ran no backtest. The profit factor was 1.39 out of sample, down from 2.04 in sample. Expectancy was $300.30 per trade with a win rate of 41.9%, and there were at most 6 losses in a row.
MAE and MFE are how far a trade went against you and in your favor before it closed. On average the winners were $3,402.95 up at their best and closed about $853 below that.
By entry time, the 08:00 entries made $30,072 in 47 trades. Q noted that it had not checked the timezone of the trade times. By weekday, Wednesday lost $5,348 in 52 trades. Q called these patterns hypotheses, not proven filters. Its next step: test an entry-time or Wednesday filter on separate unseen data, with costs.
/skills lists three commands for the work on this page that you can type: /analyze-market, /monthly-seasonality et /analyze-trades. You don’t need them; the requests on this page are plain sentences.
Dépannage
The examples are gone. They show only in an empty chat. Click + in the Q panel’s header and pick Market & Data Analysis again.
Not sure which strategy Q dissected? Q’s answer starts with the databank it used and how it picked the strategy, so check that first. In our test no project was open, so Q took the best strategy by in-sample Ret/DD in Constructeur > Résultats.
Where to go from here
- AI reports: more about the reports Q opens in the chat
- Edge Lab: screen a symbol’s bars for session and regime edges
- Analyze a strategy: what a strategy in your databank actually does
- Q Introduction: what Q is and how a request is answered
What it costs. With GPT-6.1 Terra the bars took 32 credits, the Python edge scan 22, the monthly seasonality 15 and the trade dissection 19: 88 credits together. Sonnet 5 and Opus 5.5 cost several times as much.
Cet article a-t-il été utile ? L'article était utile L'article n'était pas utile






