Replies

mashazona
25 Apr 2024, 16:11 ( Updated at: 26 Apr 2024, 05:55 )

RE: [ A tough one ] Check if there’s an active trade

PanagiotisCharalampous said: 

Hi there,

If you are checking if the orders have been filled, you should use the PendingOrders.Filled event instead. You should cancel the remaining orders only when the order is filled.

Best regards,

Panagiotis

I’ve figured it out alread, now I have a different problem, do you have an idea how to write a code to check if a trade hits TP ? 


@mashazona