Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Requesting Tick Data via Excel VB

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

    Requesting Tick Data via Excel VB

    Hello

    Basically I want to do my charting and price analysis in excel instead (but keep placing orders manually via NinjaTrader, so no need for any automated order placing). I want to establish a connection between NT and Excel that would allow me to have price data flowing from the NT to the Excel. (and that's it)

    I've done some research and became aware of the COM Interface with Visual Basic, and before I spend sometime studying it, I would like to first know if it's possible to use it to:

    1) Request some historical tick data (e.g. of the 3 previous days), from NT to excel
    2) Continue to add new ticks in real time, from NT to excel

    quite similarly to what a normal chart within NT does (i.e. request historical data and keep updating it in real time).

    So can this be done? and if not, is there another way to do it (other than the COM interface)?
    Last edited by Marven; 12-24-2010, 02:25 PM.

    #2
    Hello Marven,

    Thank you for your post.

    You may be able to interface this directly with your broker and/or data provider. Unfortunately NinjaTrader doesn't offer a full blown API allowing this access to Excel.

    Perhaps some of the other programmers on the forum could offer some suggestions regarding a workaround or some method to accomplish this end result you are seeking.
    ChipNinjaTrader Customer Service

    Comment


      #3
      Thanks Chip.

      Could you please move the thread to the programming section to see if I can get some more input?

      Comment


        #4
        i have built an indicator which makes a dde connection where NT acts as the server. any client application (like excel) can get the data from NT using it.

        Comment


          #5
          Nice, thank you bukkan. That should solve the "getting real time data" part.

          Now all I need is some way to get historical tick-data from NT to excel in an automated (preferably programmable) fashion. Suggestions are welcome.

          Comment


            #6
            There is a thread on Big Mikes that covers some of this:

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by martin70, 03-24-2023, 04:58 AM
            15 responses
            114 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by The_Sec, Today, 02:29 PM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by jeronymite, 04-12-2024, 04:26 PM
            2 responses
            31 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by Mindset, 05-06-2023, 09:03 PM
            10 responses
            265 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by michi08, 10-05-2018, 09:31 AM
            5 responses
            743 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X