Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connect Rstudio and NinjaTrader 8

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

    Connect Rstudio and NinjaTrader 8

    Hi,
    I would like to use R language in NinjaTrader. Is there an API or anything to connect Rstudio with NinjaTrader 8?

    Thank you.

    #2
    Hello lju45,

    Thank you for the post.

    There is nothing specific that NinjaTrader providers for RStudio, NinjaScript is strictly C#. If you are trying to interface with R in some way that would really depend on what you needed to do from the other language in contrast to NinjaTrader.



    I look forward to being of further assistance.

    Comment


      #3
      Thank you,

      So is it possible for example to access the price data from R and make an average for example?

      Comment


        #4
        Hello lju45,

        There are not any supported ways to do that, you can refer to the link at the bottom of this post for an unsupported C# example. Generally if you need to export price data for another application you would need to do that using the historical data export tool. That would export a text version of the data which your other software could read and parse. You can also use any C# means to communicate out to R if there is any kind of support for that with R. I am not aware of R's capabilities or if it can be connected to C# in any way, that would be something you can research online. NinjaScript is C# .net framework 4.5 so most items which work with that framework could be used such as C# dll references or code.




        I look forward to being of further assistance.

        Comment


          #5
          Thank you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          98 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          143 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          69 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          77 views
          0 likes
          Last Post PaulMohn  
          Working...
          X