Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trade Error

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

    Trade Error

    Hi
    I am developing a strategy on the one minute chart and sometimes I get the error attached below. This happens often on trades I need to get. I assume this is because of a small gap. Is there a way around this. I am using code not the strategy builder.
    Thanks
    Attached Files

    #2
    Hello Barry Milan,

    That can happen due to the offset being used and a fast market. If the offset is too close to the market when the order is submitted it does run the risk of being placed on the incorrect side of the market due to price movement. The easiest way to avoid this is to just increase the offset you use when initially submitting the order. If you would like it closer you can also change the order at a later time to a new price or offset.

    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