|
Tables getting stuck in an unreadable state?
In tests on a demo account this morning, I encountered a strange problem. I placed a trade (with OpenTrade) which was set to close a position (i.e. I had 200000 units of NZD/JPY open and I used OpenTrade to sell 200000 units). The trade appears to have worked, but subsequent attempts to read the "closed trades" table (i.e. CellValue(1, 1)) failed with some HRESULT which VC parsed as "Exception occured."
This condition lasted 20 minutes (!) until I explicitly called Refresh() on that table.
Ideas? I'd hate to have to poll all the tables for errors and explicitly refresh them when errors occur.
Thanks,
Andy
|