The resource loading... loading...

API documentation Example Failed test

Author: frankchen, Created: 2018-01-30 22:07:49, Updated: 2018-01-30 22:08:02

For the simplest example, if I wanted to post a price of 100 and a number of 1s on the exchange every 1 second, I could write it like this: 2.1 The classic strategic framework

function is on Tick ((() { exchange.Buy ((100,1)); I'm not sure. function main (()) { while ((true) { This is the first time I've seen this. Sleep ((1000);// How long to pause can be customized, unit is millisecond ((1 second = 1000 milliseconds) I'm not sure. I'm not sure. System error reported ReferenceError: identifier onTick undefined at main (FILE:22)

If you want to implement a continuous query API order, which function should you use?


More

frankchenI'll send the code out again if I restart the robot.

Inventors quantify - small dreamsI copied directly. Your code above has been tested and runs without problems. This error message is ReferenceError: identifier 'onTick' undefined at main (FILE:22) means 22 lines of onTick are undefined.