OHLC from Oanda is historical data. In live data you have only ask and bid, no tick frequency. You could call assetHistory() for the current date, then read the most recent candle out of the file. This should give you the most recent tick frequency.