Batch Auto Rename
Page contents
SQX AutoRename
A StrategyQuant X plugin that adds a single‑click Auto Rename button to every databank toolbar.
Overview
Automatically renames selected strategies using the format:
TradingStyle_Ticker_Timeframe_001
Examples:
Breakout_SP500_H4_001 Breakout_SP500_H4_002 Momentum_EURUSD_H1_001
- Ticker and timeframe are read automatically from each strategy’s backtest data
- Numbers are sequential and never duplicate existing names in the databank
- Mixed batches (multiple symbols/timeframes) each maintain their own independent counter
Installation
Copy the contents of this repository into:
<SQX_install>/user/extend/Plugins/AutoRename/
Your folder structure should look like:
user/extend/Plugins/AutoRename/
AutoRenamePlugin.java
AutoRenameServlet.java
ui/
module.js
No other folders need to be modified.
Compile & Restart
- Open StrategyQuant X
- Go to Code Editor → Plugins
- Select AutoRename and click Compile
- Restart SQX
After restarting, the Auto Rename button will appear in the databank toolbar, to the right of the Tools menu.
Usage
- Select one or more strategies in any databank
- Click Auto Rename
- Enter a Trading Style (e.g.
Breakout
,
Momentum
,
Counter_Trend
)
- Review the preview of the new names
- Click Rename
Compatibility
Tested on StrategyQuant X Build 143.
Source Code
Full source code is available on GitHub:
https://github.com/AnimateDread/sqx-autorename/tree/main
