Problems with automated shutdown of robots

Author: allpot, Created: 2020-10-30 15:12:13, Updated:

I'm used to controlling the auto shutdown of the domestic futures, and it may work fine for a day, but occasionally I have the following issues, why?

Traceback (most recent call last): File “<string>”, line 982, in init_ctx File “<string>”, line 119, in <module> File “<string>”, line 65, in main File “<string>”, line 27, in api URLError: <urlopen error [Errno 104] Connection reset by peer>

Some of the code is as follows: if currentime (()>0.2100 and currentime (() <0.2359 and currentwday (()!=6 and currentwday (()!=0 and status==False: # Non-weekend daily from 8:55 to 3:01 Status is true LogStatus (( 0.2100 0.2359, Restart button) is the name of the game. Robotftrade=api ((RestartRobot button, RobotFTrade) is a tool that allows you to create a new trading account. Log ((robotftrade execute the start, api==, robotftrade) This is a list of all the different ways SwTrade is credited in the database. Log ((swtradetrade executed the start,api==swtradetrade) Sleep ((10000) if currentime (() < 0.0855 or currentwday (() == 6 or currentwday (() == 0 and status == True: # less than 8:55 or Saturday or Sunday stop the robot This is not true. LogStatus (( 0.0000 0.900 or weekend, StopRobot)) I'm not sure if I'm going to be able to do it. Log ((robotftrade execution stopped, api==, robotftrade) I've been trying to get a hold of you on this for a while now. Log ((swtradetrade execution stopped, api==swtradetrade)) Sleep ((10000)


More

allpotBut when a mistake occurs, the robot cannot start and stop automatically, only to intervene manually; otherwise, the meaning of the robot administrator is lost.

The grassNetwork connection error, policy not interrupted

The grassYou need to be able to make mistakes, and look at some of the first tutorials that the community has put together.

zhenghaibinloveconnection reset by peer I also have this problem, the policy is interrupted, can you just manually click on restart again?