Can anyone tell me why PNB (Jan 18, 2018 9:15 AM) - 60minute candle is bearish but still volume bar is showing green? Does this mean there were more buying volume than selling volume during that period? If so, how can I get such information in API response?
Volume color is not related to price candle color. If the candle close is higher than previous candle close, volume will be green, even though the price candle could be red. Thats what happened here.
You can go through this thread to know about color of candle and volume bar.
For non-API related query, you can ask it here.