How do I get the quantity and average buying price for my holdings, using pi bridge with a custom programming language?

I am currently in the process of completing my python script for automatic trading using pi bridge. However, I noticed that the equity holdings response, does not contain the quantity of stocks held, and also the average buying price. Is there another API available besides “Equity Holdings Request” (message code 401) for the same?

Refer this blog.

http://tradelab.in/blog/pi-bridge/158