Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB market scan via NinjaTrader

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

    IB market scan via NinjaTrader

    Hi All,

    Can I use NinjaTrader (together with Interactive Brokers) to do the following:
    I want to write my own market scan that gets the open/close/high/low/volume of the last x candles and stores the data in a CSV file.
    This should be done for a list (array) of stocks (CFD).

    Any example code would be appreciated.
    And how to use this code in NinjaTrader? Where to load it, how to execute it?

    Thanks!

    #2
    Hello DirkN,

    Thank you for posting.

    Yes, this could be possible using NinjaScript.

    You could likely use an indicator for this with the MarketAnalyzer to run it over a list of instruments.

    For an example of writing to file, we have the following post: http://ninjatrader.com/support/forum...ead.php?t=3475

    For instructions on applying indicators to the Market Analyzer, this article is helpful:



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Good to hear this is possible

      Let's say I want to switch to another broker, can I re-use the scripts that I've written for Interactive Brokers for other brokers?
      Does NinjaTrader work with IG.com?

      Comment


        #4
        Hello DirkN,

        Thank you for posting.

        Yes, there are multiple supported brokers with the platform and scripts can be used with the Simulation tools or with the various brokerage connections. You can find more on the supported connections our main web page ninjatrader.com: http://ninjatrader.com/BuyPlatform You can see the supported providers in the dropdown lists.

        NinjaScript items are able to be developed using the Simulation or Live licenses, and you can use the same scripts on multiple different connections, accounts, instruments and even computers. Scripts can be exported as source code or as protected assemblies and can be included in regular backups.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ageeholdings, Today, 07:43 AM
        0 responses
        3 views
        0 likes
        Last Post ageeholdings  
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        12 views
        0 likes
        Last Post burtoninlondon  
        Working...
        X