Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Example of opening 2 orders and leaving one runner

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

    Example of opening 2 orders and leaving one runner

    Hi i was wondering if we have an example of how to submit 2 orders for example in strategy and leave one as a runner?

    I created two different uniq orders and marked ordersperdireciton to 2 and sometimes I get one order hanging... I think its an issue with quanity. I was looking for a good example

    #2
    Hello tkaboris,

    What you described would be the way to submit more than one order.

    You mentioned leave one runner but then you mentioned one order is hanging, is that not the result you specifically asked for? If you leave an order running it will continue to be working until filled.

    Comment


      #3
      HI, no when I run market replay all works fine, strategy opens 2 unique orders and closes them according to the rules. BUt yesterday I put it live and it opened 2 orders closed 1 and left one order hanging without any stoploss or take profit...

      Comment


        #4
        Hello tkaboris,

        Without more specific details I would not be able to say why that may have happened.

        To have targets for each entry you would need to use unique signal names so you have unique targets for each entry.

        There is not a specific sample that I can suggest that shows entering multiple orders and leaving one running, you can see the documentation for EntriesPerDirection and EntryHandling which give general guidelines on how to place orders in the same direction.


        Comment


          #5
          HI it happened again in live market, and it doesnt happen in market replay.
          I attach trace and log portion where it opened 2 sell orders at 11:04

          I have two limit orders, one hits and when first limit order hits, second order moves to break even. For some reason if i remember when order moves to breakeven it held 2 orders instead of one.


          I was wondering if you have a minute to see if there is anything that jumps at you for the error?
          Attached Files

          Comment


            #6
            Hello tkaboris,

            Unfortunately from the description I don't understand what you are saying is a problem. Can you provide specific details about what problem you are trying to describe?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            39 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            124 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            64 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            41 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            46 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X