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

Limit Can't Be Greater Than Current Ask - Reloaded

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

    #16
    Originally posted by NinjaTrader_PatrickH View Post
    Hello molecool,

    With your most recent code and my own version that I used, this does exactly what you want on my end.

    Here is my most recent output:


    Are you seeing the same issue on your end still even with the most recent code you posted?

    If so, can you send us your Output and Log and Trace files to platformsupport[at]ninjatrader[dot]com and reference this thread?
    The version I posted below does not work for me on FXCM. The method gets called at least but it never fills. So I cooked up another approach which seems to be working at least - see the enclosed file. Here I'm using a counter and I'm dropping the limit by deducting a pip from the current ask. This seems to to work for this particular test. However the actual strategy (more extensive) for some reason does not call the OnOrderUpdate method after the rejection. I have put in more logging but to figure out why. I will have to wait for more live tape starting Sunday night.

    If you can think of any reason why the OOU method would not get called after limit order rejection please let me know. I should also point out that it's important to test this with FXCM as they seem to behave differently than for instance Kinetick, IB, or others.
    Attached Files
    Last edited by molecool; 07-24-2015, 03:07 PM.

    Comment


      #17
      Hello molecool,

      Thank you for your response.

      I can confirm that the code I tested works on my end with FXCM.

      Can you send us your Output and Log and Trace files to platformsupport[at]ninjatrader[dot]com and reference this thread?

      Comment


        #18
        Originally posted by NinjaTrader_PatrickH View Post
        Hello molecool,

        Thank you for your response.

        I can confirm that the code I tested works on my end with FXCM.

        Can you send us your Output and Log and Trace files to platformsupport[at]ninjatrader[dot]com and reference this thread?
        Thank you for your continued support. I'm having mixed results over here but will email you to the support address to continue the discussion in private.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by llanqui, Today, 03:53 AM
        0 responses
        2 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        14 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        14 views
        0 likes
        Last Post strategist007  
        Working...
        X