Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TIF GTD date does not change when changed from the strategy properties popup window.

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

    TIF GTD date does not change when changed from the strategy properties popup window.

    Leveraging this example https://ninjatrader.com/support/help...gyselector.htm, I want to be able to assign a changed Gtd date to my tifSelector. But CustomPropertiesChangedEventArgs in my CustomPropertiesChanged method does not pass a property for the Gtd date.

    I find this is not working in Chart Trader or the SuperDOM either when only changing the Tif value.

    Example:

    1. On Chart Trader or the SuperDOM select an ATM Strategy.
    2. Set TIF to GTD and select a date into the future.
    3. Now click "edit" on the ATM Strategy.
    4. On the ATM Strategy Parameters popup change the GTD date to another future date.
    5. Click the OK button.
    6. Now check the GTD date value on the Chart Trader or SuperDOM TIF field. It has not been changed. Is the date expected to be changed?
    Last edited by martyn73; 05-16-2020, 03:30 PM.

    #2
    Hello martyn73,

    Thanks for your post.

    I had tested using the AddOn Framework example and I have made the following changes at line 480 to have the TIF Selector get the Gtd date when the ATM strategy selector sets TimeInForce to Gtd.

    Code:
    if (selectedStrategy != null)
    {
        tifSelector.SelectedTif = selectedStrategy.TimeInForce;
        if (tifSelector.SelectedTif  == TimeInForce.Gtd)
            tifSelector.GtdDate = selectedStrategy.Gtd;
    }
    AddOn Framework example - https://ninjatrader.com/support/help...t_overview.htm

    If this does not resolve the matter, could you attach an example demonstrating the issue as you are hitting it?

    We look forward to assisting.
    Last edited by NinjaTrader_Jim; 05-18-2020, 08:01 AM.

    Comment


      #3
      Ignoring the custom code part on this for a second. Please take a look at my steps to replicate the issue in the initial post. You can do that on Chart Trader or the SuperDOM. Is that considered to work as designed or a bug?

      Comment


        #4
        Hello martyn73,

        I have not heard back from Development yet, but my initial thought is that it is that is not intended. I'll update this thread with a tracking number once we hear back and if it is determined to be a bug.

        EDIT: I just heard back from the Development team and the issue has been recognized as a bug and a fix has been applied. There is another release pending soon, so the fix will be available in the next release after that. Our tracking ID is NTEIGHT-14473. (The number for this ID can be found in the Release Notes page of the Help Guide when a new release comes out with the fix.)

        Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

        Thanks for reporting and we hope you have what you need to move forward with your own works!
        Last edited by NinjaTrader_Jim; 05-22-2020, 05:50 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        560 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        325 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        547 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X