API Support Forum
OEC API > API Support > COM API: Last Price Quote Not Updating
Author Topic: COM API: Last Price Quote Not Updating
(2 messages, Page 1 of 1)
Moderators: VPfau
CM4645
Posts: 33
Joined: Oct 25, 2022


Posted: Nov 10, 2022 @ 10:33 AM             Msg. 1 of 2
Hello,
I am just starting with GAIN Trader and the COM API. I have downloaded the "Sample COM Book.xls", entered my username and password and successfully logged in. After updating the contract code to "ESZ22" in cell A2 of the "Quotes" worksheet, I can see updated Bid/Ask prices that correspond to the real time values I am seeing within GAIN Trader. However, "Last" price is not updating.

Any idea on why this would not be updating to the last trade price? I also checked the "Price.LastPrice" value within the "UpdatePrices" sub and confirmed this value is the same as what is displayed in the worksheet.

Thanks,
Chris
CM4645
Posts: 33
Joined: Oct 25, 2022


Posted: Nov 29, 2022 @ 08:55 PM             Msg. 2 of 2
Closing the loop: I performed a complete uninstall of Gain Trader, including the COM API. After re-installing both Gain Trader client and the COM API, all update issues have been eliminated.

NOTE: I was having similar issues with charts not updating in the client, while areas such as quotes were updating as expected. At the suggestion of the support team, above was carried out.