Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Discrepancy between backtest and live chart
Collapse
X
-
Discrepancy between backtest and live chart
I am using Kinetick for VIX EOD data and use the previous day's closing value in calculations for an indicator which is used in a strategy. When I backtest, I can verify that the values used are the correct ones. However, when I run the strategy in a demo account, the value of the VIX closing price used to plot the indicator on a chart is from TWO days ago. What could be causing this and how can I fix it?Last edited by fizikz; 02-21-2013, 11:54 AM.Tags: None
-
I use Closes[x][0] in the strategy and indicator. Checking in the historical data manager, I can see that the last day's closing data are available, even during the current trading day. Is it not possible to access it?
Another point that is perhaps relevant is that this issue is for the VIX data from Kinetick. It seems the same code works fine for other instruments from the demo account's real-time data feed.
Comment
-
I start the strategy and keep it running 24/7. Initially, the values used by the strategy are correct if I have downloaded historical data.
However, after the close of the session, say after 4:30pm EST, the new values for the previous session's close are not updated by the indicator on the chart. The strategy does update to the new close values for the other instrument (ES) from a real-time feed, but not for VIX from Kinetick EOD data feed.
To fix this, I download historical data, restart NT, and reload historical data. Then, the strategy uses the correct data, but the chart again uses the VIX from 2 days ago instead of the last close.
So, I see two problems, one is about updating values from the Kinetick EOD data feed automatically, and the other with the chart not using the right data for the last close for VIX from Kinetick.
Comment
-
fizikz,
'However, after the close of the session, say after 4:30pm EST, the new values for the previous session's close are not updated by the indicator on the chart. The strategy does update to the new close values for the other instrument (ES) from a real-time feed, but not for VIX from Kinetick EOD data feed.'
But you would see correct values on the next day then, at / after cash market open - when the VIX Kinetick EOD bars had seen their bar update event called > so new bar opend?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
666 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
377 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment