Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Closing position outside price?

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

    Closing position outside price?

    I have a strategy that for some reason is closing positions on non-existing prices like in the attached image. What is this about? How can the strategy close the position outside the real price?
    This is with a demo account.

    #2
    Hello Catalon,

    Thank you for your note.

    Does the strategy you're using use any additional data series? I've seen this occur when a strategy uses a secondary series and is submitting orders to that secondary series. If you are comfortable sharing a reduced version of your strategy (you may leave out any code unnecessary to reproduce the behavior), please post a code sample.

    Thanks in advance; I look forward to assisting you further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    477 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    317 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    255 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    306 views
    0 likes
    Last Post CarlTrading  
    Working...
    X