How do I know if a tick is a selling or buying order?

 
I want to access the last tick of the depth of market and want to know if it is a selling or buying order, but the way I am doing it doesn't have any information about this.
I'm using the mt5.symbol_info_tick(symbol) in Python to access the last tick. Can anyone help me?
 
matheus ms:
I want to access the last tick of the depth of market and want to know if it is a selling or buying order, but the way I am doing it doesn't have any information about this.
I'm using the mt5.symbol_info_tick(symbol) in Python to access the last tick. Can anyone help me?

unless you show your attempt with your code, then you wont receive any assistance.

 
matheus ms:
I want to access the last tick of the depth of market and want to know if it is a selling or buying order, but the way I am doing it doesn't have any information about this.
I'm using the mt5.symbol_info_tick(symbol) in Python to access the last tick. Can anyone help me?
The tick flags should tell you. Check the documentation.