Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    6 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X