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 samish18, Yesterday, 08:31 AM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by funk10101, Yesterday, 09:43 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        5 responses
        551 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rtwave, 04-12-2024, 09:30 AM
        5 responses
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by funk10101, Today, 12:02 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X