Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jul 2026 09:18:42 +0000



DTC POSITION_UPDATE (306) reports different position than Sierra Chart Trade Window / Char

View Count: 12

[2026-07-16 07:32:37]
cuckiecheese - Posts: 112
Hi,

I'm developing an external application that communicates with Sierra Chart through the DTC Protocol Server.

I've isolated what appears to be a discrepancy between the DTC POSITION_UPDATE messages and the position shown by Sierra Chart itself.

Environment
Sierra Chart current version
Service: Teton CME Routing
Clearing Firm: Phillip Capital
Trade Account: Sim1
DTC JSON Protocol Server
One chart for MNQU26_FUT_CME
Expected behavior

I expected unsolicited POSITION_UPDATE (Message Type 306) to represent the same position shown in:

Trade Window
Chart Position Line
Trade Position

for the specified Trade Account.

What I observe

The Sierra Trade Window and Chart Position indicate one position while the DTC server reports another.

Example:

Trade Window:

Trade Account: Sim1
Position: Flat

DTC Server reports:
{
"account": "Sim1",
"symbol": "MNQU26_FUT_CME",
"quantity": 5,
"requestId": 0,
"unsolicited": true,
"updateKind": "live",
"sourceMessageType": 306
}

The message is unsolicited (requestId = 0).
[2026-07-16 07:34:48]
cuckiecheese - Posts: 112
I then manually sold 1 contract from Sierra Chart.

Immediately afterwards:

Sierra Chart

Trade Window / Chart Position:

Position = -1
DTC

The DTC server reports:

TradeAccount = Sim1
Quantity = +4
RequestId = 0
Unsolicited = true
MessageType = 306

So the DTC position appears to have changed

+5

+4

while Sierra Chart itself changed

0

-1


This was reproduced without relying on my application for position calculations.

The application simply records the values Sierra sends.

It also records fills separately.

The execution/fill stream indicates exactly one SELL execution, which agrees with the Sierra Chart position (-1), but not with the DTC POSITION_UPDATE quantity.


Questions
Is POSITION_UPDATE (Message 306) expected to represent the same position shown in the Sierra Chart Trade Window?
Can unsolicited POSITION_UPDATE messages originate from a different internal position ledger than the Trade Window?
Is there another DTC message that should be used to determine the current authoritative trade position?
Is there any known situation where Trade Account Sim1 can report a different position through DTC than what Sierra Chart displays?
Are there additional request(s) required after logon to obtain the same position state displayed by Sierra Chart?

I have captured:

/status
/positions
/orders
/fills

from the bridge immediately after the discrepancy occurred and can provide those if helpful.

Thank you.
attachmentDTCbug.txt - Attached On 2026-07-16 07:34:19 UTC - Size: 2.22 KB - 1 views

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

Login

Login Page - Create Account