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 RookieTrader, Today, 09:37 AM
                3 responses
                15 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by kulwinder73, Today, 10:31 AM
                0 responses
                5 views
                0 likes
                Last Post kulwinder73  
                Started by terofs, Yesterday, 04:18 PM
                1 response
                23 views
                0 likes
                Last Post terofs
                by terofs
                 
                Started by CommonWhale, Today, 09:55 AM
                1 response
                4 views
                0 likes
                Last Post NinjaTrader_Erick  
                Started by Gerik, Today, 09:40 AM
                2 responses
                7 views
                0 likes
                Last Post Gerik
                by Gerik
                 
                Working...
                X