Offquotes error 136

[Deleted]
Is there a way to check for this error before a trade is actually attempted?
You could try a RefreshRates(); then read the error, if it's 136 do not place the trade, wait, retry . .