资源加载中... loading...

测试策略交互控件

Author: 雨幕(youquant), Date: 2024-06-28 16:04:00
Tags:

该策略用于测试优宽量化交易平台策略设计中交互控件功能。


function main() {
    var lastCmd = ""
    while (true) {
        var cmd = GetCommand()
        if (cmd) {
            Log(cmd)
            lastCmd = cmd
        }
        LogStatus(_D(), lastCmd)
        Sleep(500)
    }
}
template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6