Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

using R

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

    using R

    Hi, I am trying to make an interface between R and NT. It seems that there are two options:

    1. using COM interface, this described here: http://www.codeproject.com/Articles/...ET-Foundations

    2, using R.NET interface described here http://rdotnet.codeplex.com

    So far none of them worked for me. For (1) I get an error saying that provided dll is not in correct format (I put it in bin\custom and added to references). For (2) I get "Attempted to read protected memory".

    Could you please let me know if you try any of this methodologies and which one I should continue following.

    #2
    BoyPlunger,

    I am happy to assist you.

    I am not too familiar with R, however Meta.Numerics C#/.NET is an open-source statistical library you could probably use.

    Hopefully another member of the forum has some more information on R for you. Apologies for any inconvenience.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      To all,

      Here is an outline on how to use R in C#/.NET which is what NinjaTrader is based on.



      and here as well (note that NinjaTrader is .NET 3.5):



      Please note this is not supported.
      Last edited by NinjaTrader_AdamP; 07-18-2012, 03:00 PM.
      Adam P.NinjaTrader Customer Service

      Comment


        #4
        Hi,
        I'm interested in the topic as well. Is there any development on the question made by BoyPlunger?
        Thanks.

        Comment


          #5
          We do not have any native developments in this area. We'll leave this thread open for other users with experience to comment.
          MatthewNinjaTrader Product Management

          Comment


            #6
            Thank you for the reply.

            I guess the requirement here is:
            1. Download data from NT in a txt/csv file
            2. Analyze the data in R and obtain the needed results
            3. Pull the results from R into NT
            4. Plot results along with data in NT

            Indeed step 1 and 3 are those needed support in this forum as the COM interface between the 2 software packages seems not to be so clear in the way it works.

            Thank you everyone in advance.

            Comment


              #7
              Go over Perl :

              Between Perl and R is a Interface and you could use Perl as described
              http://bytes.com/topic/net/answers/1...scripts-dotnet over Web API
              with c%

              Br

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              64 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              35 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              59 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              62 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              51 views
              0 likes
              Last Post CarlTrading  
              Working...
              X