Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

MatLab trading bot using a Continuum connection

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

    MatLab trading bot using a Continuum connection

    I built a trading bot in MatLab and I need to connect it to a live Continium Data Feed and the interface it with NinjaTrader so I can place trades via the bot. Do you offer interfaces that will connect Matlabs to the Live Date Feed as well as to NinjaTrader?

    Thanks for your help. Aaron

    #2
    Hello AJAMES101,

    Thank you for reaching out.

    Unfortunately, MatLab is not supported. While we do not offer an interface that would connect with MatLab, if you wanted to make this happen you would need to build a C# application and use the DLL interface to interface with MatLab. There is an unsupported example that you could refer to along with our DLL interface documentation to see how an external app could be interfaced with NinjaTrader. The example may be found here:

    https://ninjatrader.com/support/foru...626#post793626

    The DLL interface section of the help guide is located here:

    https://ninjatrader.com/support/help..._interface.htm
    https://ninjatrader.com/support/forum/forum/ninjatrader-8/strategy-development/100199-orders-are-not-displayed-in-chart?p=793626#post793626


    Another option would be to implement the strategy via NinjaScript, essentially converting the logic used in your MatLab bot into a NinjaScript strategy. If this is something that interests you, we could provide you with educational materials regarding NinjaScript strategies to get you started.

    Please let us know if we may be of further assistance.
    Last edited by NinjaTrader_ChelseaB; 12-02-2022, 08:07 AM.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      AJAMES101,
      you can use the connection via COM interface up to matlab version 2022a.
      If you are using a newer version (2022b for example), you can use direct connection from NET application to matlab through the new matlab NET engine.
      Last edited by Andrew68; 12-04-2022, 04:01 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GussJ, 03-04-2020, 03:11 PM
      12 responses
      3,239 views
      0 likes
      Last Post Leafcutter  
      Started by AveryFlynn, Today, 04:57 AM
      0 responses
      5 views
      0 likes
      Last Post AveryFlynn  
      Started by RubenCazorla, 08-30-2022, 06:36 AM
      3 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Started by f.saeidi, Yesterday, 12:14 PM
      9 responses
      25 views
      0 likes
      Last Post f.saeidi  
      Started by Tim-c, Today, 03:54 AM
      0 responses
      5 views
      0 likes
      Last Post Tim-c
      by Tim-c
       
      Working...
      X