Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

API/Data feed question

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

    API/Data feed question

    I'm a NinjaTrader and IQFeed subscriber using tick data in an automated strategy. I'd like to be able to filter the IQFeed tick data feed received by NT. For IQFeed, this is fairly easy since developers have access to the IQFeed API. But, once I've customized the IQ Feed API I need to connect this to NT. How can I do this?

    In this case, the data feed customization is simple. I'm looking to take a futures data tick feed and filter ticks so that NT only records a tick when the tick is accompanied by a price change.
    Last edited by bluelou; 07-30-2009, 09:14 AM.

    #2
    I just caught the External Data Feed functionality. Would that work in my case? What are the limitations w/using External Data Feed? Is there any documentation on this?

    Comment


      #3
      bluelou, unfortunately we don't offer a full API for connecting a custom feed to NinjaTrader.

      Inside NinjaScript you can use OnMarketData and OnMarketDepth to access Level 1 and Level 2 data in your scripts, but that's probably not what you seek.

      Comment


        #4
        Bertrand,
        What's the difference between offering a "full API" and the External Data Feed capability?

        What problems would I run into if I filtered tick data using the IQFeed API and then tried to connect this to NT using External Data Feed? Is there no work-around here?

        FWIW, none of the systematic traders/funds that I speak with use any of the off-the-shelf retail-oriented trading platforms and the inability to manipulate inhomogeneous data sets (e.g., tick, volume data, etc.) is one of the key reasons.

        Comment


          #5
          bluelou, sorry I spoke too soon - it's not a full blown API in terms of a limited function range.

          But for your custom tick datafeed you can of course try working with the 'External Data Feed' option / the Bid/Ask functions of the DLL interface.

          Comment


            #6
            Bertrand,
            I'd like to do more than "try". Focusing on the External Data Feed functionality here's what I need to do: import price-tick data into NT to i.] drive real-time charting, ii.] populate historical charts, iii.] drive real-time trading, iv.] perform backtesting, v.] use the DOM, and iv.] populate the T&S window.

            Is the External Data Feed sufficient for this or is there a limitation inherent in the External Data Feed that will effect the ability to do i.]-vi.] mentioned above?

            Comment


              #7
              bluelou, you can drive NinjaTrader with realtime level 1 data this way over the DLL interface, but unfortunately you can't populate charts with historical data. This is what I meant with it's not full blown API as it has some limitations.

              Comment


                #8
                Okay, that's closer. Thx. Help me through how that would work as a practical matter... For instance, based on what you've told me I assume I CAN'T do the following using External Data Feed: populate a chart with historical data not already saved in a NT database file on my PC.

                However, I assume I CAN do the following using External Data Feed: if I've already saved historical in the NT database on my PC and I want to drive a live chart and live strategy using both the historical data saved on my PC and the live feed called via External Data Feed I should be able to do this, right?

                Or, when it comes to populating a chart and/or strategy is it the case that NT will look to populate any required data ONLY through the historical data maintained by the live feed data provider?

                Comment


                  #9
                  No bluelou, look as an example to the TradeStation connection using this feature - you import historical data via txt files to the local NT database. Live data then is populated through the DLL interface with the functions I referred you to.

                  Comment


                    #10
                    The last part of what you wrote was the heart of my question. Once I have historical data in the local NT database and I have the live feed via External Data Feed then will I be able to populate charts and run strategies that use a combination of historical and live data?

                    Comment


                      #11
                      Correct bluelou, this is how the TradeStation connection option as cited also works. You can then fully backtest on this data and use the live Level1 data to drive the simulation engine with the order entry windows.

                      Comment


                        #12
                        Bertrand,
                        Thanks for you help. I think the External Data Feed may work for me.

                        Comment


                          #13
                          You're welcome, great.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          596 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          343 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by Mindset, 02-09-2026, 11:44 AM
                          0 responses
                          103 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                          0 responses
                          556 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          554 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X