Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How could I feed custom external data source into NT and form all types of bar charts

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

    How could I feed custom external data source into NT and form all types of bar charts

    I would like to connect my external data source from a local private exchange to NinjaTrader 8 and form all types of charts within.
    I read something about DLL interface but am not sure whether I can do it or not.

    Please help where I can find more information about it.

    #2
    Welcome to the forums ybhx0315!

    This could be done using the DLL interface to have a custom application pump data through the External Data Feed, however the External Data Feed cannot be used with other connections.

    More information can be found below.

    External Data Feed - https://ninjatrader.com/support/help...connection.htm

    DLL interface - https://ninjatrader.com/support/help.../functions.htm

    Example application (Unsupported example) - https://ninjatrader.com/support/foru...442#post514442

    Brining data into the platform from an external source to form bars like other parts of the platform would be best done through a building a Connection Adapter, however that ability is only permitted for qualified vendors in the EcoSystem. (There are strict terms in Terms Of Service preventing users from building interfaces between broker API's without consent. If you think what you want to do is applicable for a business relationship, like making that data marketable to others, I may suggest contacting info [at] ninjatraderecosystem [dot] com.)

    If you want to bring in data and use it with your live trading (not use the External Data Feed,) you could try modifying existing BarsTypes so they pull data from a desired location. This would require making different BarsTypes to pull data from your desired source, and this would go beyond what we could support, but it may be worth checking into to see if it is a possible.

    BarsType source code can be referenced in the platform and BarsType documentation can be found below.

    BarsType - https://ninjatrader.com/support/help...?bars_type.htm

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Hi Team,

      Does the NinjaTrader API support multi-threading? For example, I am thinking of running 2 processes, and they, at their own pace, call Ask(), Bid() and Last() function for different symbols.

      Comment


        #4
        Hello ybhx0315,

        This DLL interface is adapted from NinjaTrader 7 and is provided as is. NinjaTrader 7 was not built with multi threading in mind, but I am not aware of any limitations that would be seen when using the interface with a multi threaded application that has separate feeds on separate threads.

        I would suggest setting up a small test application to field this out, and to report your experience here.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pserrera, Today, 03:26 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by maxuscz, Today, 03:01 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by ntbone, Today, 02:33 AM
        2 responses
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by ntbone, Yesterday, 06:26 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by ntbone, Yesterday, 04:15 PM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X