Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy deployment

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

  • NinjaTrader_ChelseaB
    replied
    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

    Leave a comment:


  • pel11
    replied
    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

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    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.

    Leave a comment:


  • pel11
    started a topic Strategy deployment

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by tonynt, Today, 01:46 PM
0 responses
1 view
0 likes
Last Post tonynt
by tonynt
 
Started by wildwex, Today, 01:43 PM
0 responses
1 view
0 likes
Last Post wildwex
by wildwex
 
Started by Hyper, Today, 10:44 AM
5 responses
24 views
0 likes
Last Post NinjaTrader_Heath  
Started by chaitunt, Today, 10:33 AM
1 response
7 views
0 likes
Last Post NinjaTrader_Jesse  
Started by stewarco, Today, 10:14 AM
1 response
10 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X