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!

    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'.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        110 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        41 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        78 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X