Test Strategy Interactive Control
This strategy is used to test the interactive control functions in the Inventor Quantitative Trading Platform strategy design.
This strategy is used to test the interactive control functions in the Inventor Quantitative Trading Platform strategy design.
Parameters
| Name | Default | What it controls |
|---|---|---|
| cmdNum1 | Note of interactive control cmdNum1 | (?Numeric Type) Description of interactive control cmdNum1 |
| cmdNum2 | Notes for interactive control cmdNum2 | Description for interactive control cmdNum2 |
| cmdNum3 | Notes for interactive control cmdNum3 | Description for interactive control cmdNum3 |
| cmdBool1 | Notes on the interaction control cmdBool1 | (? Boolean type) Description of the interactive control cmdBool1 |
| cmdStr1 | Notes on the cmdStr1 interaction control | (?string type) Description of the cmdStr1 interaction control |
| cmdStr2 | Note for interactive control cmdStr2 | Description of interactive control cmdStr2 |
| cmdStr3 | Note for interactive control cmdStr3 | Description of interactive control cmdStr3 |
| cmdStr4 | Note for interactive control cmdStr4 | Description of interactive control cmdStr4 |
| cmdCombox1 | Note of interactive control cmdCombox1 | (? dropdown type) description of interactive control cmdCombox1. |
| cmdCombox2 | Remarks on interactive control cmdCombox2 | Description of interactive control cmdCombox2 |
| cmdCombox3 | Remarks on interactive control cmdCombox3 | Description of interactive control cmdCombox3 |
| cmdBtn | Notes on the cmdBtn interaction control | (? Button type) Description of the cmdBtn interactive control |
Source JavaScript
function main() {
var lastCmd = ""
while (true) {
var cmd = GetCommand()
if (cmd) {
Log(cmd)
lastCmd = cmd
}
LogStatus(_D(), lastCmd)
Sleep(500)
}
}Published by 发明者量化-小小梦 on the FMZ strategy square · last modified 2024-06-27. Collected in the Quant Trading Vault. Unvalidated research: re-test with your own data and costs before trusting it.
Build this with AgenKit
A spec is not a trading system. Paste this into your coding agent and AgenKit runs a specialist team — architecture, test-first build, risk gates, review — with paper trading on by default.
/agenkit build a production-grade trading bot with a backtest engine, risk controls and paper trading by default from strategies/Test-Strategy-Interactive-Control.md- npx agenkit install engineering-kit in your project
- Paste the command into your agent and approve each phase
- Get tests, backtest, risk controls and a paper-trading switch
Understand it first
Before you run this, read the lesson behind the idea and how to backtest it honestly. Specs like this one are the survivors of an unknown number of trials; deflate their results accordingly.