Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bool Property With RefreshProperties.All Does Not Work In Strat Analyzer Optimization

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

    Bool Property With RefreshProperties.All Does Not Work In Strat Analyzer Optimization

    When a strategy has a bool NinjaScriptProperty property that is marked with "[RefreshProperties(RefreshProperties.All)]" attribute, it does not work correctly when in optimization mode on the strategy analyzer.

    In the other modes, it works correctly, and triggers the properties to be re-parsed and trigger any configured TypeConverter.

    However, in the optimization mode, this is not happening. Not sure how it is implemented, but this attribute needs to be respected or propagated to any nested property.

    This is important so the UI is consistent for the user in all modes.

    #2
    Actually, you can remove this. If it triggered, you would not be able to know if the value is set to the Both option.

    Comment


      #3
      Hello aslane,

      Thanks for the post and update.

      It looks like you resolved the question however if you are seeing a problem surrounding refreshing the properties could you attach a small sample that includes a couple properties that exhibit the problem? I can make a report about that if you are seeing some inconsistency.

      I look forward to being of further assistance.
      JesseNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      160 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      8 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X