Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart not updating with Kinetic End of Day(Free) connection

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

    Chart not updating with Kinetic End of Day(Free) connection

    Hi , i have configured connection with Kinetick end of day ( free ) conneciton , set the connect at startup , however, did not see any update of the chart at end of day ( i assume for equities , should be 1 pm pacific time. chart properties, shows data series :
    type Day , load data based on Days , End date ( todays date) , trading hours default 24/7
    please advise.

    thanks,

    #2
    Hello HighTrade,

    Thank you for your note.

    If the instrument or stock you are trying to view on the Kinetick EOD connection is supported, you will be able to see EOD historical data for today at the end of the session. What was the instrument in question?

    Please let us know if we may assist further.

    Comment


      #3
      I have a chart with a few tabs. AMZN , GOOG, QQQ , SPY

      Comment


        #4
        i am leaving the chart open 24/7 , and I would like the chart to be updated at end of day without having to reload or re-connect . is this possible ?

        Comment


          #5
          Hello HighTrade,

          Thank you for your reply.

          The feature you are looking for is not possible. There is not an auto-update feature currently available on either NinjaTrader 7 or NinjaTrader 8. You may be able to program NinjaScript to auto-reload historical data.

          Let us know if we may be of any further assistance.
          Jermaine S.NinjaTrader Customer Service

          Comment


            #6
            Hi , got the example ReloadAllHistoricalData(); working , and the chart loads the recent daily data , however , this is done upon change in connection , I need to find if there is a way to have this done based on timer. or cause a connect / disconnect based on timer everytday. so that I will have the chart always showing end of day , without hitting any reload. please advise. thank you

            Comment


              #7
              I tried to do the following inside OnBarUpdate , but get error at bar 0: Object reference not set to instance of object . I have an indicator called FFD, connection is defined there
              public class FFD : Indicator
              {
              public Connection connection
              .........

              protected override void OnBarUpdate()
              {.
              DateTime systemDate = DateTime.Now;
              DateTime compareDateConnect = DateTime.Today.AddHours(16D);
              DateTime compareDateDConnect = DateTime.Today.AddHours(17D);

              if (compareDateDConnect <= systemDate & CurrentBar ==0 ) {

              connection.Disconnect();
              }

              if (compareDateConnect == systemDate) Connect();
              ...code...

              Comment


                #8
                Hello HighTrade,

                Thank you for response.

                There is no supported means to force disconnect and reconnect through NinjaScript. The functionality you are looking for is not supported.

                Please let me know if you have any questions.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by maybeimnotrader, Yesterday, 05:46 PM
                4 responses
                23 views
                0 likes
                Last Post maybeimnotrader  
                Started by frankthearm, Today, 09:08 AM
                6 responses
                24 views
                0 likes
                Last Post frankthearm  
                Started by adeelshahzad, Today, 03:54 AM
                5 responses
                33 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by stafe, 04-15-2024, 08:34 PM
                7 responses
                32 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by merzo, 06-25-2023, 02:19 AM
                10 responses
                823 views
                1 like
                Last Post NinjaTrader_ChristopherJ  
                Working...
                X