How far back is "recently settled"?

The GET method to /v3/orders/ gives “current orders on Smarkets, these include open and recently settled orders”. How far back does “recently settled” go?

Hi Simon,

It returns all bets settled in the last 7 days

Thanks - is there a way to get bets going back further out of the API? Or PnL on a given label?

You can use the /v3/accounts/activity/ route to retrieve all settled bets.

Ah great - thanks

Thank you for the support as well!

There seem to be duplicate items when I request account activity? (Perhaps on markets which got settled and unsettled?) Is there a way to handle this gracefully?

Hi Simon,

Can you give me an example? You can DM me if you’d rather not share your account activity.