public method IO2GMarketDataSnapshotResponseReader.getLastBarVolume
Brief
Gets the last bar tick volume.
Declaration | ||||
|
Details
The last bar in the response may represent an incomplete time frame.
For example, if you request historical prices for the m1
time frame and response from the server comes at
16:17:09 EST, the last bar represents only 9 seconds of the last minute.
It is applicable only if the returned value in the response is represented as a bar. Otherwise, the method returns 0
.
Some trading servers may not support this method. In this case, the method always returns 0
.
For the list of common time frames, refer to the IO2GTimeframe class documentation.
Declared in IO2GMarketDataSnapshotResponseReader