trades_count

Test blocks only: how many closed trades the tested strategy has at the end.

trades_count() -> int

Example

expect(trades_count() > 0, "it trades")