Recent Transaction Retrieval Time via API

 
I'm having a problem using the MetaTrader 5 API to retrieve trading transactions from history_deals_get. Although the API works fine for most transactions, there seems to be a constant delay in the availability of newer transactions. For example, transactions made a few minutes ago are not immediately retrievable via the API, but show up if I make the same request an hour later.

Could you confirm if this behavior is expected? Are there any settings or recommended practices to minimize this delay and ensure more immediate recovery of recent transactions?

Thank you in advance for your assistance.