Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating a strategy using external data

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

    Creating a strategy using external data

    Hello NinjaTrader Community,

    I am looking for some guidance and assistance in building a custom trading strategy within NinjaTrader. My goal is to integrate live external data from Databento using their API, create a custom indicator based on that data, and develop a trading strategy that reacts to the signals produced by this indicator. Below are the details of what I aim to achieve:

    Objectives:

    1. Bring in Live Data from Databento API:

    • I want to import live market data that I receive from the Databento API directly into NinjaTrader. This data will serve as the foundation for building my custom indicator.

    2. Build a Custom Indicator Using Live Data:

    • Using the live data from Databento, I intend to create a custom indicator within NinjaTrader. This indicator will analyze the incoming data and generate signals that can be used for trading decisions.

    3. Develop a Trading Strategy:

    • Based on the signals generated by the custom indicator, I want to develop a trading strategy. This strategy should automatically execute trades when specific conditions are met, based on the indicator’s signals.

    Questions:

    • Is it possible to integrate live external data from Databento’s API into NinjaTrader? If yes, could you provide a high-level overview of how this integration can be achieved? Any example code or references to similar implementations would be highly beneficial.

    • What are the best practices for building a custom indicator in NinjaTrader that uses real-time data? Specifically, I am interested in understanding how to handle data fetching, processing, and updating the indicator in real-time.

    • Can you provide guidance on developing a strategy based on the custom indicator? I would appreciate any tips or advice on best practices, especially regarding performance and reliability in a live trading environment.

    Any assistance, pointers, or resources would be greatly appreciated. I am open to collaboration and would be happy to discuss this project further with anyone interested.


    Thank you in advance for your help!

    #2
    Hello SmallAccountFuturesTrader,

    While you can push data into the platform that would only be useful for sim trading, the external data feed connection cannot be used in combination with other connections to allow for live trading. You can find some information about using the unsupported external api here:



    To build custom indicators I would suggest looking at the indicators that come with the platform, you can model your indicator in the same way to process both historical and live data.

    To learn about building strategies I would suggest watching the strategy builder webinar found here: https://www.youtube.com/watch?v=VxU4FR6GWNA

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X