but app need to sync with running positions right .. else how do we know that what all positions are running... before calling placeorder method ..i need to check weather order already exist with same script or not ... hence i need to check position…
yes it works with that, but logically it should fatch correct lastprice as well with position API... even PNL also should have calculated in position API itself .. jsut an suggestion ..
simply need to make extra call
Convert.ToDouble((item.SellValue - item.BuyValue) + (item.Quantity * item.LastPrice * item.Multiplier));
here is code snip
/* here item refers to position data
Even i am also gettin same error i am using 3.0 version API
Unable to parse data.
{"tradingsymbol":"SBIN","exchange":"NSE","instrument_token":779521,"product":"MIS","quantity":1,"overnight_quantity":0,"multiplier":1,
"average_price":332.4,"close_p…