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 JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        17 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        5 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Working...
        X