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

测试策略交互控件

Author: 发明者量化-小小梦, Date: 2024-06-27 14:51:58
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