• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy deployment

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

    Strategy deployment

    Indeed, talked with TDA and they said everything is Live only for NT. Given, that, what is the switch to turn off intra-day trades being sent, so that when a strategy is loaded on a live chart, nothing happens until the minute you want to go live and execute trades? What is the toggle for that?

    Also, for the strategy analyzer, do we need to make sure the "live" switch is off during analyzing/optimizing whenever a live chart is open?

    Thx

    #2
    If I understand you correctly, you'd like to have an automated strategy running, but you do not want it to execute orders if the conditions are true unless it's between time x and y? If I have misunderstood, could you elaborate further?

    The Strategy Analyzer tests your strategy on historical data. It places trades to an internal simulation account which cannot be changed. Any test ran in the Strategy Analyzer will never affect your live account.

    With that said, you may run into some performance limitations depending on the complexity of your workspace, the complexity of your strategy, the type of backtest, and the market volatility at the time, so you may want to reserve backtesting to a time when you will not be live trading.
    Patrick G.NinjaTrader Customer Service

    Comment


      #3
      Yes, thanks, exactly. Intraday for equities I only want to autoexecute (the open strategy will send orders) trades after 0835 (EST) and then exit any open positions at 1555 and not execute new positions after 1555. So the script is needed.

      What about fix a sandwich, walk the dog, go to store, a manual switch can be set in NT8 to not send orders but leave the live chart with live trading strategy visible on the screen? Essentially, manually switching from send orders, dont send orders.

      Thx

      Comment


        #4
        Hello pel11,

        There is no switch built in NinjaTrader to prevent a strategy from trading when it is enabled.

        If the strategy is enabled, then its going to run the code programmed in it, and its going place orders when receiving data and there is a call to an order submission method.

        You can select the Sim101 in the Account drop-down in the strategy parameters when adding a new instance of the strategy if you want this to trade to the built in practice account instead of a live account.

        You can disable the strategy if you don't want it to run.

        If you want to prevent trades while enabled and receiving data, you must program this into the code of your strategy.

        As an example, below is a public link to the help guide that demonstrates a time filter.
        https://ninjatrader.com/support/help...to_limit_t.htm
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by aligator, Today, 01:49 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by KINGKODA, Today, 12:08 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by zulok, Today, 12:54 PM
        3 responses
        6 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by RadarTradar, 01-04-2020, 10:02 AM
        12 responses
        131 views
        0 likes
        Last Post Eric M.
        by Eric M.
         
        Started by [email protected], Today, 10:54 AM
        3 responses
        20 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X