Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    strategy error

    im getting this error in my strategy, any ide what it can be, it works good in my pc but not in others
    Attached Files

    #2
    Hello Jltarrau ​,

    Thank you for reaching out

    The error is telling you that you have your TIF (Time in Force) set to GTD (Good till Date) but you have not set a Date for it.

    When submitting manual/ATM orders, that setting is found here:

    Click image for larger version

Name:	image.png
Views:	64
Size:	91.7 KB
ID:	1305834

    Within a configured strategy, this setting is found within the properties:

    Click image for larger version

Name:	image.png
Views:	42
Size:	70.2 KB
ID:	1305835

    You either need to set a Date for the GTD or set the TIF to GTC (Good till Cancelled) to avoid this error all together.


    If this is an automated self coded NinjaScript strategy you have created with the Strategy Builder, and need help programming this parameter within your strategy, please contact our engineering team at

    [email protected]

    Please let us know if we may be of further assistance.​
    Erick P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    76 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    26 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X