The resource loading... loading...

Testing policy for interactive controls

Author: Inventors quantify - small dreams, Date: 2024-06-27 14:51:58
Tags:

The strategy is used to test the interactive controller functionality in the inventor's quantitative trading platform strategy design.


function main() {
    var lastCmd = ""
    while (true) {
        var cmd = GetCommand()
        if (cmd) {
            Log(cmd)
            lastCmd = cmd
        }
        LogStatus(_D(), lastCmd)
        Sleep(500)
    }
}

More