The documentation does not specify any parameters as mandatory for listClearedOrders but no matter what paramaters I tried I kept getting DSC-0018 mandatory parameter missing.
Eventually I got steered in the right direction by a 2014 post which told me betStatus was mandatory. But I had been using betStatus with no success.
Turns out it is not only mandatory but needs to be specified before any other parameters.
I hope this saves someone else the hours I spent trying to work out why listClearedOrders refused to work.
Eventually I got steered in the right direction by a 2014 post which told me betStatus was mandatory. But I had been using betStatus with no success.
Turns out it is not only mandatory but needs to be specified before any other parameters.
I hope this saves someone else the hours I spent trying to work out why listClearedOrders refused to work.

