Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing historical trades from broker?

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

    Importing historical trades from broker?

    Is it possible to import historical trades from a broker so that I can see trades I executed outside of NinjaTrader? I have a live account with MB Trading and another with Ameritrade. If this can't be automated, is there a way I can at least manually input my trade history?

    #2
    Hello tomtom,

    Thank you for your post.

    Unfortunately it is not possible to import trade data from outside of the NinjaTrader platform and there is not an option to input this information manually.

    Please let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Is this something that will or could be added in version 7?

      Comment


        #4
        Hi,

        So far we don't have this on the list of new features for V7. We'll keep your suggestion in mind and will add it to the list of future considerations.
        Vince B.NinjaTrader Customer Service

        Comment


          #5
          Please look at my reply to thread:
          How to import transcation data so they can be seen on the chart?

          Bye
          GB

          Comment


            #6
            nice

            That's exactly what i need. Could you send me an excel example ? Thx in advance,!!

            Comment


              #7
              Import Trades excel sample

              Hi,
              I attached an xls file as example... please verify the xls contents
              because I am 99% sure this is the right excel file...

              Bye
              Attached Files

              Comment


                #8
                With the above script, I get:

                "The type or namespace 'Data' does not exist in the namespace 'System' ninjatrader"

                Comment


                  #9
                  Hello,
                  you can add missing namespace using "References" from you code editor (right click then last menu voice) ; on my PC the path is:
                  C:\Windows\Microsoft.NET\Framework\v2.0.50727\Syst em.Data.dll

                  Bye

                  Comment


                    #10
                    Thanks! Gettting there... now getting this error...
                    Attached Files

                    Comment


                      #11
                      Hello AntiMatter,
                      The code has a number of "public" variable and thus you are getting the error. For example line 41-49
                      Code:
                       public Hashtable tradeTable= new  Hashtable();
                              public Hashtable tmpTable_opn = new Hashtable();
                              public Hashtable tmpTable_cls = new Hashtable();
                              public Hashtable tmpTable_rev = new Hashtable();
                      		//public SerializableDictionary<int, object> tradeTable = new SerializableDictionary<int, object>();
                              public int reversal,tot_trade,ifound_opn,ifound_cls,ifound_rev,jt;
                      		public string a;
                      		public My_trades t1= new My_trades();
                      		public My_trades t2= new My_trades();
                      Please modify it or contact the author of the code and get it rectified.
                      JoydeepNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by funk10101, Today, 08:14 AM
                      0 responses
                      0 views
                      0 likes
                      Last Post funk10101  
                      Started by adeelshahzad, Today, 03:54 AM
                      1 response
                      13 views
                      0 likes
                      Last Post NinjaTrader_BrandonH  
                      Started by RookieTrader, Today, 07:41 AM
                      1 response
                      5 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by kujista, Today, 05:44 AM
                      1 response
                      9 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by elderan, Yesterday, 08:03 PM
                      1 response
                      12 views
                      0 likes
                      Last Post NinjaTrader_BrandonH  
                      Working...
                      X