Support Board
Date/Time: Thu, 28 Nov 2024 20:29:51 +0000
How To Tell If Data Is Delayed
View Count: 1945
[2020-02-24 12:47:59] |
User969241 - Posts: 95 |
I am waiting for my live data feed to be confirmed. Right now, my data feed is delayed. Is there somewhere that says if it is switched over to the live feed or a place in the system that shows live vs delayed?
|
[2020-02-24 16:50:16] |
John - SC Support - Posts: 36350 |
You can see the status of the Denali Exchange Data Feed by going to this link: https://www.sierrachart.com/UserControlPanel.php?page=ServicesActivation&UserID=194725#DenaliExchangeDataFeed But we see everything looks fine with your setup of the Denali Exchange Data feed on the website. Please check and ensure that the option File >> Data/Trade Service Settings >> Allow Support for Sierra Chart Data Feeds is enabled. If the above is enabled, and you are still not getting real-time data, then follow these instructions: Follow the instructions here to clear the Message Log: Message Log: Clearing the Message Log Open a chart for the symbol you have an issue with. Tell us that symbol of the chart. Disconnect from the data feed with "File >> Disconnect". Connect to the data feed with "File >> Connect to Data Feed". After the connection and after about 10 seconds, provide a copy of the Message Log following these instructions: https://www.sierrachart.com/index.php?page=PostingInformation.php#MessageLog For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-02-25 16:28:09] |
Sierra Chart Engineering - Posts: 104368 |
To tell if the data is delayed you just need to look at the Time field along the top line of the chart and then compare that to the time you see on the title bar of the chart. When the market is trading you will see approximately a 10 minute difference. We will also add an optional delayed indicator. 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 |
[2023-04-05 16:18:05] |
Delta Tango Foxtrot - Posts: 32 |
Wondering if this indicator was created and if so, where / how to access / add to chart. Thank you. |
[2023-04-05 20:49:06] |
John - SC Support - Posts: 36350 |
The information for the delay of the data can be added to your Chart Header. Refer to the information here: Working With Charts: Region Data Line / Chart Header For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-04-05 20:56:40] |
Delta Tango Foxtrot - Posts: 32 |
Is it possible to create an Alert based on data being delayed vs real-time?
Date Time Of Last Edit: 2023-04-05 20:57:04
|
[2023-04-05 21:13:54] |
Tony - Posts: 522 |
@DTF with ACSIL, I am just comparing close time of last bar and current system time, if the difference is equal or greater than 1 second, then I print a warning message on the chart, says streaming is delayed. |
[2023-04-05 22:06:04] |
Delta Tango Foxtrot - Posts: 32 |
Thanks Tony. ACSIL, a bit over my head at the moment, but good to know it can be done. |
[2023-04-06 03:05:45] |
Tony - Posts: 522 |
@DTF Here is the study that does that, please follow the instruction about how to build it: How to Build an Advanced Custom Study from Source Code In the evening session, you will see "Delayed" a lot, nothing wrong with your data feed, just because the trading volume is so low. (see attached animated .gif) #include "sierrachart.h" SCDLLName("Stream Delayed Warning") void AddDrawing ( SCStudyInterfaceRef sc, int UniqueNumber, int HorizontalStart, int HorizontalEnd, DrawingTypeEnum DrawingType, float BeginValue, float EndValue, int DrawingColor, int FontSize, int BoldFlag_LineWidth, SCString TextContent ) { s_UseTool Pencil; Pencil.Clear(); Pencil.LineNumber = UniqueNumber; Pencil.BeginDateTime = HorizontalStart; Pencil.EndDateTime = HorizontalEnd; Pencil.FontBackColor = sc.ChartBackgroundColor; Pencil.DrawUnderneathMainGraph = 0; Pencil.DrawingType = DrawingType; Pencil.UseRelativeVerticalValues = 1; Pencil.BeginValue = BeginValue; Pencil.EndValue = EndValue; Pencil.Color = DrawingColor; Pencil.FontSize = FontSize; Pencil.FontBold = BoldFlag_LineWidth; Pencil.LineWidth = BoldFlag_LineWidth; Pencil.Text = TextContent; sc.UseTool(Pencil); } SCSFExport scsf_StreamDelayedWarning(SCStudyInterfaceRef sc) { SCInputRef Horizontal {sc.Input[0]}; SCInputRef Vertical {sc.Input[1]}; SCInputRef TextColor {sc.Input[2]}; SCInputRef TextSize {sc.Input[3]}; if (sc.SetDefaults) { sc.GraphName = "Stream Delayed Warning"; sc.AutoLoop = 1; sc.UpdateAlways = 1; sc.GraphRegion = 0; Horizontal.Name = "Horizontal Position (0-150)"; Horizontal.SetInt(5); Vertical.Name = "Vertical Position (0-100)"; Vertical.SetInt(80); TextColor.Name = "Text Color"; TextColor.SetColor(0, 0, 0); TextSize.Name = "Text Size"; TextSize.SetInt(12); return; } SCString DisplayText {""}; if (sc.CurrentSystemDateTime - sc.BaseDataEndDateTime[sc.Index] > SCDateTime::SECONDS(1)) { DisplayText.Format("Delayed "); if (sc.CurrentSystemDateTime - sc.BaseDataEndDateTime[sc.Index] > SCDateTime::SECONDS(300)) DisplayText.AppendFormat("> 5m"); else DisplayText.AppendFormat( "%d s", (sc.CurrentSystemDateTime - sc.BaseDataEndDateTime[sc.Index]).GetTimeInSeconds() ); } else DisplayText.Format("Streaming"); AddDrawing ( sc, 100, Horizontal.GetInt(), 0, DRAWING_TEXT, Vertical.GetInt(), 0, TextColor.GetColor(), TextSize.GetInt(), 0, DisplayText ); } Date Time Of Last Edit: 2023-04-06 05:15:14
|
Stream.gif / V - Attached On 2023-04-06 05:10:56 UTC - Size: 1.43 MB - 104 views Attachment Deleted. |
[2023-04-06 11:33:00] |
Delta Tango Foxtrot - Posts: 32 |
Good stuff! Thanks Tony.
|
To post a message in this thread, you need to log in with your Sierra Chart account: