Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

No account selected popups from strategy

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

    No account selected popups from strategy

    I am running a strategy that is placing orders using a passed in template name. Account is picked as Replay101. Order gets placed however I also see tons of the pop-ups with the message "There is no account selected. Please select an account to avoid unexpected behavior". Attached screen shot of the pop-up.

    I do the following for creating an order:

    AtmStrategyCreate(Cbi.OrderAction.Buy, entry.type, entry.entry, 0, TimeInForce.Day, longOrderId, atmTemplate, longAtmStrategyId);

    What am I doing wrong?
    Attached Files

    #2
    Hello higher.high,

    Thank you for writing in.

    Please close NinjaTrader and go to Documents > NinjaTrader 7 > workspaces folder on your computer. Then delete the _Workspaces.XML file and restart NinjaTrader.

    Once you have restarted NinjaTrader, open your previous workspace by clicking on File -> Workspaces -> Open Workspace.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your suggestion.

      I exited NT, deleted the _Workspaces.xml file and restarted NT and still get exact same error.

      Comment


        #4
        Hello higher.high,

        Thank you for your reply,

        Do you see the same after attempting the same on a blank workspace? You can take the steps in the previous reply to force NinjaTrader to load without your workspaces again.

        Instead of opening the previous workspace, go to File > New > Chart and see if you see the same when loading in a blank workspace.

        I look forward to assisting further.
        Eric B.NinjaTrader Customer Service

        Comment


          #5
          Saw same error on a blank workspace. However tried what this person tried here (deleting account group) and that worked:



          I guess that issue reported from 2 years ago never got fixed.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DanielTynera, Today, 01:14 AM
          0 responses
          2 views
          0 likes
          Last Post DanielTynera  
          Started by yertle, 04-18-2024, 08:38 AM
          9 responses
          40 views
          0 likes
          Last Post yertle
          by yertle
           
          Started by techgetgame, Yesterday, 11:42 PM
          0 responses
          12 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Yesterday, 11:36 PM
          0 responses
          2 views
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,615 views
          0 likes
          Last Post aligator  
          Working...
          X