Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Strategies - Syncing Positions

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

    Multiple Strategies - Syncing Positions

    Hallo,

    my issue: My datafeed disconnects from time to time. Today so far two times.
    Then, when the strategies are started again, all existing orders are cancelled if account sync position is set to 'Wait untifl flat'.
    I want to keep my Stop and Target Orders though if I am in a position already, so the correct setting for me would be 'Immediately submit'. In this setting, the existing orders should be assumed by the restarted strategy that originally placed it. Do I understand this correctly?

    What then if I have two strategies running in the same instrument? One of them will assume the existing orders as its own. The other strategy will not be able to match the existing orders to any active strategy order. Will the second strategy therefore cancel the orders, even though the first one assumed it?

    Thank you

    #2
    Hello wittmjo,

    Thanks for your post.

    ImmediatelySubmit will have the strategy try to match orders that are generated with historical data to live orders that the strategy has previously placed. If the strategy did not generate the orders previously, NinjaTrader will not cancel them. Orders will be cancelled if the strategy has created these orders previously and they do not match the historically calculated orders.

    We can set up a test to observe the behavior when a strategy is applied against the same instrument and then both strategies are restarted. When the strategies are enabled, they do not cancel the other's orders and both strategies are able to resume their orders if they match.

    Demo - https://drive.google.com/file/d/1hUy...w?usp=drivesdk

    Please let me know if you have any questions.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by suroot, 02-25-2017, 04:43 AM
    11 responses
    2,548 views
    0 likes
    Last Post Zilvercat  
    Started by Rogers101, 05-05-2024, 11:30 AM
    16 responses
    50 views
    0 likes
    Last Post Rogers101  
    Started by ninza33, Today, 12:31 PM
    2 responses
    10 views
    0 likes
    Last Post ninza33
    by ninza33
     
    Started by Bobin, 03-12-2024, 08:51 AM
    15 responses
    482 views
    0 likes
    Last Post fiddich
    by fiddich
     
    Started by Skifree, Today, 11:21 AM
    4 responses
    15 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Working...
    X