Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 16:36:18 +0000



Post From: Linux

[2023-06-18 06:10:40]
User726340 - Posts: 30
you can automate exit by enabling UDP api:
https://www.sierrachart.com/index.php?page=doc/UDPAPI.html#ExitProgram

sample python snippet


import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

msg = "EXIT"
sock.sendto(msg.encode(), ("localhost", 22904))
sock.close()