Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IQFeed forex data w/o volume issue

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

    IQFeed forex data w/o volume issue

    Hi all,

    I have an indicator which I added the OnMarketData function to, which is called for every incoming tick.

    My problem is such;

    the following test code segment should capture the volume of each tick. I am always getting a volume of 0 ("iEvent.Volume = 0" is displayed in the output box)

    Code:
    protected override void OnMarketData(MarketDataEventArgs iEvent)
    {
        if(iEvent.MarketDataType == MarketDataType.Bid || iEvent.MarketDataType == MarketDataType.Ask)
        {
            Print("iEvent.Volume = " + iEvent.Volume.ToString());
        }
    }
    My data provider is IQFeed. I am using this on EURUSD.

    Any ideas?

    Thanks guys
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    #2
    mrlogik, I would think that is expected, as only the 'Last' would give you the Forex typical volume of 1. Please check your Bid / Ask / Last in the Control Center for EURUSD when connected to IQFeed. Thanks!
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,

      Thanks for the response. Yes, I do see a volume of 1 for the Last only. When using MBTrading I get the volume for Bid / Ask as well.

      Its a broker specification.

      Thanks again for clarifying.
      mrlogik
      NinjaTrader Ecosystem Vendor - Purelogik Trading

      Comment


        #4
        Correct mrlogik, depends on what the active connection 'offers'.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Started by gwenael, Today, 09:29 AM
        0 responses
        3 views
        0 likes
        Last Post gwenael
        by gwenael
         
        Started by Karado58, 11-26-2012, 02:57 PM
        8 responses
        14,829 views
        0 likes
        Last Post Option Whisperer  
        Started by Option Whisperer, Today, 09:05 AM
        0 responses
        2 views
        0 likes
        Last Post Option Whisperer  
        Started by cre8able, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Working...
        X