Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Send signals through API

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

    Send signals through API

    Hello, is it possible to send buy/sell signals, trailing stop and target through NinjaTrader API?

    #2
    Hello U0000999,

    Thank you for the post.

    There are several ways to place orders to your broker through NinjaTrader automatically. You can write a NinjaScript strategy and run it on your live account if you are connected to a supported broker.

    All the following links are publicly available.

    Please see this help guide page on running NinjaScript strategies:
    https://ninjatrader.com/support/help...strategies.htm

    We have a fully documented help guide which will help you get started with Ninja Script. You will find language references to all of the methods and functions you will be using.

    A link to our NinjaScript documentation help guide can be found below:

    https://ninjatrader.com/support/help...injascript.htm

    Below are helpful reference samples that demonstrate what NinjaScript strategies are capable of:

    https://ninjatrader.com/support/help...?strategy2.htm

    There are also example strategies in the platform by default, they can be viewed through the Strategies folder of the NinjaScript editor.

    Another option is to trade through the .dll interface that we provide. You can write an application external to NinjaTrader and interface with NinjaTrader through this dll:

    https://ninjatrader.com/support/help..._interface.htm

    Lastly, you can use Order Instruction Files (OIF) interface and place specially formatted files within the ..\Documents\NinjaTrader 8\incoming folder to place orders to your connected broker in NinjaTrader.

    Please let me know if I can assist further.

    Chris L.NinjaTrader Customer Service

    Comment


      #3
      I mean, is it possible to send orders from NinjaTrader to third party applications through API?

      Comment


        #4
        Hello U0000999,

        Thank you for the reply.

        It is certainly possible to call any API asynchronously in a NinjaScript file. I would not be able to assist with any external API calls though. I recommend reviewing the multithreading considerations of NinjaTrader 8 and reviewing the public doc Microsoft has on Asynchronous programming.

        The following links are publicly available.

        https://ninjatrader.com/support/help...-threading.htm

        https://docs.microsoft.com/en-us/dot...sync-and-await

        Please let me know if you have any questions.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by westofpluto, Today, 03:55 PM
        0 responses
        5 views
        0 likes
        Last Post westofpluto  
        Started by bosajin, Today, 03:48 PM
        0 responses
        4 views
        0 likes
        Last Post bosajin
        by bosajin
         
        Started by Renorail, Today, 01:38 PM
        3 responses
        18 views
        0 likes
        Last Post Renorail  
        Started by BrianARice, Today, 01:16 PM
        0 responses
        11 views
        0 likes
        Last Post BrianARice  
        Started by Ousher, Today, 09:08 AM
        0 responses
        9 views
        0 likes
        Last Post Ousher
        by Ousher
         
        Working...
        X