Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-28-2012, 03:24 PM   #1
Tdschulz
Member
 
Join Date: Apr 2010
Posts: 81
Thanks: 9
Thanked 2 times in 2 posts
Default Time format for optimizer

I am running the optimizer on a strategy which uses begin time and stop time. However, the time format the optimizer reports is 108500 which I interpret as 10:85:00 (hr:min:sec). Obviously there is no 85th minute. How do I interpret that result?
Tdschulz is offline  
Reply With Quote
Old 04-28-2012, 04:26 PM   #2
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 383 times in 372 posts
Default

Tdschulz,

Could you possibly show me some screen shots of this? Generally the strategy analyzer wouldn't report 85 minutes, so it would help me to see the circumstances a bit better.
NinjaTrader_AdamP is offline  
Reply With Quote
Old 04-28-2012, 06:11 PM   #3
Tdschulz
Member
 
Join Date: Apr 2010
Posts: 81
Thanks: 9
Thanked 2 times in 2 posts
Default

Attached is the Begin and End Time parameter. Let me know if you have ideas. I don't have the source code to share so this is all I can provide.
Attached Images
File Type: png Capture.PNG (2.6 KB, 7 views)
Tdschulz is offline  
Reply With Quote
Old 04-30-2012, 07:53 AM   #4
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 383 times in 372 posts
Default

Tdschulz,

Thanks for the image. I believe this would depend on how the strategy is handling the code. Currently, a time filter can be used but its generally set to HHMMSS. If the strategy doesn't convert between minutes and hours it may adversely affect results. Without seeing the code here it would be difficult to tell you how to interpret this.
NinjaTrader_AdamP is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time scale format MikeInMA Version 7 Beta General Questions & Bug Reports 3 07-18-2010 08:02 PM
Time format in control panel mxmauro Miscellaneous Support 1 03-30-2009 02:19 AM
Time format Mindset General Programming 6 02-02-2009 08:45 AM
Has Time & Sales format changed ? grd974 General Programming 1 09-17-2007 10:30 AM
Time Format grd974 General Programming 6 08-13-2007 06:45 AM


All times are GMT -6. The time now is 12:37 AM.

FULL RISK DISCLOSURE: Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.