Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

e.MarketDepth.Bid[idx].Volume

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

    e.MarketDepth.Bid[idx].Volume

    Hi ,


    I'm ark and i'm newbie to this forum


    This is a very silly question.

    is

    e.MarketDepth.Bid[idx].Volume


    the avaible volume or exchanged volume at that price?


    Thank



    #2
    This is the advertised volume at that book level.

    The executed volume would occur in OnMarketData

    Code:
    protected override void OnMarketData(MarketDataEventArgs e)
    {
        if (e.MarketDataType == MarketDataType.Last) 
              Print("Last = " + e.Price + " " + e.Volume);
    }
    MatthewNinjaTrader Product Management

    Comment


      #3
      Ok


      sorry to all for double post

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      94 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      6 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Yesterday, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Working...
      X