Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto Download of trades

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

    Auto Download of trades

    Hi, I have a question about logging and or exporting trade data.

    The moment a live trade is completed, using an API or other means, is it possible to automatically download the trade data to be used in excel or google sheets?

    Thanks, Mitch
    Last edited by mmenigma; 12-16-2024, 04:55 PM.

    #2
    Hi, I have a question about logging and trade tracking.

    The moment a live trade is completed, using an API or other means, is it possible to automatically download the trade data to be used in excel or google sheets?

    Thanks, Mitch

    Comment


      #3
      Hello mmenigma,

      Thank you for posting on the NinjaTrader forums.

      It would be worth exploring some custom programming - unfortunately I don't know enough about this to point you in the right direction but you might want to check out:
      Thank you!


      The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

      Comment


        #4
        Hi, Thank you for getting back.

        I do plan on seeking help if what I'd like to do is doable. However, the first step is to talk to the developers of the NinjaTrader application to see if what they have developed is doable.

        Do you have a developer/programmer at NinjaTrader that has the knowledge to know if the API"s developed within the the NT organization can automatically download the trade data to be used in excel or google sheets after the trade is excecuted?

        Best, Mitch

        Comment


          #5
          Originally posted by mmenigma View Post
          Hi, Thank you for getting back.

          I do plan on seeking help if what I'd like to do is doable. However, the first step is to talk to the developers of the NinjaTrader application to see if what they have developed is doable.

          Do you have a developer/programmer at NinjaTrader that has the knowledge to know if the API"s developed within the the NT organization can automatically download the trade data to be used in excel or google sheets after the trade is excecuted?

          Best, Mitch
          I can help you with this. DM me please.

          Comment


            #6
            Do you have a developer/programmer at NinjaTrader that has the knowledge to know if the API"s developed within the the NT organization can automatically download the trade data to be used in excel or google sheets after the trade is excecuted?
            Trader146 Hi, Before I reach out for help, I'd like to know if what I want to do can be done. Can order data be sent to a Google Sheet live after the order is executed?

            I'm looking to log trades live as they occur. If it's not doable, I don't need help.

            Thanks, Mitch

            Comment


              #7
              Originally posted by mmenigma View Post
              Hi, Thank you for getting back.

              I do plan on seeking help if what I'd like to do is doable. However, the first step is to talk to the developers of the NinjaTrader application to see if what they have developed is doable.

              Do you have a developer/programmer at NinjaTrader that has the knowledge to know if the API"s developed within the the NT organization can automatically download the trade data to be used in excel or google sheets after the trade is excecuted?

              Best, Mitch

              mmenigma,


              It would not be something that we could create for you. If anything our Scripting team could assist you in troubleshooting something if you already have the foundation for something like this already created.


              Thank you!

              Comment


                #8
                Luis, Thanks for your reply. Maybe I'm not communicating my needs very well. I need to know if Ninjatrader has the tools/api's available so I can build the foundation for what I want to do.

                Using NinjaTrader API's can I download trade data live as it happens to google sheets? If it can be programmed with API's already available, great. I'll get it done. But if NT does not have these function available then it's a non-starter. so "Yes it can be done with the NT API", or "no it can't be done" is all I really need as my first step.

                Thanks, Mitch

                Comment


                  #9
                  Originally posted by mmenigma View Post
                  Luis, Thanks for your reply. Maybe I'm not communicating my needs very well. I need to know if Ninjatrader has the tools/api's available so I can build the foundation for what I want to do.

                  Using NinjaTrader API's can I download trade data live as it happens to google sheets? If it can be programmed with API's already available, great. I'll get it done. But if NT does not have these function available then it's a non-starter. so "Yes it can be done with the NT API", or "no it can't be done" is all I really need as my first step.

                  Thanks, Mitch
                  So you don't just want the data exported to you sheets or excel file, you want api access, correct? I can help you with auto export, but I'd have to research api access. Please clarify.

                  Comment


                    #10
                    Hello,

                    Can you clarify if you want API access, or are trying to do this via NinjaScript?

                    With NinjaScript, you can use StreamWriter to write information to a text file.

                    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.


                    With the API, you can receive real-time data. As far as how you can send the data to Google Sheets using this method, that would be out of our scope of support.

                    The Application Programming Interface (API) is available in the form of a .NET managed assembly dll file, with the name NinjaTrader.Client.dll, for you to use in an external application to interface with NinjaTrader.

                    Support for the API is limited from NinjaTrader Support. While we are not able to assist with any code in an application external to NinjaTrader, we are able to detail the usage of any methods available from the API.

                    Below I am providing a link to the help guide that lists the functions available to the API.



                    The NinjaTrader.Client.dll can be found in:
                    • 64 bit - C:\Program Files\NinjaTrader 8\bin\NinjaTrader.Client.dll

                    If you'd like to learn more about using the API, below I am providing a link to a support article that details using the API and provides an unsupported visual studio project that demonstrates connecting to NinjaTrader and receiving data.



                    Please let me know I may answer any specific questions you have about API methods documented in the help guide.

                    Comment


                      #11
                      Thank you Gaby. I will review the links you sent they look like a good place for me to start.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by argusthome, 03-08-2026, 10:06 AM
                      0 responses
                      77 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      45 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      27 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      32 views
                      0 likes
                      Last Post TheRealMorford  
                      Started by Mindset, 02-28-2026, 06:16 AM
                      0 responses
                      62 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Working...
                      X