开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

TrailStopPrice is not correct in the OrderStatusEvent


 

Hello,

I'm trying to get the trailing trigger price for the filled trail order (not the execution price) for that I'm using the orderStatusEvent :
self.ib_client.orderStatusEvent += self.on_order_status_event

but when checking the TrailStopPrice I don't see the same price as what I see in the TWS app:
trade.order.trailStopPrice

?

?

here is what I see in the TWS app 'the price = 364.38:

?

?

Do you have any idea if this is a common issue here? and how can I get the correct information please?

?

Thanks,
Hamza

?

Join [email protected] to automatically receive all group messages.