Login Page - Create Account

Support Board


Date/Time: Fri, 29 May 2026 15:33:29 +0000



[Programming Help] - Connect Python script to Sierra Chart for automated spread orders

View Count: 20

[2026-05-29 10:48:15]
User579675 - Posts: 2
Hello,

I have a Python script that reads real-time prices from Sierra Chart data files and calculates entry/exit signals for a 2-leg spread (ZFU26 + ZNU26). I need to connect this script to Sierra Chart to execute orders automatically.

What I tried:

DTC Protocol Server: Python connects successfully to port 11099, heartbeat is sent and acknowledged, but SUBMIT_ORDER messages are never executed. No orders appear.

Trading System Based on Alert Condition: tried FILE() formula but get #SYNTAX! error

Spreadsheet System for Trading: cannot link external CSV

My question:
What is the recommended way to have an external script trigger orders in Sierra Chart? Is DTC supposed to work with JSON? Or is ACSIL (C++) the only way?

Thank you.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account