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 FrazMann, Today, 11:21 AM
          0 responses
          1 view
          0 likes
          Last Post FrazMann  
          Started by geddyisodin, Yesterday, 05:20 AM
          8 responses
          51 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          10 responses
          36 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by DayTradingDEMON, Today, 09:28 AM
          4 responses
          24 views
          0 likes
          Last Post DayTradingDEMON  
          Started by George21, Today, 10:07 AM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Working...
          X