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

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:



    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:

        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        21 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        10 views
        0 likes
        Last Post cre8able  
        Working...
        X