Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay - Historical Data - Orders ignored?

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

    Market Replay - Historical Data - Orders ignored?

    I'm trying to test a strategy in Playback mode, but using Historical Data rather than Market Replay (it's faster)

    I have a simple long entry that is being ignored... actually I've tried two different ways... and both are being ignored. Not sure why?

    For both methods I get same results, no order appearing.'

    I'm trying this:
    EnterLongStopLimit(1,GetCurrentAsk(),GetCurrentAsk (),"");

    and this:
    EnterLong("");

    This is using a strategy that calculates OnBarUPdate not on each tick.

    I've already reset my database.

    Any suggestions?


    #2
    Hello halgo_boulder,

    You likely will need to use prints to see what part of your entry condition is not becoming true in that use case. The EnterLongStopLimit can be expired if not filled within the bar where the method was called, if a bar elapses and it has not filled it will expire unless your entry condition was still true and calls EnterLongStopLimit again to keep it alive. The EnterLong submits a market order which would fill immediately, if that is not being seen that indicates the entry condition was not true.

    We have a guide linked below that goes over using prints and also TraceOrders to see how your strategy is working.

    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