Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accurate EOD Values

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Accurate EOD Values

    Hi,

    I am using EOD values of several instruments to calculate an indicator in a multi - instrument strategy. The values are requested by Closes[0][0], Closes[1][0], etc.
    It seems, however, that some values are correct and of the last close, and others are of the previous day.
    Obviously, this is a session timing issue, but I have no idea how to solve it. It seems that using another session template may solve it for one, but not the other. Is there a way to specify for the correct end of session within the strategy?

    I'm using Session template of - US Equities RTH since my time zone is UTC+2.

    Thanks, bkool.

    #2
    bkool, which broker or datafeed is used and when do you do those calculations?

    Comment


      #3
      Hi Bertrand,
      I was testing EOD of both CQG and Kinetic. The latter seems cleaner.
      Obviously, when using instruments of the same session template, the Closes[0] data will be consistent. The issue I have is only when using instruments of different sessions.
      For example -
      ES: template session - CME US index futures ETH,
      6E: template session - CME FX futures ETH,
      GC: template session - Nymex Metals / energy ETH.
      My specific aim is to get the last EOD values of these instruments on a chart and in a strategy.
      Thanks.

      Comment


        #4
        bkool, so this would be on intraday or daily data?

        Only the intraday data would be affected by the used session template, the daily bar session / content will be dependent upon the connected provider.

        If you add those series for programmatic access they would use the same session template as the primary series, unless you're using <Use Instrument Settings>, then the Instrument's default would be used.

        Another would approach would be working on for example Default 24/7 that would cover all trading segments and then just grab the value needed via GetBar().

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        106 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        54 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        36 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        38 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        74 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X