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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X