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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    169 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    88 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    128 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    208 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X