Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Listing strategies fails

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

    Listing strategies fails

    Imagine this simple 2-level hierarchy of custom strategies:
    1. MyBaseStrategy : Strategy
    2. MyFinalStrategy : MyBaseStrategy


    StrategyAnalyzer fails on this scenario = fails to properly display list of available strategies.
    Problem is that is Strategy Analyzer displays 2x same name: MyBaseStrategy

    It is very simple to reproduce = 1 minute work:
    1. Generate 2 simple strategies
    2. Create there the above mentioned hierarchy
    3. Compile and see problem in Strategy Analyzer window when selecting strategy for backtest


    Files to easily reproduce same problem attached below:
    (just copy them into Strategies folder)
    http://ninjatrader.com/support/forum...1&d=1445984557
    http://ninjatrader.com/support/forum...1&d=1445984563

    See screenshot below



    To point out more details:
    1. I see one problem, that it display the name of inherited class, not the child class of the strategy
    2. I would suggest, that strategies marked as abstract - should be skipped from list of available strategies. Abstract strategy can never be tradeable/runnable.
    3. The nested panels for selection of available strategies are completely weird in their width = they are extremely wide. Very user-unfriendly GUI component.
    Attached Files
    Last edited by misova; 10-28-2015, 02:20 AM.

    #2
    Hello misova,

    Thank you for your inquiry.

    I am unable to reproduce this behavior on my end.

    What I have done is create two strategies. The second strategy derives from the first rather than "Strategy".

    The files you have attached direct to non-working links on my end.

    Please attach the files to your post rather than linking to them so I may test on my end.

    To verify, what version of the NinjaTrader 8 beta are you currently running on?
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Thank you for reply,
      I have attached the files again. Please check, if you can reproduce with files provided below.

      I am using Ninjatrader Beta 8.0.0.6

      Test.Test2.MyBaseStrategy.cs

      Test.Test2.MyFinalStrategy.cs

      Comment


        #4
        I am not sure, were you successful in reproducing the known problems?
        Because on my side I can reproduce it everytime.

        Comment


          #5
          Hello misova,

          I am still unable to reproduce this on my end. The duplicate entries do not appear on my end.

          Please remove these two scripts and re-create new ones with different names from the original.

          Please, let me know if the issue still occurs.
          Zachary G.NinjaTrader Customer Service

          Comment


            #6
            That is really weird- after deletion of files and manual recreation everything from the scratch,
            I cannot simulate this problem anymore. It just works.

            Can't understand, how I could get into previous erroneous state - but I sent the screenshot with UI, so it is clear, that it happened.

            Finally, it's good, that problem disappeared, what' not good - we cannot understand the reason why it happened.
            So I will continue in development we will see, if the problems comes back again...

            Thank you for now
            Last edited by misova; 10-29-2015, 03:36 PM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by traderqz, Today, 12:06 AM
            2 responses
            4 views
            0 likes
            Last Post traderqz  
            Started by RideMe, 04-07-2024, 04:54 PM
            5 responses
            28 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by f.saeidi, Today, 08:13 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by DavidHP, Today, 07:56 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by kujista, Today, 06:23 AM
            3 responses
            11 views
            0 likes
            Last Post kujista
            by kujista
             
            Working...
            X