Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fill limit orders on touch

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

    Fill limit orders on touch

    Hello,
    I'm currently working on a costume strategy, I'm wondering why checking or not checking the "fill limit orders on touch" option leads to different results in my strategy analyzer. I'm using only market orders and a SetProfitTarget() and a SetStopLoss() in my code, do they get executed as limit orders ?

    #2
    Hello aimuux,

    Thank you for your post.

    This setting determines if the strategy will use a more liberal fill algorithm for back-testing purposes only. Changing this setting will determine how orders fill which will change the results.

    The default behavior of the strategy's fill algorithm is to fill a limit order once price has penetrated the limit price. However, this behavior can be changed by setting IsFillLimitOnTouch to true, in which case the strategy's fill algorithm will consider a limit order filled once price has reached the limit price, but does not necessarily need to trade through the limit price



    A profit target is considered a limit order.

    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X