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 yertle, Yesterday, 08:38 AM
7 responses
28 views
0 likes
Last Post yertle
by yertle
 
Started by bmartz, 03-12-2024, 06:12 AM
2 responses
21 views
0 likes
Last Post bmartz
by bmartz
 
Started by funk10101, Today, 12:02 AM
0 responses
5 views
0 likes
Last Post funk10101  
Started by gravdigaz6, Yesterday, 11:40 PM
1 response
9 views
0 likes
Last Post NinjaTrader_Manfred  
Started by MarianApalaghiei, Yesterday, 10:49 PM
3 responses
11 views
0 likes
Last Post NinjaTrader_Manfred  
Working...
X