Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay multi targets and stops

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

    Market Replay multi targets and stops

    Anyone can share a sample code or strategy that submits multiple targets and stops in a market replay using a managed approach method. Something that will not cancel Target2 when Target1 is hit/filled/canceled. I tried assigning an OCO but I think an OCO doesn't work on orders submitted using the managed approach in market replay testing.

    #2
    Hello luxurious_04,

    In the managed approach there is no OCO concept, that is handled internally. To submit multiple targets you need to submit multiple entries with different signal names. When you configure the targets you will specify the entries signal name for that target, because you submitted multiple entries you can then have multiple targets which specify different entry signal names.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X