Volume being offered to purchase at a specified bid price or to sell at specified ask price.
SYNTAX
public double Volume { get; }
EXAMPLE
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Drawing; using PTLRuntime.NETScript; namespace Level2ClassExamples { public class Level2ClassExamples : NETStrategy { public override void OnQuote() { Instrument inst = Instruments.Current; Level2[] ask_level2; ask_level2=inst.getAsksDepth(); //Level2Class Properties for(int i=0;ask_level2.Length-1>i;i++) { Print(ask_level2[i].Instrument); Print(ask_level2[i].MMID); Print(ask_level2[i].Price); Print(ask_level2[i].Side); Print(ask_level2[i].Size); Print(ask_level2[i].Source); Print(ask_level2[i].Time); Print(ask_level2[i].Volume); Print(ask_level2[i].NumberOfOrders); } } } }