• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Iqfeed as data feed , Place trade in IB

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

    Iqfeed as data feed , Place trade in IB

    Is it possible to Have a strategy doing the following :
    Tick based Iqfeed as my Datafeed, but execute trade in IB?
    Any tutorials that already exist ?

    #2
    Hi marwanco, thanks for your post and welcome to the NinjaTrader forum.

    NinjaTrader can have two connections running at the same time, so set up an IQFeed Connection and an IB connection per the guides here first:

    https://ninjatrader.com/Help-Connection-Guides

    Then connect to IQ feed, then IB. After this, set up the strategy and for the Account field select the IB account.

    Best regards.

    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chris,
      Is it possible to create a strategy to count ticks per second the stock is trading?
      Is it done with C# language or there are built in variables that can show me that info.?

      Comment


        #4
        Hi marwanco, thanks for your reply.

        There's nothing built-in that will count the ticks per second of the market. The most straight forward way would be to run the strategy OnBarClose (for it's Calculate property) and then see what Volume[0] is on every bar on a 1 second chart.

        NinjaScript is a C# library, I like to refer to this forum post from our colleague Chelsea that walks through beginning NinjaScript:

        https://ninjatrader.com/support/foru...sample-scripts
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by lunardiplomacy, Today, 08:09 AM
        0 responses
        3 views
        0 likes
        Last Post lunardiplomacy  
        Started by YevhenShynkarenko, Yesterday, 06:07 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by akuntysh, 07-23-2019, 09:41 PM
        4 responses
        31 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Goolden, Today, 05:47 AM
        2 responses
        13 views
        0 likes
        Last Post Goolden
        by Goolden
         
        Started by mestril, Today, 06:00 AM
        4 responses
        17 views
        0 likes
        Last Post mestril
        by mestril
         
        Working...
        X