Switch to the OKEX_V5 analogue trading terminal plug-in

Author: The Little Dream, Date: 2021-06-08 10:58:17
Tags: OKEX

The OKEX_V5 analog switch plug-in for the transaction terminal

When configuring an OKEX V5 exchange object (using OKEX V5's Analog Disk API KEY configuration), the following error occurs because the Analog Disk environment is not switched:

{"msg":"Broker id of APIKey does not match current environment.","code":"50101"}

You can use this plugin to switch, as shown below:

  • Click on the add button:

    img

  • Select the plug-in:

    img

  • Run the plugin

    img

  • Immediate execution

    img

  • The simulation disk assets read it out.

    img

If you want to switch back to the real disk environment, tick the option to execute again.


function main() {    
    exchange.IO("simulate", true)
    return "已经切换为OKEX V5模拟盘"
}

Related

More

High frequency quantizationHello, please ask: How can I not write a policy on FMZ?

The Little DreamI don't understand what you mean, how can it be shown on FMZ without FMZ?