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

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.
    JesseNinjaTrader Customer Service

    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.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Thank you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by samish18, 04-17-2024, 08:57 AM
          17 responses
          64 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by rocketman7, Today, 02:12 AM
          2 responses
          16 views
          0 likes
          Last Post rocketman7  
          Started by briansaul, Today, 05:31 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by PaulMohn, Today, 03:49 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by frslvr, 04-11-2024, 07:26 AM
          6 responses
          106 views
          1 like
          Last Post NinjaTrader_BrandonH  
          Working...
          X