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

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 rene69851, 05-02-2024, 03:25 PM
              1 response
              20 views
              0 likes
              Last Post rene69851  
              Started by ETFVoyageur, Yesterday, 07:05 PM
              5 responses
              43 views
              0 likes
              Last Post ETFVoyageur  
              Started by jpeep, 08-16-2020, 08:31 AM
              13 responses
              487 views
              0 likes
              Last Post notenufftime  
              Started by realblubb, 04-28-2024, 09:28 AM
              2 responses
              32 views
              0 likes
              Last Post realblubb  
              Started by bmarovets, Today, 06:33 PM
              0 responses
              12 views
              0 likes
              Last Post bmarovets  
              Working...
              X