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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    86 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    125 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    64 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 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