'XTB API Discrepancies in candles vs tick prices

I'm playing with the XTB API. The two streams from getCandles and getTickPrices don't return the same value ranges. The ask and bid values are approx. €0.30 higher and lower, respectively, for Bitcoin. That makes it difficult for me to build a dynamic chart from them. Is there a reason for these differences?

Edit/Addition: The values from getCandles correspond to the charts on their web app "XStation 5". The tick prices are the ones that are off by a few cents.

final edit: Nevermind. I sent "2" as value for "maxLevel" in the request. Set it to 0 and the numbers match now. I don't mind anyone telling me what that maxLevel parameter means. It's probably off topic now though.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source