Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 12:47:12 +0000



Post From: Python for Sierra Chart

[2014-07-10 13:14:28]
ganz - Posts: 1048
for the record:

in order to use the script on a x64 system it needs to define the byte order for the struct function as explained there https://docs.python.org/3.0/library/struct.html for little-endian

in other words use '='or '<':

src = struct.unpack('=d4f4L', tick)

or

src = struct.unpack('<d4f4L', tick)