It is undocumented, but should work as expected - the name parameter is the algo ID. It returns the first found trade AFAIK.

The official way to look for a trade is enumerating all trades.