Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Send signals through API

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

  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:


  • U0000999
    replied
    I mean, is it possible to send orders from NinjaTrader to third party applications through API?

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:


  • U0000999
    started a topic Send signals through API

    Send signals through API

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

Latest Posts

Collapse

Topics Statistics Last Post
Started by Tamza, Today, 08:56 AM
0 responses
1 view
0 likes
Last Post Tamza
by Tamza
 
Started by Abdullah_KSA, Today, 08:47 AM
0 responses
2 views
0 likes
Last Post Abdullah_KSA  
Started by xxzbill, Yesterday, 06:59 PM
1 response
18 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by vantojo, Today, 08:21 AM
3 responses
7 views
0 likes
Last Post NinjaTrader_Tyler  
Started by sidlercom80, Today, 03:45 AM
1 response
13 views
0 likes
Last Post NinjaTrader_Jim  
Working...
X