Use Qube from the CLIYou can use the TQX CLI directly to run investment research in Qube.
Start with a research question
Tell Qube:- Which market you are interested in.
- Which data or factors you want to study.
- What strategy or signal you want to test.
- Your preferred period, frequency, and holding horizon.
- Whether you want a backtest after the strategy is saved.
- HK Strategies — Hong Kong trend and breakout strategies.
- US Strategies — US stock strategy templates.
- Factor Research — Momentum, volume, and correlation analysis.
- Common Tools — Backtesting, optimization, and strategy summaries.
Follow the strategy lifecycle
Create a strategy
Start from a trading idea or existing code.
Run a backtest
Simulate a saved strategy version with historical data.
Read run history
Review metrics, trades, and the equity curve.
Compare versions
Compare and review versioned code snapshots.
Optimize parameters
Search a defined parameter space for better candidates.

