Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

a way to jump to a time point in MarketReplay (with or without code)?

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

    a way to jump to a time point in MarketReplay (with or without code)?

    In Visual Studio, in the NinjaTrader.Data namespace, I see the following constructor:

    MarketReplay.MarketReplay(Instrument instrument, DateTime localTime);

    I wonder if this could be used to start a market replay on the given instrument at a specific localTime?

    I have a list of DateTime(s) that I would like to quickly jump to, and after replaying those minutes, jump to the next.

    Is there a way to enter the time to jump to, in market replay?

    Failing that, I would like to write a little code to help get to those time points more quickly.
    Could someone explain how the MarketReplay API works?





    #2
    Hello yodaler,

    Currently there is not a supported api for controlling the playback controller. In visual studio you will be able to see a lot of the internal methods and types that are used however we wouldn't be able to suggest how those could be used to replicate an existing platform feature. The playback feature is a connection which has a lot of other integrations in the platform so it wouldn't be as simple as running a constructor to start it.

    Right now the only option to quickly traverse the playback would be to use the right click -> go to on the controller.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, Today, 04:31 AM
    0 responses
    20 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    280 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    279 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    130 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    90 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X