Suppose I want to do an adjustment while backtesting futures data, is there a place where I can specify my own adjustment rules, e.g. suppose I want to rollover say N days before maturity/ expiry for a particular market?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
backtesting futures - adjustment
Collapse
X
-
backtesting futures - adjustment
I saw a Youtube video on advanced strategy development which showed a few options back adjustment, no adjustment etc for futures trading.
Suppose I want to do an adjustment while backtesting futures data, is there a place where I can specify my own adjustment rules, e.g. suppose I want to rollover say N days before maturity/ expiry for a particular market?Tags: None
-
Hello,
Thanks for your post.
This would not be something that would be available to change in the Strategy Analyzer. If you'd like to adjust the rollover dates for any contracts, the only option would be to add your own rollover dates in the Instrument Manager or to use time checks in your logic for specific dates.Drew O.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_DrewO View PostHello,
Thanks for your post.
This would not be something that would be available to change in the Strategy Analyzer. If you'd like to adjust the rollover dates for any contracts, the only option would be to add your own rollover dates in the Instrument Manager or to use time checks in your logic for specific dates.
Comment
-
Hello,
Thanks for your note.
NinjaTrader comes set up with expiratiosn based on the typical rollover date of years past.
You can view an instruments default rollover configuratrion in the Instrument Manager. This can be found under Tools -> Instrument Manager -> Search for the instrument by name or description -> Select the instrument once found -> Edit. Inside the Edit window, click the "Misc" tab and scroll to the very bottom. Select "Contract months" and then press the "..." button that appears.Drew O.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_DrewO View PostHello,
Thanks for your note.
NinjaTrader comes set up with expiratiosn based on the typical rollover date of years past.
You can view an instruments default rollover configuratrion in the Instrument Manager. This can be found under Tools -> Instrument Manager -> Search for the instrument by name or description -> Select the instrument once found -> Edit. Inside the Edit window, click the "Misc" tab and scroll to the very bottom. Select "Contract months" and then press the "..." button that appears.
Thanks Drew. One more question, when I click on the "..." and looked at the rollover dates, some of the them have an "Offset" value. What does the "Offset" value stand for?
Comment
-
Hello,
The offset is the value that NinjaTrader uses to merge the past historical data to ensure a smooth flow of data. The offset value refers to the difference between the last price of the previous contract, and the open price of the next contract on the specified day for rollover.Drew O.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by frankthearm, Today, 09:08 AM
|
10 responses
35 views
0 likes
|
Last Post
by frankthearm
Today, 02:54 PM
|
||
Started by GwFutures1988, Today, 02:48 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 02:48 PM | ||
Started by mmenigma, Today, 02:22 PM
|
1 response
3 views
0 likes
|
Last Post Today, 02:34 PM | ||
Started by NRITV, Today, 01:15 PM
|
2 responses
9 views
0 likes
|
Last Post
by NRITV
Today, 01:51 PM
|
||
Started by maybeimnotrader, Yesterday, 05:46 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 01:19 PM |
Comment