Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Order could not carry out on Demo account.

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

    Order could not carry out on Demo account.

    Hi, I'm using Ninja Trader version 7 and is connected on Ninja Trader Continuum (Demo).

    When i try to run custom develop "Strategy" (it is set to enable on control center), i found that it did not carry out placing order when the condition is met (nothing appear on control center "Order") . However, when i disable and enable the strategy again.. i could see that the order is executed (as written on the chart) although it is not on control center.

    Is it that we could not run custom strategy on demo account Or could you advice if there is any setting needed?

    Thanks.

    #2
    Hello Draco76,

    Yes, strategies can be run on a live account, a live demo account, or the Sim101 (and should run the same in real-time with any account type).

    If you are seeing an order on the chart that is not on the Orders tab of the Control Center, then you are probably looking at a historical order.

    When you enable a strategy on a chart, the strategy will first backtest all data on the chart and show any theoretical historical orders that would have been placed at that time.

    Only orders triggered in real-time will appear on the Orders tab of the Control Center.
    If you view the strategy performance, do you see any real-time trades have been made?

    Right-click the chart -> select Strategy Performance -> <strategy name> -> Real-time.
    In the real-time performance window select the Orders tab.
    Do you see any orders have been placed in real-time?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB,

      "Right-click the chart -> select Strategy Performance -> <strategy name> -> Real-time.
      In the real-time performance window select the Orders tab." >>> Done but still no order been placed.

      However, if i deselect the "enable" and re-select the "enable" for strategy, i could see from historical order that the order has been made.

      Kindly advice for such situation.

      Thanks.

      Comment


        #4
        Hello Draco76,

        If no orders have been placed in real-time, then the conditions to place the order have not been true in real-time.

        Have you added prints to your script that show the condition has evaluated as true in real-time?

        Have you allowed your strategy run in real-time with live data?

        (The moment you enable the strategy it will first process historical data, and then will begin processing real-time data. No real-time trades will be made until the condition is true with real-time data.)
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          ok thanks ChelseaB,

          I will add prints to check for conditions again.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by SantoshXX, Today, 03:09 AM
          0 responses
          13 views
          0 likes
          Last Post SantoshXX  
          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
          42 views
          0 likes
          Last Post yertle
          by yertle
           
          Started by techgetgame, Yesterday, 11:42 PM
          0 responses
          14 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Yesterday, 11:36 PM
          0 responses
          2 views
          0 likes
          Last Post sephichapdson  
          Working...
          X