Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

switch rejection handling

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

    switch rejection handling

    Hi,

    I understand how to initilise a strategy to use my own rejection handling
    ie. RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction

    However, is there a way to reverse this decision once the strategy has started eg. I try my own methods to handle the rejection but it keeps on happening, so now I want to revert back to the ninja native RealtimeErrorHandling function.

    I tried:
    RealtimeErrorHandling = RealtimeErrorHandling.StopStrategyCancelOrdersClos ePosition
    ... which I thought the help file might have been alluding to, however it raises an error on compilation.

    cheers,

    #2
    Just remove the whole line from your strategy and recompile then you will be back to the default.
    Last edited by NinjaTrader_JoshP; 09-19-2008, 08:10 AM.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      real time error handling - reverting back to default

      I think that my key words were: "However, is there a way to reverse this decision once the strategy has started" ie. in realtime, within the code.

      Or, to put it another way, what is the meaning of:
      RealtimeErrorHandling = RealtimeErrorHandling.StopStrategyCancelOrdersClos ePosition() in the help file?

      What is it supposed to be alluding to? How do we use it?

      cheers
      Last edited by sysimp; 09-19-2008, 04:43 PM. Reason: update

      Comment


        #4
        I believe this has been deprecated. We will update the HelpGuide.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        47 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X