Hi, If a buy order is successful, and i query the open positions, the lastPrice sometimes shows the previous close rather than the current price. Perhaps this happens the first time we query the open position, not sure. There is also a closePrice in the Position POJO. Will using that avoid the problem ?
So, sorry, my bad. The issue wasn't with the open positions, but with the OHLC quote, and specifically what the "close" means here. Its the previous day's close, not the latest price today, and that was problem.
ohlc.close of the quote endpoint is the closing price of the instrument from the last trading day. For more details, please refer to the documentation.
Similarly
11:58 AUBANK : 874.9