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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    54 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    72 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X