Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 10:00:41 +0000



No DTC::MARKET_DATA_UPDATE_TRADE_COMPACT

View Count: 655

[2019-11-27 19:51:49]
User322148 - Posts: 17
In the SierraChart UI, trades for UK100 via the SC Data feed show in the Time and Sales window. I am writing a DTC client. When I subscribe to UK100 I get DTC::MARKET_DATA_UPDATE_BID_ASK_COMPACT messages but no DTC::MARKET_DATA_UPDATE_TRADE_COMPACT messages.

Is it the case that trade messages just aren't support via DTC for that symbol, or am I missing something?

Thanks
[2019-11-28 03:25:28]
Sierra Chart Engineering - Posts: 104368
CFD symbols only provide bid and ask price updates.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-11-28 09:20:56]
User322148 - Posts: 17
If that is the case, how are the Price and Type (bid/ask) derived in the time and sales window?

The price is approximately the average of bid/ask, but whether the result is rounded up or down seems to be arbitrary. How is the rounding determined?

Also, how is the Type (aggressor) determined? From inspection, it is not simply whether the mid price went up or down.
[2019-11-29 11:49:54]
User322148 - Posts: 17
Ok, I think I have it, but could you confirm:

Trade price:
Trade Simulation
"Some symbols with some Data or Trading services will provide only Bid and Ask prices. There are no last trade prices. By default, for this type of data, the price range of the bars in the chart will only be based upon the average of the Bid and Ask prices."

But... The trade price is calculated from the bid/ask float values, then rounded to single digit precision.

bid trade / ask trade:
Numbers Bars: Definitions

Bid Trade: This is a Trade which is considered to have occurred at the Bid price. A Trade is considered to occur at the Bid price for one of the following reasons. Once one of these is true, there is no further evaluation of whether the Trade occurred at the Bid.

1. The exchange or data feed has indicated the Trade has occurred at the Bid. If this is supported, this is the most accurate determination. In the case of the CME data from the Sierra Chart Exchange Data Feed, this is the method used.
2. The price of the Trade is at the Bid price or lower.
3. The trade occurred between the Bid and the Ask and the Trade direction is a downtick and the Bid direction is a downtick.
4. The Trade occurred between the Bid and the Ask and it is closer to the Bid.
5. There has been no change in the last Trade price, and the last Trade was considered a Bid trade.
6. The final determination is if the Trade direction is a downtick.
7. The determination of whether a trade is at the Bid price, is not in any way affected by time stamping. The method of the determination is as explained above.

Ask Trade: This is a Trade which is considered to have occurred at the Ask price. A Trade is considered to occur at the Ask price for one of the following reasons. Once one of these is true, there is no further evaluation of whether the Trade occurred at the Ask.
1. The exchange or data feed has indicated the Trade has occurred at the Ask. If this is supported, this is the most accurate determination. In the case of the CME data from the Sierra Chart Exchange Data Feed, this is the method used.
2. The price of the Trade is at the Ask price or higher.
3. The trade occurred between the Bid and the Ask and the Trade direction is an uptick and the Ask direction is an uptick.
4. The Trade occurred between the Bid and the Ask and it is closer to the Ask.
5. There has been no change in the last Trade price, and the last Trade was considered a Ask trade.
6. The final determination is if the Trade direction is an uptick.
7. The determination of whether a trade is at the Ask price, is not in any way affected by time stamping. The method of the determination is as explained above.

Noting, 4 is not relevant on account of using mid-price.
[2019-11-29 21:01:49]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here for this:
Sierra Chart Real Time and Historical Forex and CFD Data Service: Forex/CFD Market Data and Data Recording Modes

The rounding is definitely not arbitrary. To see the full precision of the numbers you need to increase the Price Display Format in the Chart Settings as explained here:
Sierra Chart Real Time and Historical Forex and CFD Data Service: Forex/CFD Market Data and Data Recording Modes



Also, how is the Type (aggressor) determined? From inspection, it is not simply whether the mid price went up or down.
This is explained here:
Numbers Bars: Definitions
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-11-29 21:02:59

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

Login

Login Page - Create Account