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:	68
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:	45
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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X