Orders count
-
Hello,
I'm trying to count the short and long open trades and I'm trying to do it with the block "Check trades count".
But I think it only counts the pending orders (just as I suppose the block "Check pending orders count" does)
I've checked the blocks and they seem to be the same:

Is it normal? how can I check the open trades without making my own counter?
Thank you,
David R. -
Looking at the code, I think that this "Flilter by pending type" parameter in the "trades" block is there for nothing, it is unused. But in fact these blocks exist from the very beginning (for years) and I'm a little bit afraid to touch anything in them

Do you have an example? Sometimes the problem is not in the block you think, but in the way you connected it. I guess that many people are using those blocks and I don't remember complains about them lately, so I think that in general they work properly.