• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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

  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • HighTrade
    replied
    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...

    Leave a comment:


  • HighTrade
    replied
    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

    Leave a comment:


  • NinjaTrader_Jermaine
    replied
    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.

    Leave a comment:


  • HighTrade
    replied
    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 ?

    Leave a comment:


  • HighTrade
    replied
    I have a chart with a few tabs. AMZN , GOOG, QQQ , SPY

    Leave a comment:


  • NinjaTrader_ChrisSch
    replied
    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.

    Leave a comment:


  • 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,

Latest Posts

Collapse

Topics Statistics Last Post
Started by benjamind10, Today, 07:27 PM
0 responses
4 views
0 likes
Last Post benjamind10  
Started by YevhenShynkarenko, Today, 06:07 PM
0 responses
4 views
0 likes
Last Post YevhenShynkarenko  
Started by StevenNelson, Today, 04:07 PM
3 responses
11 views
0 likes
Last Post NinjaTrader_ShawnB  
Started by Matthew Spositi, Today, 03:28 PM
2 responses
8 views
0 likes
Last Post Matthew Spositi  
Started by faisamtrader, Today, 01:30 PM
2 responses
21 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X