Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders ignored

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

    Orders ignored

    I am getting multiple orders ignored, not sure why. I have the following set in my Initialize() menthod

    EntriesPerDirection = 1000000;
    EntryHandling = EntryHandling.AllEntries;

    Here are the error messages I get:

    17-May-09 12:33:04 PM Entered internal PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=53.77 StopPrice=0 SignalName='Target1' FromEntrySignal=''
    17-May-09 12:33:04 PM Entered internal PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=54.27 StopPrice=0 SignalName='Target2' FromEntrySignal=''
    17-May-09 12:33:04 PM Ignored PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=54.27 StopPrice=0 SignalName='Target2' FromEntrySignal='' Reason='Exceeded entry signals limit based on EntryHandling and EntriesPerDirection properties'

    What am I doing wrong?

    #2
    Hello,

    How many orders per direction are you using when you attach the strategy?

    Also is your balance getting low? Your target orders take up margin. This link may help:
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,

      How many orders per direction are you using when you attach the strategy?

      Also is your balance getting low? Your target orders take up margin. This link may help:
      http://www.ninjatrader-support.com/H...verview36.html

      I am attaching 3 target orders.

      Comment


        #4
        monpere, have you checked you actually use those settings EntryPerDirection settings when you start up the strategy?
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Ben View Post
          Hello,

          How many orders per direction are you using when you attach the strategy?

          Also is your balance getting low? Your target orders take up margin. This link may help:
          http://www.ninjatrader-support.com/H...verview36.html
          Here is my Initialize() method. How else do I make sure?

          protected override void Initialize()
          {
          CalculateOnBarClose = false; //### False for tick by tick management
          EntriesPerDirection = 1000000;
          EntryHandling = EntryHandling.AllEntries;

          TraceOrders = true; //### For debugging
          }

          Comment


            #6
            Thanks - when you start the strategy from the strategies tab or chart you want to make sure those settings are used under the 'Order Handling' section of the 'New Strategy' dialog box. Do you see the same issue regardless of which CalculateOnBarClose setting you use?
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CortexZenUSA, Today, 12:53 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by CortexZenUSA, Today, 12:46 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by usazencortex, Today, 12:43 AM
            0 responses
            5 views
            0 likes
            Last Post usazencortex  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            168 responses
            2,265 views
            0 likes
            Last Post sidlercom80  
            Started by Barry Milan, Yesterday, 10:35 PM
            3 responses
            11 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X