Login Page - Create Account

Support Board


Date/Time: Wed, 10 Sep 2025 00:48:41 +0000



Post From: DTC Order sending only sends sell orders but not buy order.

[2025-07-28 17:22:47]
User370774 - Posts: 32
Hi, thank you in advance for your time looking into this.

I have a perfectly working little python script that on execution sends a SELL order to Sierra Chart via DTC(JSON compact), order opens, I'm short, I'm happy.

But when I switch it to send a BUY order, no order gets opened in SC.
As far as I know, in order to send a BUY order I only have to set a 1 instead of a 2

"BuySell": 1

The Sierra log as well as the Terminal log on the python(client) side seem to not indicate any difference (unless I missed it).

I'll attach both logs and the small script.
Hopefully one of you can spot the problem bc I'm lost.

Thank you so much!
Private File
imageSellDontBuy.jpg / V - Attached On 2025-07-28 17:13:11 UTC - Size: 184.75 KB - 40 views
imageSellDontBuy_Terminal.jpg / V - Attached On 2025-07-28 17:13:17 UTC - Size: 490.3 KB - 42 views