Futures Intraday Strategy Analysis
Paste the following prompt into your AI chat to install this skill:
Please install @user_fb344a14/futures-intraday-strategy according to https://skillhub.cn/install/skillhub.md.
About this skill
What problem it addresses
Futures intraday rules are hard to validate when data is scattered and the same backtest must be rerun for different month trading days, weekdays, directions, and lot multipliers.
This workflow turns that process into a repeatable pipeline: fetch front-month daily data, apply month-N signal rules, calculate open-in and close-out PnL, apply weekday filters, and export an auditable Excel report.
Workflow and key steps
- Data input: use front-month continuous contracts such as
SC0,RB0,M0,I0, andIF0, with crude oil front monthSC0as the default example. - Signal rules: set
--long-daysand--short-daysto trade on the Nth trading day of the month, for example6,16,18for long and4,13,21for short. - Filtering and backtesting: use
--no-short-weekdaysand--no-long-weekdaysto exclude specific weekdays, then calculate PnL, win rate, profit factor, and maximum drawdown from--start-date. - Output: the Excel workbook includes strategy overview, backtest summary, daily statistics, trade details, skipped trades, monthly and yearly summaries, and weekday statistics, making it easier to inspect skipped trades and weak months.
Boundaries
- Data comes from public finance sources such as AKShare/Sina and is intended for research, not live execution prices.
- Front-month continuous contracts can have roll gaps, so backtest results may deviate from real fills.
- The workflow is best used for parameter exploration and historical review, not as a guarantee of stable returns.
Use Cases
- A quant researcher tests long days 6, 16, 18 and short days 4, 13, 21 on crude front-month contracts to review historical win rate and drawdown.
- A strategy analyst compiles weekday, month trading day, average spread, and trade-by-trade PnL into an Excel report.
- A risk analyst checks whether weekday filters such as no shorts on Mon/Wed and no longs on Thu skipped trades or excluded winners.
- A futures researcher switches lot multipliers across rebar, soybean meal, iron ore, and stock index contracts to compare the same signal rules.
Best For
- Quant strategy researchers validating month-day rules and long/short date combinations
- Strategy analysts organizing backtest results into auditable Excel details
- Risk analysts reviewing skipped trades, filter false negatives, and drawdown
- Futures researchers exploring parameters across contracts and lot multipliers
Related Skills
A nanoAR projection advisor that applies fixed optics formulas to select films, projectors, and quote templates.
Run the ORI Nextflow collection on the Tencent Health Genomics Platform for protein generation, signal peptide, solubility, thermostability, and structure prediction.
Evaluates regional resources, industrial base, and innovation capacity to recommend future industry directions with actionable layout guidance.
A pre-IPO tax and internal-control framework covering three-year cleanup, restructuring tax, controls, remediation, related-party transactions, and compliance reporting.