Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

all or none order?

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

    all or none order?

    Hello. I'm working in unmanaged framework. The problem i'm having is that when I submit an order, I typically get a large number of partial fills, and each one of those has a stop and profit target associated with it. My broker (Interactive Broker) only lets me work a certain number of orders at a time, and so due to the large number of partials and associated stops/ targets I quickly exceed that quota. Is there anyway to specify a minimum fill size when I'm submitting the order so I can avoid this. Any other work around you can think of?

    #2
    Hello stewarco,

    Thank you for the post.

    In this case, you wouldnt necessarily be able to avoid the partial fills if the market allows for it. This is based on the volume available and the quantities you are using and order type used. The fill will be determined by the market and there is no way to modify that. What you submit and what is available at that time will determine if there is a partial fill or not. There is not really a way to set a minimum fill amount if you are using a market order or an order type that can partially fill other than using less quantity that can't partially fill at the time it is submitted.

    To solve the stop order issue, you would likely need to use logic and only submit your stop/target when you have either X % of the total quantity filled or just when you reach your total quantity. For example, if you had a total quantity of 100, and get partial fills of small amounts like 10 you may want to accumulate those fills until you reach a maximum like 50 and then submit one set of targets for 50. Later when you reach 100, you could change the orders to the total quantity. Alternatively, you could wait for the full fill and ignore partial fills, then submit the targets only when you have a full fill. This is going to be highly dependant on your logic, your goals and the market in this case.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      thanks

      thanks, those are some good ideas.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      9 views
      0 likes
      Last Post cre8able  
      Working...
      X