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 dustydbayer, Today, 01:59 AM
      0 responses
      1 view
      0 likes
      Last Post dustydbayer  
      Started by inanazsocial, Today, 01:15 AM
      0 responses
      3 views
      0 likes
      Last Post inanazsocial  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      22 views
      0 likes
      Last Post trilliantrader  
      Started by Davidtowleii, Today, 12:15 AM
      0 responses
      3 views
      0 likes
      Last Post Davidtowleii  
      Started by guillembm, Yesterday, 11:25 AM
      2 responses
      10 views
      0 likes
      Last Post guillembm  
      Working...
      X